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

13 Managing vPars and VMs using CLI
To manage a vPar and VM guest, connect to the vPar and VM guest using a remote connection,
and use the operating system administration procedures appropriate to the guest OS. vPars and
Integrity VM provides utilities for managing vPars and VM guests from the VSP and from inside
the vPar and VM guest. This chapter describes how to manage vPars and VM guests using Integrity
VM commands and utilities.
13.1 Monitoring guests
To view the information about all the vPars and VM guests configured on the VSP, enter the
hpvmstatus command.
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # Type OS Type State #VCPUs #Devs #Nets Memory
==================== ===== ======= ======= ====== ===== ===== ====== ========
vPar0002 2 VP HPUX Off 3 0 0 2048 MB
guest1 3 SH HPUX On (OS) 4 0 0 10 GB
ux1 1 SH HPUX Off 4 2 1 3 GB
The vPar and VM guest status is displayed in the State column and indicates whether the vPar
or VM guest is powered off or on. When the vPar or VM guest is on, the status also includes one
of the following:
EFI indicates the vPar or VM guest is running normally in EFI.
OS indicates the vPar or VM guest is running normally in the operating system.
ATTN indicates the guest is not responding to interrupts.
Table 29 (page 217) lists the options that can be used with the hpvmstatus command.
Table 29 Options to the hpvmstatus command
DescriptionOption
Displays the version of the Integrity VM product that is running on the VSP.-v
Displays detailed information about the specified VM or about all the VMs if you do not specify
one using either the -p or -P option.
-V
Specifies the display output to be in machine-readable format.-M
Specifies the display output to be in XML format.-X
Specifies the name of the VM.-P vm-name
Specifies the number of the VM.-p vm-number
Displays the resource allocated to the specified VM. You must include either the -p option or the
-P option.
-D
Displays the event log for the VSP or the specified VM. The event log records all changes to VM
configurations.
-e
Displays the memory and virtual CPU resource allocation for the VMs (or for the specified VM if
you use the -p option or the -P option). This option displays the entitlement and virtual CPUs
parameters configured for the VM and the current usage of those resources.
-r
Displays the devices allocated to the VM you specify using either the -p option or the -P option.-d
Displays the scheduler mode for the VSP. CAPPED indicates that gWLM is managing the node.
NORMAL indicates that the node is not being managed by gWLM.
-S
Displays the current VSP resources.-s
If Serviceguard is installed, displays information about the multiple-server environment.-m
13.1 Monitoring guests 217