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

Example 29 Configuration
The VSP has two active VM guests configured with NPIV vHBAs.
hpux-atc-sd2-001par1# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # Type OS Type State #VCPUs #Devs #Nets Memory
==================== ==== ===== ======= ===== ====== ===== ===== =======
Dscvr_G01 1 SH HPUX On(OS) 32 2 1 256 GB
Dscvr_G02 2 SH HPUX On(OS) 2 1 1 8 GB
The VSP has two dual port FC cards in PCI OLR capable slots.
hpux-atc-sd2-001par1# ioscan -kfNC fc
Class I H/W Path Driver S/W State H/W Type Description
======= =============== ====== ========= ========= ===========
fc 1 41/0/2/0/0/0/0 fcd CLAIMED INTERFACE HP AH401A 8Gb Dual Port PCIe Fibre Channel Adapter (FC
Port 1)
fc 2 41/0/2/0/0/0/1 fcd CLAIMED INTERFACE HP AH401A 8Gb Dual Port PCIe Fibre Channel Adapter (FC
Port 2)
fc 4 42/0/1/0/0/0/0 fcd CLAIMED INTERFACE HP SN1000Q 16Gb Dual Port PCIe Fibre Channel Adapter (FC
Port 1)
fc 5 42/0/1/0/0/0/1 fcd CLAIMED INTERFACE HP SN1000Q 16Gb Dual Port PCIe Fibre Channel Adapter (FC
Port 2)
FC cards are in the following OLR capable slots:
hpux-atc-sd2-001par1# olrad -q
Slot Path Link Max Max Link Pwr Occu Susp OLAR OLD Mode
Spd Link Link Width
Spd Width
========== ============= ==== ===== ===== ==== ==== ==== ==== ==== ==== ====
9-0-2-2-0-1 41/0/2/0/0/0 5.0 5.0 x8 x4 On Yes No Yes Yes PCIe
10-0-1-1-0-5 42/0/1/0/0/0 5.0 5.0 x8 x8 On Yes No Yes Yes PCIe
The first guest has its NPIV HBAs backed by the FCD port /dev/fcd1 and /dev/fcd4 and the
second guest has its NPIV HBA backed by the FC ports /dev/fcd4.
hpux-atc-sd2-001par1# hpvmstatus -P Dscvr_G01 | grep hba
hba avio_stor 0 0 npiv /dev/fcd4 -0x50014C2000000000,0x50014C2800000000
hba avio_stor 0 2 npiv /dev/fcd1 -0x50014C2000000002,0x50014C2800000002
hpux-atc-sd2-001par1# hpvmstatus -P Dscvr_G02 | grep hba
hba avio_stor 0 0 npiv /dev/fcd4 -0x50014C2000000001,0x50014C2800000001
The VM guest and Dscvr_G01 have a boot disk with two path passing through /dev/fcd1 and
/dev/fcd4 on the VSP.
dscvr_g01# ioscan -kfNd gvsd
Class I H/W Path Driver S/W State H/W Type Description
======= ========== ====== ========= ========= ======================
ext_bus 0 0/0/0/0 gvsd CLAIMED INTERFACE HPVM NPIV Stor Adapter
ext_bus 2 0/0/2/0 gvsd CLAIMED INTERFACE HPVM NPIV Stor Adapter
dscvr_g01# hpvmdevinfo
Device Bus,Device,Target Backing Store Host Device Virtual Machine
Type Type Name Device Name
====== ================= ============= =========== ===============
hba [0,0] npiv/dev/fcd4 /dev/gvsd0
hba [0,2] npiv/dev/fcd1 /dev/gvsd2
dscvr_g01# setboot
Primary bootpath : 0/0/2/0.0x22540002ac000d2c.0x4001000000000000 (/dev/rdisk/disk0) Boot disk
HA Alternate bootpath :
Alternate bootpath :
dscvr_g01# ioscan -m lun /dev/rdisk/disk0
Class Lun H/W Path Driver S/W State H/W Type Health Description
I
====== ==== ============== ====== ========= ======== ====== ===========
disk 0 64000/0xfa00/0x1 esdisk CLAIMED DEVICE online 3PARdataVV
0/0/2/0.0x22540002ac000d2c.0x4001000000000000
0/0/0/0.0x21530002ac000d2c.0x4001000000000000 --> Boot disk has two paths
/dev/disk/disk0 /dev/disk/disk0_p2 /dev/rdisk/disk0 /dev/rdisk/disk0_p2
/dev/disk/disk0_p1 /dev/disk/disk0_p3 /dev/rdisk/disk0_p1 /dev/rdisk/disk0_p3
The VM guest and Dscvr_G02 has a boot disk with a single path passing through /dev/fcd4 on
the VSP.
11.4 Performing PCI OLR on a VSP 171