FC HBA 299
16.2.1Getting statistics for each Fibre Channel port
To access statistical information for each port, follow these steps
1.
For each instance of HPFCHBA_ComputerSystem, find the corresponding instance of the
associations HPFCHBA_ComputerSystemFCPort.
2.
For each association of HPFCHBA_ComputerSystemFCPort, get the corresponding instance of
HPFCHBA_FCPort.
3.
For each instance of HPFCHBA_FCPort, get the corresponding instance of the association
HPFCHBA_FCPortFCPortStatistics
4.
For each association instance of HPFCHBA_FCPortFCPortStatistics, get the corresponding
instance of HPFCHBA_FcPortStatistics.
Figure 16-2 Get the statistics for each port
16.2.2Discovering HBA topology and attributes
To discover the HBA topology and attributes, follow these steps:
1.
Get the instance of HPFCHBA_ComputerSystem on a managed system.
2.
Get all association instances of HPFCHBA_ComputerSystemPortController corresponding to the
HPFCHBA_ComputerSystem.
3.
For each association of HPFCHBA_ComputerSystemPortController, get the corresponding
instance of HPFCHBA_PortController. The Name property of this class contains the NodeWWN.
4.
For each instance of HPFCHBA_PortController, get the corresponding instance of the association
HPFCHBA_PortControllerFCPort.
5.
For each instance of the association HPFCHBA_PortControllerFCPort, get the corresponding
instance of HPFCHBA_FCPort. The PermanentAddress property contains the PortWWN. Other
properties of interest are OperationalStatus, MaxSpeed, and StatusDescriptions.