HP-UX Virtual Partitions 6.0 Administrator Guide
Table 12 Options with the vparhwmgmt command.
DescriptionOption
Specifies the resource pool available for use by the vPars. Currently, only
the CPU pool is supported for modification. The memory pool can be specified
-p pool-name
for display only. The CPU and memory pools refer to the pool of resources
available for use by the vPars.
Adds the resources specified by rsrc to the pool. The rsrc argument is the
number, specified as an integer, of CPU cores to be added to the vPar CPU
pool (the same number of CPU cores is removed from the VSP pool).
-a rsrc
Removes the resources specified by rsrc from the pool. The rsrc argument is
the number, specified as an integer, of CPU cores to be removed from the
vPar CPU pool (the same number of CPU cores is added to the VSP pool).
-d rsrc
Allocates the resources specified by rsrc to the pool. The rsrc argument is the
number, specified as an integer of CPU cores to be allocated to the vPar
CPU pool.
-m rsrc
Lists all the resources available on the VSP and in the vPars as specified by
the -p option.
-l
Allows specification of configuration attributes related to hardware
management. The following hardware management options are available:
• olstarpolicy={host|guest}
Defines whether the online addition or removal of devices should be
added to or removed from the pool available for use to vPars.
NOTE: CPUs can be dynamically added or removed from the VSP. The
olstarpolicy setting defines how these added or removed CPUs are
managed. If olstarpolicy=host, CPUs will be added to or removed
from the VSP. If CPU resource is needed for vPars, the user has to manually
move the CPU from the VSP to the vPar pool.
If olstarpolicy=guest, CPUs will be added to or removed from the
vPar pool. If that CPU is added to or removed from the VSP pool, the VSP
CPU pool must be manually adjusted.
-x
Displays the usage syntax of the command.-H
Example 18 Allocate CPU cores to the vPar CPU pool
On an 8 CPU core physical server, allocate 6 CPU cores to the vPar CPU pool, and dedicate 2
CPU cores to the VSP itself. This example assumes that there are currently 7 CPUs (default for an
8 core VSP) assigned to the vPar CPU pool.
# vparhwmgmt –p cpu –m 6
OR
# vparhwmgmt -p cpu -d 1
vparnet
The vparnet command allows you to create and control vswitches. Table 13 (page 29) describes
the options you can use with the vparnet command.
Table 13 Options with the vparnet command.
DescriptionOption
Specifies the unique name of the virtual switch. The name of the vswitch is
limited to eight characters.
-S vswitch-name
Specifies the unique number of the virtual switch.-s vswitch-number
VSP commands 29