HP vPars and Integrity Virtual Machines V6.1 Administrator Guide
# 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/VM has been assigned a
function on that same DLA device and has resources_reserved set to true, the add will fail:
# 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/VM to false allows you to add the function
to the vPar/VM:
# 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 will be able to boot 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:
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.
vparboot: Unable to continue.
For the syntax and complete list of options for these commands, see the appropriate manpages.
Troubleshooting DIO
If you are unable to add a DIO function or device to the DIO pool that is not in use by the VSP or
already in the DIO pool, check the CRA log file /var/adm/cra.log. When hpvmhwmgmt -p
dio –a … is executed, a Critical Resources Analysis (CRA) Report is generated and might provide
clues as to why the function/device cannot be added to the pool. For example, Serviceguard might
own the interface:
DETAILED REPORT: Analyzed following hardware paths to detect any
usages in the system:
10.5 Using direct I/O networking 161