HP vPars and Integrity Virtual Machines V6.1 Administrator Guide
Example 12 Using vparstatus to determine the WWN of an NPIV HBA
vparstatus -P Vpar1 -d
[Virtual Partition Devices]
[Storage Interface Details]
disk:avio_stor:0,0,0:avio_stor:/dev/rdisk/disk31
disk:avio_stor:0,0,1:lv:/dev/vg_on_host/rlvol3
hba:avio_stor:0,4,0x50060b00006499b9,0x50060b00006499ba:npiv:/dev/fcd1
hba:avio_stor:1,3,0x50060b00006499a0,0x50060b00006499a8:npiv:/dev/fcd0
[Network Interface Details]
network:lan:0,1,0xF2AF8F8647BF:vswitch:vswitch1:portid:1
network:lan:0,5,0x569FC1F96205:vswitch:vswitch1:portid:3
[Misc Interface Details]
serial:com1::tty:console
In this example, the port WWNs are:
• 0x50060b00006499b9
• 0x50060b00006499a0
These WWNs must be used for LUN masking or fabric zoning.
6.9.2 Identifying NPIV HBAs and devices in a vPar
To identify an NPIV HBA from the set of HBAs for the vPar, use the ioscan command.
Example 13 Identifying NPIV HBAs and devices in a vPar
# ioscan -kfNd gvsd
Class I H/W Path Driver S/W State H/W Type Description
ext_bus 0 0/0/0/0 gvsd CLAIMED INTERFACE VPAR AVIO Stor Adapter
ext_bus 1 0/0/4/0 gvsd CLAIMED INTERFACE VPAR NPIV Stor Adapter
ext_bus 4 0/1/3/0 gvsd CLAIMED INTERFACE VPAR NPIV Stor Adapter
Note that the ioscan output listing the NPIV devices in the vPar is exactly the same as a similar
listing of SAN LUNs in a native host.
Example 14 Identifying NPIV HBAs and devices in a vPar by specifying hardware path
# ioscan -kfNH 0/0/4/0
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
ext_bus 1 0/0/4/0 gvsd CLAIMED INTERFACE VPAR NPIV Stor Adapter
tgtpath 3 0/0/4/0.0x207000c0ffda0287 estp CLAIMED TGT_PATH Virtual Storage
HBA target served by gvsd driver, target port id 0x105ef
lunpath 5 0/0/4/0.0x207000c0ffda0287.0x0 eslpt CLAIMED LUN_PATH LUN path for ctl1
lunpath 8 0/0/4/0.0x207000c0ffda0287.0x4001000000000000 eslpt CLAIMED LUN_PATH LUN path for disk7
lunpath 9 0/0/4/0.0x207000c0ffda0287.0x401d000000000000 eslpt CLAIMED LUN_PATH LUN path for disk8
tgtpath 4 0/0/4/0.0x247000c0ffda0287 estp CLAIMED TGT_PATH Virtual Storage
HBA target served by gvsd driver, target port id 0x104ef
lunpath 6 0/0/4/0.0x247000c0ffda0287.0x0 eslpt CLAIMED LUN_PATH LUN path for ctl2
lunpath 11 0/0/4/0.0x247000c0ffda0287.0x4001000000000000 eslpt CLAIMED LUN_PATH LUN path for disk7
lunpath 12 0/0/4/0.0x247000c0ffda0287.0x401d000000000000 eslpt CLAIMED LUN_PATH LUN path for disk8
6.9.3 Installing the vPar image on NPIV disks
After the LUNs are presented to the NPIV HBA, you can install the vPar image on an NPIV device.
6.10 Deactivating a vPar configuration
You can deactivate a vPar to remove or deallocate resources from it, while maintaining its
configuration settings. This is a way of managing shadow configurations, and allows the shadow
6.10 Deactivating a vPar configuration 71