HP-UX Virtual Partitions 6.0 Administrator Guide
Configuring storage for a vPar with NPIV HBAs
You can assign storage for a vPar with an NPIV HBA either before or after the vPar starts up. In
both cases, the vPar will boot if it already has a non-NPIV boot device configured. If it does not
have a boot device yet, then the vPar boot will halt at EFI.
To configure storage for a vPar with NPIV HBA:
1. Start the vPar.
Once the vPar is started, the virtual port instance corresponding to the NPIV HBA assigned
to the vPar would have logged into the FC fabric to which the physical HBA is connected.
2. Obtain the port WWN assigned to the NPIV HBA using the vparstatus command on VSP.
3. Note the port WWN number, and work with your storage administrator to get the required
storage provisioned.
The storage administrator must use the storage management utility corresponding to the storage
device from which the administrator plans to provision storage, and then create LUNs of the
required capacity.
4. Present the LUNs to the port WWN corresponding to the NPIV HBA.
NOTE: The steps to provision storage are the same as for a native host, except that in this case,
the HBA and the WWN involved are virtual in nature.
You can present the same LUN to a vPar using both NPIV and legacy AVIO.
Example 29 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.
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.
Setting up a vPar to use NPIV HBAs 45