HP EMS HARDWARE S B6191-90028 manual Configuration Files

Page 109

Special Procedures

Fibre Channel Switch Monitor

Changing the FC Switch Monitoring Configuration

To change the FC switch monitoring configuration compete the following steps:

Step 1. Determine the IP address for each switch you are adding or deleting.

Step 2. Open file /var/stm/config/tools/monitor/dm_fc_sw.cfg in an ASCII text editor.

Step 3. Locate the following line in the file and change value “n” to reflect the new number of switches to be monitored:

SW_COUNT n

Step 4. If you are adding a switch, add the following line to file:

SW_X_IP_ADDRESS nn.nn.nnn.nnn

Change the placeholder “X” to the number you want assigned to the switch (typically the next sequential number available), and replace the “nn” fields with the IP address of the switch.

The completed line will look similar to the following:

SW_5_IP_ADDRESS 15.43.214.191

Repeat this step for each switch you are adding.

Step 5. If you are removing a switch, locate the SW_X_IP_ADDRESS line for the switch to be removed and delete it from the file. If you deleting multiple switches, delete the line for each one.

Step 6. Save the file.

Step 7. To invoke the changes immediately, run the Hardware Monitoring Request Manager and select the (E)nable Monitoring option. This option runs the startup client, which will cause the changes to the switch monitoring to take effect immediately. See “Enabling Hardware Event Monitoring” on page 35.

Alternatively you can do nothing and the changes will be made at the next switch polling interval when the monitor recognizes the changes and launches the startup client to invoke them.

Configuration Files

Startup Configuration File

File name: /var/stm/config/tools/monitor/dm_fc_sw.sapcfg

Default Entries: The monitor uses the standard default monitor request entries shown in Table on page 95.

Monitor Configuration File

File name: /var/stm/config/tools/monitor/dm_fc_sw.cfg

Default settings:

Polling Interval: 60 minutes

Repeat Frequency: 1 day (1440 minutes)

Severity Action: Notify for all levels

The switch monitor also uses the following settings to configure the SNMP environment used by the switch. Note that two of these settings (SW_COUNT and SW_X_IP_ADDRESS) are required to indicate to the monitor

Chapter 6

109

Image 109
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 Hardware Monitoring Terms Hardware Monitoring TermsTerm Definition 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 Disk Arrays Checking for Special RequirementsProduct Model/Product Special Number Requirements Tape Products all supported by the Scsi Tape Devices Monitor Disk ProductsFibre Channel Scsi Multiplexers High Availability Storage SystemsFibre Channel Arbitrated Loop FC-AL Hub Fibre Channel AdaptersProduct Model/Product Special Requirements Number Memory Fibre Channel SwitchSystem Others Interface CardsWhat Is a Monitoring Request? Using Hardware Monitoring RequestsSome Monitoring Request Examples Building a Monitoring Request To run the Monitoring Request Manager, type Running the Monitoring Request ManagerEnabling Hardware Event Monitoring 13 Default Monitoring Requests for Each Monitor Default Monitoring RequestsSeverity Levels Notification Method 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 ApplicationsPolling or Asynchronous? EMS Hardware Event MonitorStartup Client Peripheral Status Monitor PSM Event Monitoring Service EMS1File Locations File LocationsDirectories and Files Description Monitoring Startup Process Startup Process in DetailDisabling Monitoring Event Decoding Asynchronous Event Detection in DetailAsynchronous Event Detection Process Event Polling in Detail FC-AL Hub and FC Switch Polling ProcessesMemory Monitor Polling 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 States PSM ComponentsPSM Resource Paths PSM StatusHow Does the PSM Work? Chapter To create a package resource dependency Configuring Package Dependencies using SAMResourcepollinginterval Resourceupvalue =UP To create a PSM monitoring request Creating EMS Monitoring Requests for PSMFrom the Actions menu select Add Monitoring Request Setting the Polling Interval Polling Interval Specifying When to Send Event NotifyMonitoring Request Parameters Determining the Frequency of Events OptionsOpcmsg ITO Selecting Protocols for Sending Events Notify ViaCritical Major Minor Normal To set the opcmsg ITOTCP and UDP To set the Snmp trapTo set the TCP or UDP conditions To set for email notificationAdding a Notification Comment Comment Copying Monitoring Requests To change the monitoring parameters of a request To remove monitoring requests Removing Monitoring RequestsTo view the parameters for a monitoring request Viewing Monitoring RequestsFrom the Actions menu select View Monitoring Request To restore the operating state of a resource to UP Using the setfixed Utility to Restore Hardware UP StateExample 4-1 Example of Using setfixed Using the Peripheral Status Monitor Hardware Monitor Configuration Files Monitor Configuration Files Setting Values Description Monitor Configuration File EntriesFile Names File FormatInterval must be a Eventnum must be aFrequency must be a Event Definition Sample Global Configuration FileSeverity Action Polling Interval= Communication Device Sample Monitor-Specific Configuration File#POLLINTERVAL Startup Configuration File Keyword Values Description Startup Configuration File EntriesUDP Default Monitoring Requests Default File EntriesDescription Entry 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