HP EMS HARDWARE S B6191-90028 manual Using the setfixed Utility to Restore Hardware UP State

Page 83

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 -L

2. Set the status of the DOWN hardware resource to UP by typing:

set_fixed -n resource_name

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 -n /storage/status/tapes/SCSI_tape/10_12_5.0.0

The following example sets to UP the status of all AutoRAID disk arrays.

set_fixed -n /storage/status/disk_arrays/AutoRAID/*

Chapter 4

83

Image 83
Contents Manufacturing Part Number B6191-90028 September EMS Hardware Monitors Users GuideLegal Notices Printing History Page Contents Hardware Monitor Configuration Files Using the Peripheral Status MonitorSpecial Procedures Contents About This Manual Related Web Site Introduction Hardware Monitoring Overview What is Hardware Monitoring?Components Involved in Hardware Monitoring How Does Hardware Monitoring Work?Benefits of Hardware Monitoring Products Supported by Hardware Monitors Tips for Hardware Monitoring Term Definition Hardware Monitoring TermsHardware Monitoring Terms Hardware Monitoring Terms Introduction Hardware Monitoring Overview Chapter Installing and Using Monitors Steps Involved Steps for Installing and Configuring Hardware Monitoring Supported System Configuration Installing EMS Hardware MonitorsRemoving EMS Hardware Monitors Product Model/Product Special Number Requirements Checking for Special RequirementsDisk Arrays Tape Products all supported by the Scsi Tape Devices Monitor Disk ProductsFibre Channel Scsi Multiplexers High Availability Storage SystemsProduct Model/Product Special Requirements Number Fibre Channel AdaptersFibre Channel Arbitrated Loop FC-AL Hub System Fibre Channel SwitchMemory Others Interface CardsSome Monitoring Request Examples Using Hardware Monitoring RequestsWhat Is a Monitoring Request? Building a Monitoring Request To run the Monitoring Request Manager, type Running the Monitoring Request ManagerEnabling Hardware Event Monitoring Severity Levels Notification Method Default Monitoring Requests13 Default Monitoring Requests for Each Monitor To list the descriptions of available monitors Listing Monitor DescriptionsTo view or show the current monitoring requests Viewing Current Monitoring RequestsTo add a monitoring request Adding a Monitoring RequestSetting Description 14 Monitoring Requests Configuration Settings15 Event Severity Levels Event Description MC/ServiceGuard Severity Response LevelEvent Severity Levels Example of Adding a Monitoring Request == ADD Comment To modify a monitoring request Modifying Monitoring RequestsVerifying Hardware Event Monitoring Events = Checking Detailed Monitoring StatusSample Event Message Retrieving and Interpreting Event MessagesTo delete a monitoring request Deleting Monitoring RequestsDisabling Hardware Event Monitoring To disable hardware event monitoringDetailed Description Hardware Monitoring Architecture Detailed Picture of Hardware MonitoringHardware Monitoring Request Manager Components from Three Different ApplicationsStartup Client EMS Hardware Event MonitorPolling or Asynchronous? Peripheral Status Monitor PSM Event Monitoring Service EMSDirectories and Files Description File Locations1File Locations Monitoring Startup Process Startup Process in DetailDisabling Monitoring Event Decoding Asynchronous Event Detection in DetailAsynchronous Event Detection Process Memory Monitor Polling FC-AL Hub and FC Switch Polling ProcessesEvent Polling in Detail Monitoring Polling Process Memory Monitor Polling Process Detailed Picture of Hardware Monitoring Chapter Using the Peripheral Status Monitor Peripheral Status Monitor Overview How Does the PSM Work? Peripheral Status Monitor PSM Status PSM ComponentsPSM States PSM Resource PathsHow Does the PSM Work? Chapter To create a package resource dependency Configuring Package Dependencies using SAMResourcepollinginterval Resourceupvalue =UP From the Actions menu select Add Monitoring Request Creating EMS Monitoring Requests for PSMTo create a PSM monitoring request Determining the Frequency of Events Options Specifying When to Send Event NotifySetting the Polling Interval Polling Interval Monitoring Request ParametersTo set the opcmsg ITO Selecting Protocols for Sending Events Notify ViaOpcmsg ITO Critical Major Minor NormalTo set for email notification To set the Snmp trapTCP and UDP To set the TCP or UDP conditionsAdding a Notification Comment Comment Copying Monitoring Requests To change the monitoring parameters of a request To remove monitoring requests Removing Monitoring RequestsFrom the Actions menu select View Monitoring Request Viewing Monitoring RequestsTo view the parameters for a monitoring request Example 4-1 Example of Using setfixed Using the setfixed Utility to Restore Hardware UP StateTo restore the operating state of a resource to UP Using the Peripheral Status Monitor Hardware Monitor Configuration Files Monitor Configuration Files File Format Monitor Configuration File EntriesSetting Values Description File NamesFrequency must be a Eventnum must be aInterval must be a Polling Interval Sample Global Configuration FileEvent Definition Severity Action= Communication Device Sample Monitor-Specific Configuration File#POLLINTERVAL Startup Configuration File Keyword Values Description Startup Configuration File EntriesUDP Description Entry Default File EntriesDefault Monitoring Requests Peripheral Status Monitor PSM Configuration File Considerations for Modifying the PSM Configuration File Monitorresourcename PSM Configuration File FieldsCritical Downseverityope Example File Entries Special Procedures Fibre Channel Arbitrated Loop Hub Monitor Configuring the FC-AL Monitor Configuration File Initial Monitor ConfigurationAdding or Removing an FC-AL Hub Configuration FilesThis setting is required Setting Default Description ValuePSM Configuration File Fibre Channel Switch Monitor Configuring the FC Switch Monitor Configuration File Adding or Removing an FC SwitchChanging the FC Switch Monitoring Configuration 2PSM Configuration File Fields Special Procedures 112 Index 114 115