beautypg.com

Figure 5 setting end-to-end monitors on a port, 5 setting end-to-end monitors on a port – HP Brocade 4Gb SAN Switch for HP BladeSystem p-Class User Manual

Page 147

background image

Fabric OS 5.0.0 procedures user guide 147

Figure 5

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 5

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 5

, 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) are incremented.

To monitor 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:

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, and CRC_COUNT is the number of frames in both directions with CRC errors.

To monitor 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.

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, and CRC_COUNT is the number of frames in both directions with CRC errors.

Figure 6

shows several switches and the correct ports on which to add performance monitors for a

specified SID-DID pair.

Figure 6

Proper placement of end-to-end performance monitors

switch:admin> perfaddeemonitor 2/2, “0x051200” “0x111eef”

End-to-End monitor number 0 added.

switch:admin> perfaddeemonitor 2/14, “0x111eef” “0x051200”

End-to-End monitor number 1 added.

. . .

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