HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

The hpvmstatus command displays the active configuration for guests that are on, including
the resource assignments that are currently in effect. For guests with a status of off, the command
displays the configuration to be used when the guest in next booted.
The hpvmstatus command displays variety of information:
To list all the virtual machines that are on the VM Host, enter the hpvmstatus command
without the -P, -p, -e, or -r option.
To display detailed information about a virtual machine, use the -P or -p option (without
the -e, -r, or -d option) to specify the virtual machine.
To display devices in the same format used on the command line, use the -d option.
To display a virtual machine's log file, for either the VM Host or the specified virtual machine,
include the -e option.
To display the virtual machine's memory and CPU resource allocation and entitlement
information, use the -r option.
To display the mode the scheduler is in, use the -S option.
To obtain a display in machine-readable format, use the -M or -X option.
Only superusers can execute the hpvmstatus command.
Integrity VM allows the guest to have two configurations, one for the last started configuration
and one for the next start configuration or deferred configuration. If the guest is running, the
last started configuration is the one that the guest is currently using and the next start
configuration is the one that will be used the next time the guest is started. Having two
configurations allows the administrator to set up a different configuration for the next start while
the guest is running.
To view the next start configuration, the use the -D option specifying a deferred start
configuration. To view the last start configuration, use the -L option specifying the last start
configuration.
NOTE: When guests are controlled by Serviceguard in an Integrity VM multi-server environment
(MSE), the run status of the SG-controlled guest is distributed to all VM Hosts in the cluster. The
guest is marked as “On (Rmt)” on all VM Hosts in the cluster and the MSE serverid of the VM
Host running the guest is displayed by hpvmstatus as the Rmt Host. This allows administrator
to be aware that the guest is running on a different server in the cluster. The following
hpvmstatus command checks if a guest is running locally:
hpvmstatus P guestname -M | awk -F: '$11 !~ /Off/ && $27 != "1" {print
"guest running locally " }'
This command displays the serverid of the Host running a guest remotely:
hpvmstatus -P guestname -M | awk -F: '$11 !~ /Off/ && $27 == "1" {print
"guest running on serverid " $26}'
The default, no options, hpvmstatus command output appears as follows:
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Rmt Host
==================== ===== ======= ========= ====== ===== ===== ======= ========
config1 1 HPUX Off (NR) 1 5 1 512 MB 0
config2 2 HPUX Off 1 7 1 1 GB 0
guest1 5 OPENVMS On (OS) 1 5 1 1 GB 2
The following fields are presented in this hpvmstatus command output:
Virtual Machine Name: The unique guest name
VM #: The unique guest number assigned by the system.
OS Type: HPUX, OPENVMS
345