Special Procedures

Fibre Channel Switch Monitor

Configuring the FC Switch Monitor Configuration File

To configure the FC switch monitor configuration file complete the following steps:

Step 1. Determine which switches you want the monitor to be responsible for. Record the IP address for each of these switches.

Step 2. Open file /var/stm/config/tools/monitor/dm_fc_sw.cfg in an ASCII text editor. Step 3. Add the following line to the file:

SW_COUNT n

Replace “n” with the value that reflects the number of switches for which the monitor will be responsible. For example, the following line would monitor 5 switches:

SW_COUNT 5

Step 4. Add the following line to file:

SW_X_IP_ADDRESS nn.nn.nnn.nnn

Change the placeholder “X” to the number 1, and replace the “nn” fields with the IP address of the switch that will be designated as switch 1.

The completed line will look similar to the following:

SW_1_IP_ADDRESS 15.43.214.101

Step 5. If multiple switches will be monitored, replicate the line from step 4 for each switch, changing the switch number and IP Address for each. When you are done, the number of lines should equal the number defined in the SW_COUNT setting. For example, the following lines would configure the monitor for three switches:

SW_COUNT 3

SW_1_IP_ADDRESS 15.43.214.101

SW_2_IP_ADDRESS 15.43.214.171

SW_3_IP_ADDRESS 15.43.214.184

Step 6. Save the file.

Step 7. To invoke the changes made to the switch configuration file, you must use the Enable Monitoring option of the Hardware Monitoring Request Manager, even if monitoring is already enabled. The Enable Monitoring option runs the startup client, which reads the contents of the configuration file and starts the switch monitor to begin monitoring of the FC switches. See “Enabling Hardware Event Monitoring” on page 35, for more information.

There are other settings in the configuration file that can be changed to customize the operation of the FC switch monitor. These settings are defined in Chapter 5, “Hardware Monitor Configuration Files.”

Adding or Removing an FC Switch

Adding or removing a switch from the monitor configuration involves changing the same configuration file settings described in the preceding procedure, SW_COUNT and SW_X_IP_ADDRESS.

108

Chapter 6

Page 108
Image 108
HP EMS HARDWARE S B6191-90028 manual Adding or Removing an FC Switch, Configuring the FC Switch Monitor Configuration File