HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
config1 1 HPUX Off 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 0
host1 12 UNKNOWN Off 1 0 0 2 GB 0
The default action of this command (if you press Enter) is to not perform the command operation.
To continue the operation, you must enter y.
To enter the command without requiring a confirmation (for example, in a script), enter the
following command:
# hpvmstop -P host1 -Q
#
To quickly shut down all three virtual machines that are running on the VM Host, enter the
following command:
# hpvmstop -a -F
Stopping virtual machine host1
Stopping virtual machine host2
Stopping virtual machine host3
NOTE: When stopping a guest that is running a heavy I/O load, the hpvmstop command can
exhaust its timeout allotted for the stop and exit. When this happens, the SIGKILL has been sent
to the running hpvmapp process and will be received by that process when pending I/Os complete.
The SIGKILL then terminates the guest.
This is expected behavior for an I/O intensive process receiving a SIGKILL. This behavior is not
specific to Integrity VM, but is how the signal-delivery mechanism works in the HP-UX operating
system.
You can also use the hpvmconsole command to force the virtual machine to shut down. However,
after you install the guest operating system, you should use the standard operating system
commands and procedures on the guest to shut it down.
NOTE: To stop a guest, HP recommends that you perform an operating system shutdown from
a privileged account on the guest using their native operating system commands.. If the guest
is not responding, use the hpvmstop -g command on the VM Host. Do not stop a guest by
killing the hpvmapp process.
3.8 Removing Virtual Machines
To remove a virtual machine from the VM Host, use the hpvmremove command. By default,
you are required to confirm this action. Table 3-10 describes the options to the hpvmremove
command.
Table 3-10 Options to the hpvmremove Command
DescriptionOption
Specifies the name of the virtual machine. You must
include either the —P or —p option.
-P vm-name
Specifies the number of the virtual machine. To display
the virtual machine number, enter the hpvmstatus
command.
-p vm_number
70 Creating Virtual Machines