Check WWPN on HP-UX

Check how much fibre channel adapters you have in your system

root@hp-ux:~ # ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
====================================================================
fc 0 0/2/0/0/0/0 fclp CLAIMED INTERFACE HP AH403A 8Gb PCIe 2-port Fibre Channel Adapter
/dev/fclp0
fc 1 0/2/0/0/0/1 fclp CLAIMED INTERFACE HP AH403A 8Gb PCIe 2-port Fibre Channel Adapter
/dev/fclp1
fc 2 0/4/0/0/0/0 fclp CLAIMED INTERFACE HP AH403A 8Gb PCIe 2-port Fibre Channel Adapter
/dev/fclp2
fc 3 0/4/0/0/0/1 fclp CLAIMED INTERFACE HP AH403A 8Gb PCIe 2-port Fibre Channel Adapter
/dev/fclp3

Then inquiry each adapter to get the WWPN

root@hp-ux:~ # /opt/fcms/bin/fcmsutil /dev/fclp0

Vendor ID is = 0x10df
Device ID is = 0xf100
PCI Sub-system Vendor ID is = 0x103c
PCI Sub-system ID is = 0x3282
Chip version = 3
Firmware Version = 2.00A4 SLI-3 (U3D2.00A4)
EFI Version = UU5.03A10
EFI Boot = ENABLED
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Topology = PTTOPT_FABRIC
Link Speed = 8Gb
Local N_Port_id is = 0x010600
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x20000000c9e79dba
N_Port Port World Wide Name = 0x10000000c9e79dba
Switch Port World Wide Name = 0x2006000533a00080
Switch Node World Wide Name = 0x1000000533a00080
Driver state = ONLINE
Hardware Path is = 0/2/0/0/0/0
Maximum Frame Size = 2048
TYPE = PFC
NPIV Supported = NO
Driver Version = @(#) FCLP: PCIe Fibre Channel driver (FibrChanl-02), B.11.31.1203, Nov 30 2011, FCLP_IFC (3,2)

root@hp-ux:~ # /opt/fcms/bin/fcmsutil /dev/fclp1

Vendor ID is = 0x10df
Device ID is = 0xf100
PCI Sub-system Vendor ID is = 0x103c
PCI Sub-system ID is = 0x3282
Chip version = 3
Firmware Version = 2.00A4 SLI-3 (U3D2.00A4)
EFI Version = UU5.03A10
EFI Boot = ENABLED
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Topology = PTTOPT_FABRIC
Link Speed = 8Gb
Local N_Port_id is = 0x020600
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x20000000c9e79dbb
N_Port Port World Wide Name = 0x10000000c9e79dbb
Switch Port World Wide Name = 0x20060005339e0080
Switch Node World Wide Name = 0x10000005339e0080
Driver state = ONLINE
Hardware Path is = 0/2/0/0/0/1
Maximum Frame Size = 2048
TYPE = PFC
NPIV Supported = NO
Driver Version = @(#) FCLP: PCIe Fibre Channel driver (FibrChanl-02), B.11.31.1203, Nov 30 2011, FCLP_IFC (3,2)

root@hp-ux:~ # /opt/fcms/bin/fcmsutil /dev/fclp2

Vendor ID is = 0x10df
Device ID is = 0xf100
PCI Sub-system Vendor ID is = 0x103c
PCI Sub-system ID is = 0x3282
Chip version = 3
Firmware Version = 2.00A4 SLI-3 (U3D2.00A4)
EFI Version = UU5.03A10
EFI Boot = ENABLED
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Topology = PTTOPT_FABRIC
Link Speed = 8Gb
Local N_Port_id is = 0x010500
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x20000000c9e7a072
N_Port Port World Wide Name = 0x10000000c9e7a072
Switch Port World Wide Name = 0x2005000533a00080
Switch Node World Wide Name = 0x1000000533a00080
Driver state = ONLINE
Hardware Path is = 0/4/0/0/0/0
Maximum Frame Size = 2048
TYPE = PFC
NPIV Supported = NO
Driver Version = @(#) FCLP: PCIe Fibre Channel driver (FibrChanl-02), B.11.31.1203, Nov 30 2011, FCLP_IFC (3,2)

root@hp-ux:~ # /opt/fcms/bin/fcmsutil /dev/fclp3

Vendor ID is = 0x10df
Device ID is = 0xf100
PCI Sub-system Vendor ID is = 0x103c
PCI Sub-system ID is = 0x3282
Chip version = 3
Firmware Version = 2.00A4 SLI-3 (U3D2.00A4)
EFI Version = UU5.03A10
EFI Boot = ENABLED
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Topology = PTTOPT_FABRIC
Link Speed = 8Gb
Local N_Port_id is = 0x020500
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x20000000c9e7a073
N_Port Port World Wide Name = 0x10000000c9e7a073
Switch Port World Wide Name = 0x20050005339e0080
Switch Node World Wide Name = 0x10000005339e0080
Driver state = ONLINE
Hardware Path is = 0/4/0/0/0/1
Maximum Frame Size = 2048
TYPE = PFC
NPIV Supported = NO
Driver Version = @(#) FCLP: PCIe Fibre Channel driver (FibrChanl-02), B.11.31.1203, Nov 30 2011, FCLP_IFC (3,2)

Advertisement