Querying HBA Properties
Typically, you need to pay attention to the WWNs, speeds, topologies, and firmware of the HBAs.
The methods for querying the properties vary with the Solaris version.
Solaris 10 and 11 provide the fcinfo command to query HBA information. The following is an example:
root@S113:~# fcinfo hba-port HBA Port WWN: 2100000e1e1a9b30 Port Mode: Initiator Port ID: 641200 OS Device Name: /dev/cfg/c5 Manufacturer: QLogic Corp. Model: QLE2672 Firmware Version: 7.05.01 FCode/BIOS Version: BIOS: 3.24; fcode: 4.06; EFI: 6.07; Serial Number: RFE1421J46126 Driver Name: qlc Driver Version: 150505-5.03b Type: N-port State: online Supported Speeds: 4Gb 8Gb 16Gb Current Speed: 16Gb Node WWN: 2000000e1e1a9b30 Max NPIV Ports: 254 NPIV port list: HBA Port WWN: 2100000e1e1a9b31 Port Mode: Initiator Port ID: 641300 OS Device Name: /dev/cfg/c6 Manufacturer: QLogic Corp. Model: QLE2672 Firmware Version: 7.05.01 FCode/BIOS Version: BIOS: 3.24; fcode: 4.06; EFI: 6.07; Serial Number: RFE1421J46126 Driver Name: qlc Driver Version: 150505-5.03b Type: N-port State: online Supported Speeds: 4Gb 8Gb 16Gb Current Speed: 16Gb Node WWN: 2000000e1e1a9b31 Max NPIV Ports: 254 NPIV port list:
In the command output, the HBA WWNs are 2100000e1e1a9b30 and 2100000e1e1a9b31. This command can also display the HBA model (Model parameter), topology (Type parameter), driver version (Driver Version parameter), firmware version (Firmware Version parameter), and current speed (Current Speed parameter).