HP-UX vPars and Integrity VM V6.3 Administrator Guide

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.
NOTE: Certain PCI slots are used by vPars and VM guests for special devices. You can use the
hpvmstatus P <guest_name> -V command to get a list of the reserved slots.
7.4.2.1 Finding and using WWNs
Using NPIV HBAs generate virtual WWNs. Administrators are responsible for tracking WWNs
and guaranteeing their uniqueness across the Storage Area Network (SAN). You can allocate and
manage unique WWNs for NPIV HBAs using the HP-UX GUID Manager, which is a client-server
based product. Using this application ensures that you do not perform this task manually. GUID
Manager is integrated with vPars and Integrity VMs to support NPIV, and it is also integrated with
HP Integrity Virtual Server Manager to support managing the WWN database.
IMPORTANT: HP recommends using the HP-UX GUID Manager to allocate and maintain vWWPs
and vWWNs. For more information about HP-UX GUID Manager, see the HP-UX GUID Manager
Administrator Guide at http://www.hp.com/go/hpux-hpvm-docs.
7.4.3 Creating and managing NPIV HBA
7.4.3.1 Adding NPIV HBA resources
An NPIV HBA resource can be specified while creating the vPar or VM guest, or after the vPar or
VM guest is created. And, NPIV HBA can also be added to a vPar or VM guest while it is online.
For more information about the resource string format for an NPIV resource, see Section 7.4.2
(page 103).
IMPORTANT: Before creating an NPIV HBA, ensure that the physical HBAs on the system support
NPIV.
Example 4 Create an NPIV HBA using the GUID server for WWNs
Create a vPar named vPar1 with 4 virtual CPUs and an NPIV HBA created on /dev/fcd0 using
the GUID server to assign port and node WWNs. You can also use the vparstatus -a command
to display NPIV capable fiber channel devices.
vparcreate -P vPar1 -c 4 -a hba:avio_stor::npiv:/dev/fcd0
vparcreate -P vpar1 -c 4 -a hba:avio_stor:,,,:npiv:/dev/fcd0
NOTE: 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.
104 NPIV with vPars and Integrity VM