HP-UX HB v13.00 Ch-18 - HPVM

HP-UX Handbook Rev 13.00 Page 29 (of 49)
Chapter 18 Integrity Virtual Machines (HPVM)
October 29, 2013
hpvmremove: Remove the virtual machine 'vmguest2'? [n]:
hpvmstart
The hpvmstart command is used to boot a guest OS. It does all resource checks for VM and will
prevent it from starting it they are not met (You can force it with the F option but it is no
recommended and can cause data corruption, virtual machine hangs,..)
Example:
vmhost# hpvmstart -P vmguest2
(C) Copyright 2000 - 2006 Hewlett-Packard Development Company, L.P.
Opening minor device and creating guest machine container
Creation of VM, minor device 2
Allocating guest memory: 1024MB
allocating low RAM (0-40000000, 1024MB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/1ac5c784-98b9-11da-b5a0-
00306e5dcda8/vmm_config.current): Allocated 1073741824 bytes at
x6000000100000000
allocating firmware RAM (ffaa0000-ffab5000, 84KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/1ac5c784-98b9-11da-b5a0-
0306e5dcda8/vmm_config.current): Allocated 86016 bytes at 0x6000000140000000
Loading boot image
Image initial IP=102000 GP=5E4000
Initialize guest memory mapping tables
Starting event polling thread
Starting thread initialization
Daemonizing....
hpvmstart: Successful start initiation of guest 'vmguest2'
hpvmstop
The hpvmstop command stops a running virtual machine by simulating the operations performed
at the system console on a physical system. It can perform a hard stop, which functions like a
power failure, or a graceful stop, in which the guest operating system receives notification and
time to perform cleanup operations before the stop. You can also connect to the virtual console
to perform a hard stop, reset, toc or graceful shutdown of the VM (see hpvmconsole command)
Example:
To perform a graceful stop
vmhost# hpvmstop -P vmguest2 -g
To perform a a hard stop
vmhost# hpvmstop -P vmguest2 -h