beautypg.com

Tracking scsi commands – Brocade Network Advisor SAN + IP User Manual v12.3.0 User Manual

Page 1871

background image

Brocade Network Advisor SAN + IP User Manual

1799

53-1003155-01

Flow Mirror

44

1. Right-click a target port (15) and select Fabric Vision > Flow > Add.

The Add Flow Definition dialog box displays with the following criteria and flow identifiers
pre-populated:

Feature — Monitor

Direction — Bidirectional

Source Device — Source identifier

Destination Device — * (an asterisk allows you to use any port)

Egress port — port number (1/20)

2. Enter a name (flow_slowdrain) for the flow definition in the Name field.

The name cannot be over 20 characters and can only include alphanumeric characters or
underscores.

NOTE

For a physical switch, the name must be unique. However, for logical switches, the name does
not have to be unique.

3. Clear the Monitor check box.

4. Select the Mirror check box.

5. Select the CPU Mirroring or Local Flow Mirror option.

By default, CPU Mirroring is enabled.

6. Select the Persist over switch reboots check box to persist this flow definition over reboots.

7. Select the Activate all selected features check box to immediately activate the flow after

creation.

8. Enter the port address (0x010200) in the Source field.

9. Enter the port address (0x040500) in the Destination field.

10. Click OK to save the flow definition.

When the flow definition activates, the Flow Vision dialog box displays with the new flow
selected (highlighted) in the Flow Definitions table. To review the sub-flow data for the selected
flow, refer to

“Monitoring a Flow Mirror flow”

on page 1793".

Tracking SCSI commands

You can use Flow Mirror to track the SCSI commands being initiated by a host. For example, you
can use Flow Mirror to find all the targets with which the host is communicating. You can use this
data to identify the favorite targets of a host, which then allows you to provide additional privileges,
such as creating Quality of Service (QoS) or Traffic Isolation (TI) paths between those devices.

The following example mirrors scsicmd frames ingressing through port F1 to identify the SCSI
commands being initiated by a host.

1. Right-click a port (F1) and select Fabric Vision > Flow > Add.

The Add Flow Definition dialog box displays with the following criteria and flow identifiers
pre-populated:

Feature — Monitor