HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

Fabric OS 6.1.x administrator guide 345
Adding end-to-end monitors
Figure 43 shows two devices:
Host A is connected to domain 5 (0x05), switch area ID 18 (0x12), AL_PA 0x00 on Switch X.
Dev B is a storage device connected to domain 17 (0x11), switch area ID 30 (0x1e), AL_PA 0xef on
Switch Y.
Figure 43 Setting end-to-end monitors on a port
NOTE: End-to-end performance monitoring looks at traffic on the receiving port respective to the SID only.
In Figure 43, if you add a monitor to slot 2, port 2 on Switch x, specifying Dev B as the SID and Host A as
the DID, no counters (except CRC) will be incremented.
Monitoring the traffic from Host A to Dev B:
Add Monitor 0 to slot 2, port 2 on Switch x, specifying 0x051200 as the SID and 0x111eef as the DID, as
shown in the following example:
switch:admin> perfaddeemonitor 2/2, "0x051200" "0x111eef"
End-to-End monitor number 0 added.
Monitor 0 counts the frames that have an SID of 0x051200 and a DID of 0x111eef. For monitor 0,
RX_COUNT is the number of words from Host A to Dev B, TX_COUNT is the number of words from Dev B
to Host A.
Monitoring the traffic from Dev B to Host A:
Add Monitor 1 to slot 2, port 14 on Switch y, specifying 0x111eef as the SID and 0x051200 as the DID, as
shown in the following example.
switch:admin> perfaddeemonitor 2/14, "0x111eef" "0x051200"
End-to-End monitor number 1 added.
Monitor 1 counts the frames that have an SID of 0x111eef and a DID of 0x051200. For monitor 1,
RX_COUNT is the number of words from Dev B to Host A, TX_COUNT is the number of words from Host A
to Dev B.
Figure 44 shows several switches and the correct ports on which to add performance monitors for a
specified SID-DID pair.
Figure 44 Proper placement of end-to-end performance monitors
Setting a mask for an end-to-end monitors
End-to-end monitors count the number of words in Fibre Channel frames that match a specific SID/DID
pair. If you want to match only part of the SID or DID, you can set a mask on the port to compare only
certain parts of the SID or DID. By default, the frame must match the entire SID and DID to trigger the
. . .
0x051200
0x111eef
Host
A
DID
SID
. . .
Dev
B
Switch x Switch y
Monitor 0
domain 0x05, switch area ID 0x12
AL_PA 0x00
Monitor 1
domain 0x11, switch area ID 0x1e
AL_PA 0xef
. . .
0x051200
Host
A
SID
. . .. . . . . .
Add monitors here
0x111eef
DID
Dev
B