Using the Peripheral Status Monitor
Using the set_fixed Utility to Restore Hardware UP State
Using the set_fixed Utility to Restore Hardware UP State
Most hardware event monitors cannot detect when a hardware failure has been repaired and the resource has been returned to normal operation. Consequently, these monitors cannot alert the PSM to change the status of its hardware resources from DOWN to UP. It is necessary for you to manually change the status of the hardware resources using the set_fixed utility included with the PSM. To determine if a monitor requires use of the set_fixed utility, refer to the monitor descriptions in Chapter 6, “Monitor Data Sheets.”
The set_fixed utility includes its own man page describing how to change the state of the resource.
NOTE | Make sure you have repaired the problem before you use the set_fixed utility to return the |
| hardware resource status to UP. If the hardware is not repaired, the change in status to UP |
| may cause MC/ServiceGuard to erroneously assume the hardware is working properly. |
|
|
To restore the operating state of a resource to UP:
1. If necessary, list the hardware resources that currently have a status of DOWN by typing:
/etc/opt/resmon/lbin/set_fixed
2. Set the status of the DOWN hardware resource to UP by typing:
set_fixed
The resource_name is the status resource path name to the hardware resource that has been repaired. When specifying the resource_name you can use wildcards such as “*” to indicate all instances.
Example 4-1 Example of Using set_fixed
The following example sets to UP the status of the SCSI tape device at hardware path 10_12_5.0.0
set_fixed
The following example sets to UP the status of all AutoRAID disk arrays.
set_fixed
Chapter 4 | 83 |