HP StorageWorks MSL2024


HP StorageWorks MSL2024 



video from youtube

How to find HBA WWN (World Wide Name) in Sun Solaris

To find the WWN numbers of your HBA card in Sun Solaris, you can use one the following procedures

For Solaris 8 ,9 and 10, to find the link status of the HBA's run the following command.

[10:20:39] root@ecpdb[2]# luxadm -e port

Found path to 3 HBA ports

/devices/pci@8,600000/SUNW,qlc@1/fp@0,0:devctl                     CONNECTED
/devices/pci@8,600000/SUNW,qlc@2/fp@0,0:devctl                     CONNECTED
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0:devctl                     CONNECTED

note down the connected HBA device files
To find the WWN associated with CONNECTED HBA's run the following command.
[10:20:39] root@ecpdb[4]# luxadm -e dump_map /devices/pci@8,600000/SUNW,qlc@1/fp@0,0:devctl
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type
0    320400  0         50060e8003ec2d02 50060e8003ec2d02 0x0  (Disk device)
1    1a0200  0         210000e08b81b4ce 200000e08b81b4ce 0x1f (Unknown Type,Host Bus Adapter)


[10:20:39] root@ecpdb[6]# luxadm -e dump_map /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:devctl
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type
0    960400  0         50060e8003ec2d12 50060e8003ec2d12 0x0  (Disk device)
1    7e0200  0         210000e08b81c6f2 200000e08b81c6f2 0x1f (Unknown Type,Host Bus Adapter)


[10:20:39] root@ecpdb[7]# luxadm -e dump_map /devices/pci@9,600000/SUNW,qlc@2/fp@0,0:devctl
Pos AL_PA ID Hard_Addr Port WWN         Node WWN         Type
0     1   7d    0      21000003bace8a69 20000003bace8a69 0x1f (Unknown Type,Host Bus Adapter)
1     ef  0     ef     21000014c31767e3 20000014c31767e3 0x0  (Disk device)
2     e8  1     e8     21000014c31772b2 20000014c31772b2 0x0  (Disk device)

The WWN's which are mentioned by type "Host Bus Adapter" represents WWN of connected HBA's.
prtconf  will also display WWN of the connected HBAs

[10:20:39] root@ecpdb[10]# prtconf -vp | grep wwn
            port-wwn:  210000e0.8b81b4ce
            node-wwn:  200000e0.8b81b4ce
            port-wwn:  210000e0.8b81c6f2
            node-wwn:  200000e0.8b81c6f2
            port-wwn:  21000003.bace8a69
            node-wwn:  20000003.bace8a69




Admin Helpline™ © , All Rights Reserved.
Privacy Policy