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

14
Note that the ioscan output listing of targets and LUNs on the vHBA in the vPar is the same as a listing of SAN LUNs
on a standalone system (other than the driver used to access the device):
# ioscan -kfNH 0/0/4/0
Class I H/W Path Driver S/W State H/W Type Description
======= == ========================================= ====== ========= ======== ============
ext_bus 1 0/0/4/0 gvsd CLAIMED INTERFACE HPVM NPIV Stor Adapter
tgtpath 3 0/0/4/0.0x207000c0ffda0287 estp CLAIMED TGT_PATH Virtual Storage
HBA target served by gvsd driver, target port id 0x105ef
lunpath 5 0/0/4/0.0x207000c0ffda0287.0x0 eslpt CLAIMED LUN_PATH LUN path for ctl1
lunpath 8 0/0/4/0.0x207000c0ffda0287.0x4001000000000000 eslpt CLAIMED LUN_PATH LUN path for disk7
lunpath 9 0/0/4/0.0x207000c0ffda0287.0x401d000000000000 eslpt CLAIMED LUN_PATH LUN path for disk8
tgtpath 4 0/0/4/0.0x247000c0ffda0287 estp CLAIMED TGT_PATH Virtual Storage
HBA target served by gvsd driver, target port id 0x104ef
lunpath 6 0/0/4/0.0x247000c0ffda0287.0x0 eslpt CLAIMED LUN_PATH LUN path for ctl2
lunpath 11 0/0/4/0.0x247000c0ffda0287.0x4001000000000000 eslpt CLAIMED LUN_PATH LUN path for disk7
lunpath 12 0/0/4/0.0x247000c0ffda0287.0x401d000000000000 eslpt CLAIMED LUN_PATH LUN path for disk8
Identifying the VFC Controller’s creation in a virtual environment
If a vPar with NPIV is not started, no VFC controllers will be shown in the “ioscan kfnNd fcd” output on the VSP.
Below is an example where the vPar is down as shown by vparstatus command and the output of “ioscan kfnNd
fcd” run on the VSP.
# vparstatus
[Virtual Partition]
Num Name RunState State
=== ========================== ============ =========
2 V1 DOWN Inactive
1 V2 DOWN Inactive
3 V3 DOWN Inactive
4 V4 DOWN Inactive
[Virtual Partition Resource Summary]
Virtual Partition CPU Num Num Total MB
Num Name Min/Max CPUs IO Memory
=== ========================== ======= ==== ==== =========
2 V1 1/127 1 2 3000
1 V2 1/127 1 2 3072
3 V3 1/127 2 3 5120
4 V4 1/127 1 2 2048
# ioscan -kfnNd fcd
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
fc 0 0/0/0/8/0/0/0 fcd CLAIMED INTERFACE HP 451871-B21 8Gb Dual Port PCIe Fibre Channel
Mezzanine (FC Port 1)
/dev/fcd0
fc 1 0/0/0/8/0/0/1 fcd CLAIMED INTERFACE HP 451871-B21 8Gb Dual Port PCIe Fibre Channel
Mezzanine (FC Port 2)
/dev/fcd1
If a vPar with NPIV entries is started, you can identify if the VFC is created on the VSP as follows:
# vparstatus
[Virtual Partition]
Num Name RunState State
=== ========================== ============ =========
2 V1 UP Inactive
1 V2 DOWN Inactive
3 V3 DOWN Inactive
4 V4 DOWN Inactive
[Virtual Partition Resource Summary]
Virtual Partition CPU Num Num Total MB
Num Name Min/Max CPUs IO Memory
=== ========================== ======= ==== ==== =========
2 V1 1/127 1 2 3000
1 V2 1/127 1 2 3072
3 V3 1/127 2 3 5120
4 V4 1/127 1 2 2048