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

# hpvmnet
Name Number State Mode NamePPA MAC Address IPv4 Address
===================== ====== ======= ========= ======= ============== ===============
localnet 1 Up Shared N/A N/A
hpnet 2 Up Shared lan0 0x1cc1de40d040 15.43.212.199
priv_net 3 Up Shared lan1 0x1cc1de40d044
# hpvmhwmgmt -l -p dio | grep 0/0/0/3/0/0/7
0/0/0/3/0/0/7 lan host HP PCIe 2-p 10GbE Built- device
# hpvmhwmgmt -p dio -a 0/0/0/3/0/0/7
hpvmhwmgmt: Sibling path '0/0/0/3/0/0/0' (lan0) is being used as vswitch 'hpnet'.
hpvmhwmgmt: Sibling path '0/0/0/3/0/0/1' (lan1) is being used as vswitch 'priv_net'.
hpvmhwmgmt: Lan devices used as vswitches cannot be added to the DIO pool.
hpvmhwmgmt: Unable to manage dio pool resource.
Use the vparstatus A command to view the functions available in the DIO pool:
# vparstatus -A | grep dio
lan:dio::hwpath:0/0/0/4/0/0/0
lan:dio::hwpath:0/0/0/4/0/0/1
lan:dio::hwpath:0/0/0/4/0/0/2
lan:dio::hwpath:0/0/0/4/0/0/3
lan:dio::hwpath:0/0/0/4/0/0/4
lan:dio::hwpath:0/0/0/4/0/0/5
lan:dio::hwpath:0/0/0/4/0/0/6
lan:dio::hwpath:0/0/0/4/0/0/7
Use the hpvmmodify command or vparmodify command to add the DIO device to an existing
guest:
# vparmodify -p atcvpar2 -a lan:dio::hwpath:0/0/0/4/0/0/0
If you attempt to add a function of a DLA device when another vPar or VM guest is assigned a
function on that same DLA device and has resources_reserved set to true, the add fails:
# vparmodify -p newatcvpar1 -a lan:dio::hwpath:0/0/0/4/0/0/1
vPar/VM newatcvpar1 configuration problems:
Error 1: The sibling DLA function: '0/0/0/4/0/0/0' of function: '0/0/0/4/0/0/1'
is in use by another guest. vparmodify: Unable to modify the vPar.
Setting the resources_reserved flag on the vPar or VM guest to false allows you to add the
function to the vPar or VM guest:
# vparmodify -p atcvpar2 -x resources_reserved=false
# vparmodify -p newatcvpar1 -a lan:dio::hwpath:0/0/0/4/0/0/1
# vparstatus -v -p atcvpar2 | grep dio
lan:dio:0,6,0x7e06f5393261:hwpath:0/0/0/4/0/0/0
# vparstatus -v -p newatcvpar1 | grep dio
lan:dio:0,4,0xca7e0c0d0e96:hwpath:0/0/0/4/0/0/1
However, only one of these vPars boots at one time:
# vparboot -p atcvpar2
(C) Copyright 2000 - 2012 Hewlett-Packard Development Company, L.P.
UsrDirectAdd: hw_path="0/0/0/4/0/0/0" MAC=0x7e06f5393261.
# vparstatus
[Virtual Partition]
Num Name RunState State
=== ========================== ============ =========
2 atcvpar2 EFI Active
1 newatcvpar1 DOWN Inactive
# vparboot -p newatcvpar1
vPar/VM newatcvpar1 configuration problems:
8.5 Direct I/O networking 131