If an HP-UX server or system is connected to one or more SAN switches through Fibre Channel (FC) HBA cards then it is very important for the storage team they assign the storage to the correct server via WWN numbers of FC HBA cards.
Find HBA Card Details in HP-UX (vPar)
- First, log in to nPar machine and run the below command to check the status of the nPars.
# vparstatus [Virtual Partition] Num Name RunState State === ========================== ============ ========= 1 daw_vpar1 UP Active 2 daw_vpar2 UP Active 3 daw_vpar3 UP Active [Virtual Partition Resource Summary] Virtual Partition CPU Num Num Total MB Floating MB Num Name Min/Max CPUs IO Memory Memory === ========================== ======= ==== ==== ========= ============ 1 daw_vpar1 1/512 2 5 16384 0 2 daw_vpar2 1/512 3 5 16384 0 3 daw_vpar3 1/512 2 6 65536 0 #
- There are 03 nPars, we can find the details of HBS cards for all three vPars.
- For the first vPar named daw_vpar1, run the below command to display the details of the HBA Card.
# vparstatus -p 1 -v |grep hba hba:avio_stor:0,4,0x50014C2000000002,0x50014C2800000002:npiv:/dev/fcd4 hba:avio_stor:0,5,0x50014C2000000003,0x50014C2800000003:npiv:/dev/fcd5 #
- Similarly, we can run the commands to display the HBA card details of the 2nd and 3rd vPars.
# vparstatus -p2 -v|grep hba hba:avio_stor:0,4,0x50014C2000000004,0x50014C2800000004:npiv:/dev/fcd4 hba:avio_stor:0,5,0x50014C2000000005,0x50014C2800000005:npiv:/dev/fcd5 #
# vparstatus -p3 -v |grep hba hba:avio_stor:0,4,0x50014C2000000006,0x50014C2800000006:npiv:/dev/fcd4 hba:avio_stor:0,5,0x50014C2000000007,0x50014C2800000007:npiv:/dev/fcd5 #
Last Updated: August 18, 2020