Online Diagnostics (EMS and STM) Administrator's Guide September 2012

Table Of Contents
5. To monitor multiple hubs, repeat step 4 for each hub. For example, the following entries
configure the monitor for three hubs:
HUB_COUNT 3
HUB_1_IP_ADDRESS 192.0.2.0
HUB_2_IP_ADDRESS 192.0.2.1
HUB_3_IP_ADDRESS 192.0.2.2
6. Save the file.
7. To invoke the changes made to the hub configuration file, run the Enable Monitoring option
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 hub monitor to monitor the
FC-AL hubs. For more information on how to enable monitoring, see “Enabling Monitoring ”
(page 32).
Adding or Removing an FC-AL Hub
Adding or removing a hub from the monitor configuration involves modifying the HUB_COUNT and
HUB_X_IP_ADDRESS configuration file settings.
To add or remove a FC-AL hub, complete the following steps:
1. Ping and find out the IP address of each hub you want to add or delete.
2. Open the /var/stm/config/tools/monitor/dm_fc_hub.cfg file using a text editor,
such as vi.
3. Locate the following line in the file, and replace the value of n with the new number of hubs
that you want to monitor:
HUB_COUNT n
4. To add a hub, add the following line to the file:
HUB_X_IP_ADDRESS nn.nn.nnn.nnn
Replace X with the number you want to assign to the hub and replace nn with the IP address
of the hub.
Following is a sample of an entry:
HUB_5_IP_ADDRESS 192.0.2.3
Repeat this step for each hub you want to add.
To remove a hub, locate the HUB_X_IP_ADDRESS entry for the hub in the file and delete it.
5. Save the file.
6. To invoke the changes, run the Enable Monitoring option even if monitoring is already enabled.
This option runs the startup client, causing the changes to the hub monitoring to take effect
immediately. For more information on how to enable monitoring, see “Enabling Monitoring
” (page 32).
Configuring the Fibre Channel Switch Monitor
The host cannot detect any switches during startup because the Fibre Channel (FC) Switch is not
a part of the host configuration. Therefore, you must link the switch monitor to the switches by
defining the SW_COUNT and SW_X_IP_ADDRESS switch monitor configuration file settings.
To configure the FC switch monitor configuration file, complete the following steps:
1. Ping and find out the IP addresses of the switches you want to monitor.
2. Open the /var/stm/config/tools/monitor/dm_fc_sw.cfg file using a text editor,
such as vi.
3. Add the following entry to the file:
SW_COUNT n
Configuring the Fibre Channel Monitors 25