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

10.3.3 Modifying vPar name and number
The vPar must be in the DOWN run state to modify the name. You can modify the name of a vPar
using the vparmodify -P command to add a name that does not exist in the current vPar
database. The vPar number cannot be modified. The only way you can get a different number is
to delete the current vPar and create a new one. When you create a new vPar, you can specify
the vPar number with the -p option.
10.4 Viewing information specific to a vPar
You can view information about a vPar by specifying either the name or the number of the vPar.
You must use the vparstatus command from the VSP to view vPar information.
By default, the vparstatus command displays summary information. To view detailed information
you must use the -v option. You can also view the vPar information in machine-readable format
using the -M option.
Alternatively, the hpvmstatus command can also be used to view the detail status of vPar.
However, when the hpvmstatus command is executed without any option, it displays the summary
information about both vPar and VM on the VSP.
The information that the vparstatus command (and the hpvmstatus command) displays
includes the following:
Number and name of the vPar.
State of the vPar – active or inactive.
Run-state of the active or inactive vPar.
Summary of CPU, I/O, and memory resource allocations.
In both summary and detailed machine-readable format, the following information for the
specified vPar is displayed:
Total memory size in MB.
The number of CPUs assigned to the vPar.
The virtual I/O devices assigned to the vPar in the resource statement format.
To view summary information about all the vPars, run the following command:
# vparstatus
To view the detailed attributes and resources of a specific vPar, for example vpar1, run the following
command:
# vparstatus -p vpar1 -v
To view the detailed attributes and resources of a specific vPar named vpar1 in machine-readable
format, run the following command:
# vparstatus -p vpar1 -M
To view the revisions of partition management tools, run the following command:
# vparstatus -r
10.5 Stopping and resetting a vPar
Shutdown
When a vPar must be completely shut down and not be rebooted, the -g option can be used. You
can issue a graceful shut down to the OS by using the vparreset command.
To shut down a vPar named Oslo, run the following command:
# vparreset -f -p Oslo -g
10.4 Viewing information specific to a vPar 159