To start the virtual machine, enter the hpvmstart command.
You can specify either the virtual machine name or the virtual machine number
(listed in the hpvmstatus display under VM
#.)
The hpvmstart command syntax is:
# hpvmstart {-P vm-name | -p vm_number} [-F | -s] |
Table 1–3 describes the
options to the hpvmstart command.
Table 3-3 Options to the hpvmstart Command
| Option | Description |
|---|
| -P vm-name | Specifies the name of the virtual machine. You must include either
the —P or —p option. |
| -p vm_number | Specifies the number of the virtual machine. To display the virtual
machine number, enter the hpvmstatus command. |
| -F | Forces the command to act without requiring confirmation. |
| -s | Checks the VM Host system resources without starting the guest. |
For example, to start the new virtual machine compass1, enter the following
command:
 |
# hpvmstart -P compass1
(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: 2048MB
allocating low RAM (0-80000000, 2048MB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ba249f2-3399-11db-aacc-00306ef392e0
/vmm_config.current): Allocated 2147483648 bytes at 0x6000000100000000
locking memory: 0-80000000
allocating firmware RAM (ffaa0000-ffab5000, 84KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ba249f2-3399-11db-aacc-00306ef392e0
/vmm_config.current): Allocated 86016 bytes at 0x6000000180000000
locked SAL RAM: 00000000ffaa0000 (4KB)
locked ESI RAM: 00000000ffaa1000 (4KB)
locked PAL RAM: 00000000ffaa4000 (4KB)
locked Min Save State: 00000000ffaa5000 (1KB)
RAM alignment: 40000000
Memory base low : 6000000100000000
Memory base FW : 6000000180000000
Loading boot image
Image initial IP=102000 GP=62C000
Initialize guest memory mapping tables
Starting event polling thread
Starting thread initialization
Daemonizing....
hpvmstart: Successful start initiation of guest 'compass1' |
 |
The hpvmstatus command displays the allocation of
memory and devices. After you start the virtual machine, the hpvmstatus command
displays the virtual machine status as On (EFI),
because the virtual machine is powered on but the guest operating system is
not running. Because the operating system has not been installed, the guest
OS type is listed as UNKNOWN.
# hpvmstatus
[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
winguest1 5 WINDOWS On (OS) 1 5 1 1 GB 0
winguest2 9 WINDOWS Off 1 3 1 2 GB 0
compass1 13 UNKNOWN On (EFI) 1 0 0 2 GB 0 |
For more information about using the hpvmstatus command,
see “Managing Guests”.