HP-UX vPars and Integrity VM V6.1.5 Administrator Guide (5900-2295, April 2013)

adaptertype The adapter type as seen in the vPar. For NPIV, the adaptor type is avio_stor.
bus The PCI bus number for the virtual device and can range from 0 to 7.
device The PCI slot number for the virtual device and can range from 0 to 7.
vWWP A valid (64 bit), unique (virtual) Port WWN that is assigned to the NPIV HBA.
This is analogous to the unique Port WWN that is associated with physical
HBAs.
vWWN A valid (64 bit), unique (virtual) Node WWN that is assigned to the NPIV HBA.
This is analogous to the unique Node WWN that is associated with physical
HBAs.
storage The physical storage type in the host. For NPIV, this is npiv.
device The physical device in the host corresponding to the virtual device. For NPIV
this corresponds to the device special file for the physical port on which the
virtual NPIV instance is created.
Example 1 Create an NPIV HBA using the GUID server for WWNs
This resource specification creates an NPIV HBA over the physical HBA corresponding to the FCD
instance /dev/fcd0, and lets the VSP select the bus and device numbers.
hba:avio_stor::npiv:/dev/fcd0
hba:avio_stor:,,,:npiv:/dev/fcd0
NOTE: HP recommends using the GUID Manager application to obtain the WWNs.
It is optional to use the commas. The comma is an alternate way to get WWNs from the GUID
server. If you use the commas, ensure that you specify 3 commas.
Example 2 Create an NPIV HBA manually specifying WWNs
This resource specification creates an NPIV HBA over the physical HBA corresponding to the FCD
instance /dev/fcd0, using a port WWN of 0x50060b00006499a0 and a node WWN of
0x50060b00006499a8.
hba:avio_stor:1,1,0x50060b00006499a0,0x50060b00006499a8:npiv:/dev/fcd0
In the resource string, you can skip the bus and slot numbers for an NPIV HBA; VSP picks the next
available bus and slot number for the NPIV HBA. The virtual node WWN and port WWN cannot
be skipped.
5.3.3.2 vPar commands in NPIV context
The following sections describe the vPar commands used in the NPIV context.
To add an NPIV resource – vparcreate and vparmodify
You can specify an NPIV HBA resource using vparcreate while creating the vPar or using the
vparmodify command after the vPar is created. For information about the resource string format
used to specify the NPIV HBA, see the “Specifying an NPIV HBA resource” (page 57) section.
IMPORTANT: Before creating an NPIV HBA, ensure that the physical HBAs on the system support
NPIV. You can use the fcmsutil command to determine whether NPIV is supported. An alternate
way to determine which card supports NPIV is to add the product number of the card that currently
supports NPIV or point them to quickspec if it is available for vPars V6.1.5.
58 Using NPIV with vPars and Integrity VM