HPVM Cheat Sheet
HPVM Cheat Sheet
HPVM Cheat Sheet
HP VM Cheat Sheet
On a host
a)
# vi /etc/rc.config.d/hpvmconf
# Set to 1 (0) to enable (disable) Integrity VM at boot time.
HPVM_ENABLE=1
# /sbin/init.d/hpvm start
# hpvmstart P guestname
# hpvminfo -v
Version B.04.10.0
hpvminfo: Running inside an HPVM guest.
#hpvminfo -V
hpvminfo: Running inside an HPVM guest.
configured guest name: guest_hostname
Host chassis information
Host model string : ia64 hp server xxxxx
Host serial number :xxxxxxxxxxxxxxxxxxxx
Host partition ident : xxxxxxxxxxxxxxxxxxxxxxx
Host machine ident : bxxxxxxxxxxxx
Host physical serial number :xxxxxxxxxxx
Host physical ident : xxxxxxxxxxxxxxxxx
Host Inet information
Hostname : hostname.x.x.x
Number of host IPv6 Addresses : 0
Number of host IPv4 Addresses : 2
IP Address : X.X.X.X
IP Address : X.X.X.X
Host SCSI information
Timeout : 4000
C
4) How to connect to guest console?
# hpvmconsole P guestname
vMP MAIN MENU
CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection
[XXXXX] vMP> co
# hpvmstatus
# hpvmcreate -P (name)\
-O (ostype)\
-a (resource/device)\
-e (CPU entitlement in %)\
-E (CPU entitlement in clock cycles)\
-r (memory allocation in MB or GB; default: 2GB)\
-c (#cpus; default: 1)
7) How to check the device management
# hpvmdevmgmt -l all (List all entries)
# hpvmdevmgmt -d rdev:/dev/vx/rdsk/rootdg/test1vol ( to delete Restricted
device)
# hpvmdevmgmt -l rdev (to check restricted devices)
d) # hpvmstatus
hpvmstatus: No guests currently configured.
hpvmstatus: Unable to continue.
HPVM Commands: