HP-UX vPars 6.0 N-Port ID Virtualization (NPIV) - A brief overview

10
Specifying an NPIV resource
An NPIV resource is specified for vPars using the following format:
devicetype:adaptertype:bus,device,vPWWN,vNWWN:storage:device
Where:
devicetype:
This is the virtual device type as seen in the vPar. For NPIV this will be “hba”
adaptertype:
This is the adapter “type” as seen in the vPar. For NPIV, the adaptor type is “avio_stor”
bus:
This is PCI bus number for the virtual device and can range from 0 to 7
device:
This is PCI slot number for the virtual device and can range from 0 to 7
vPWWN:
A valid (64 bit), unique virtual Port World Wide Name, that will be assigned to the NPIV HBA. This is
analogous to the unique PWWN that is associated with physical FC HBA.
vNWWN:
A valid (64 bit), unique virtual Node World Wide Name, that will be assigned to the NPIV HBA. This is
analogous to the unique NWWN that is associated with physical FC HBA.
storage:
This is the physical storage type on the VSP. For NPIV, this is “npiv”
device:
This is the physical device in the VSP corresponding to the virtual device. For NPIV, this would correspond to
the device special file for the physical port on which the virtual NPIV instance will be created (/dev/fcdN).
Example: A resource specification to create a vHBA over the physical HBA corresponding to the FCD instance
/dev/fcd0, using a port WWN of 0x50060b00006499a8 and a node WWN of 0x50060b00006499a9
(manually entered values are generally arrived at by consulting with the storage administrator):
hba:avio_stor:1,1,0x50060b00006499a8,0x50060b00006499a9:npiv:/dev/fcd0
Just as for shared (AVIO) devices, a specification of a vHBA may also skip the bus and the slot numbers in the
resource string; the VSP will pick the next available bus and slot number for the vHBA. The vWWN cannot be
skipped, unless you have the GUID Management Services installed and configured (guidmgmt(1M), recommended).
In that case, HP recommends allowing GUIDMgr to allocate and reserve the vWWN for you.
Example: A resource specification to create the same vHBA specified in the previous example, but letting the system
pick the bus, device, and vWWN numbers.
hba:avio_stor::npiv:/dev/fcd0
NOTE:
You can’t add an NPIV resource to bus 0, device 3 (reserved).