HP-UX Virtual Partitions 6.0 Administrator Guide
The following sections describe how an NPIV HBA resource is specified and how the existing vPar
commands are used to configure and manage them.
Specifying an NPIV HBA resource
An NPIV resource is specified using the following format:
devicetype:adaptertype:bus,device,vWWP,vWWN:storage:device
where:
devicetype The virtual device type as seen in the vPar. For NPIV this will be hba.
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 2 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 3 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.
vPar commands in NPIV context
The following sections describe the vPar commands used in the NPIV context.
18 Installing and configuring HP-UX Virtual Partitions v6.0