HP Integrity VM 4.3 N-Port ID Virtualization - A brief overview

12
Setting up a VM to use NPIV HBAs
This section describes how to arrange for the provisioning and management of vHBAs.
Configuring storage for a VM with vHBAs
Storage can be provisioned for a VM with a vHBA either before or after it starts up. In both cases, the VM boots successfully
if it has a non-NPIV boot disk configured. If it doesn’t have a boot disk yet, then the VM halts at EFI.
Once a VM starts, the virtual port instance corresponding to the vHBA(s) assigned to it logs into the FC fabric to which
the physical HBA is connected. The port WWN assigned to the vHBA can be obtained using the hpvmstatus command
on the host. Once the port WWN has been noted, the server administrator should work with the storage administrator to
get the required storage provisioned and present the LUNs to the port WWN corresponding to the vHBA.
Note:
The steps for storage provisioning are exactly the same as those used for a standalone
system, except that in this case, the HBA and the WWN involved are virtual in nature.
Figure 5. Determining an NPIV HBA’s WWN
# hpvmstatus -P Guest1 -L
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
Guest1 2 HPUX On (OS)
[Runnable Status Details]
Runnable status : Runnable
[Remote Console]
Remote Console Ip Address: 192.92.53.14
Remote Console Net Mask: 255.255.252.0
[Authorized Administrators]
Oper Groups :
Admin Groups :
Oper Users :
Admin Users :
[Virtual CPU Details]
#vCPUs Ent Min Ent Max
====== ======= =======
1 10.0% 20.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
3000 MB 64 MB
[Dynamic Memory Information]
NOTE: Dynamic data unavailable, configured values only
Minimum Target Memory Maximum
Memory Memory Entitlement Memory
=========== =========== =========== ===========
512 MB 3000 MB - 3000 MB
[Storage Interface Details]
Guest Physical
Device Adapter Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
hba avio_stor 0 4 npiv /dev/fcd1-0x50014C2000000002,0x50014C2800000000
[Network Interface Details]
Interface Adapter Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch avio_lan sitelan 2 0 1 0 b2-8c-71-e0-a5-7b
[Misc Interface Details]
Guest Physical
Device Adapter Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
The vWWNs are highlighted in the output. These vWWNs can be used for LUN masking or fabric zoning.