HP StorageWorks 2/16V HP StorageWorks Fabric OS 5.X Procedures User Guide (AA- - Page 202

Setting EE monitors on a port, Proper placement of EE performance monitors

Page 202 highlights

NOTE: EE performance monitoring looks at traffic on the receiving port respective to the SID only. In Figure 10, 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. SID 0x051200 Host A Switch x . . . Monitor 0 domain 0x05, switch area ID 0x12 AL_PA 0x00 Switch y DID 0x111eef . . . Dev B Monitor 1 domain 0x11, switch area ID 0x1e AL_PA 0xef Figure 10 Setting EE monitors on a port 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, and CRC_COUNT is the number of frames in both directions with CRC errors. 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, and CRC_COUNT is the number of frames in both directions with CRC errors. Figure 11 shows several switches and the correct ports on which to add performance monitors for a specified SID-DID pair. SID 0x051200 Host . . . A Add monitors here . . . . . . DID 0x111eef . . . Dev B Figure 11 Proper placement of EE performance monitors Setting a mask for EE monitors EE 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 monitor. By setting a mask, you can choose to have the frame match only one or two of the three fields (Domain ID, Area ID, and AL_PA) to trigger the monitor. 202 Administering advanced performance monitoring

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248

202
Administering advanced performance monitoring
NOTE:
EE performance monitoring looks at traffic on the receiving port respective to the SID only. In
Figure 10
, 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.
Figure 10
Setting EE monitors on a port
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:
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.
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:
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 11
shows several switches and the correct ports on which to add performance monitors for a
specified SID-DID pair.
Figure 11
Proper placement of EE performance monitors
Setting a mask for EE monitors
EE 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 monitor. By setting a
mask, you can choose to have the frame match only one or two of the three fields (Domain ID, Area ID,
and AL_PA) to trigger the monitor.
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