Sun Microsystems 10000 manual To Manually Suspend a Suspend-Unsafe Device

Models: 10000

1 25
Download 25 pages 2.15 Kb
Page 20
Image 20
▼To Manually Suspend a Suspend-Unsafe Device

A failure to quiesce due to open suspend-unsafe devices is known as a forcible condition. You have the option to retry the operation, or you can try to force the quiescence. The conditions that cause processes not to suspend are generally temporary in nature. You can retry the operation until the quiescence succeeds.

When you try to force the quiescence, you give the operating environment permission to continue with the quiescence even if forcible conditions are still present. Doing this forces the operating environment to permit the detach. Note that, although a detach can be forced to proceed when there are open suspend-unsafe devices in the system, it is not possible to force a detach when a detach-unsafe device resides on the board and its driver is loaded

Note – Real-time processes do not prevent the operating environment from quiescence.

The most straightforward way to quiesce a domain is to close any suspend-unsafe devices. For each network driver you must execute the ifconfig(1M) command with its down parameter, then again with its unplumb parameter (refer to the ifconfig(1M) man page for more information).

Note – It should be possible to unplumb all network drivers. However, this action is rarely tested in normal environments and may result in driver error conditions. If you use DR, Sun Microsystems suggests that you test these driver functions during the qualification and installation phases of any suspend-unsafe device.

If a suspend-unsafe device is open and cannot be closed, you can manually suspend the device, and then force the operating environment to quiesce. After the operating environment resumes, you can manually resume the device as explained below.

Note – If you cannot make a device suspend its access to the domain centerplane, do not force the operating environment to quiesce. Doing so could cause a domain to crash or hang. Instead, postpone the DR operation until the suspend-unsafe device is no longer open.

To Manually Suspend a Suspend-Unsafe Device

1.Remove the usage of the device by performing one or more of the following:

a.Close the device by killing the processes using the device.

b.Ask users not to utilize the device.

Chapter 1 Configuring DR 11

Page 20
Image 20
Sun Microsystems 10000 manual To Manually Suspend a Suspend-Unsafe Device, b. Ask users not to utilize the device