自 VM 主機管理者帳號使用 hpvmstart 命令啟動虛擬機器。例如,欲啟動名為 compass1 的虛擬機器,請輸入下列命令。hpvmstatus 命令顯示虛擬機器已啟動。
# hpvmstart -P compass1(C) Copyright 2000 -2007 Hewlett-Packard Development Company, L.P.
Initializing System Event Log
Initializing Forward Progress Log
Opening minor device and creating guest machine container
Creation of VM, minor device 2
Allocating guest memory: 1024MB2,048MB
allocating low RAM (0-40000000, 2,048MB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ba249f2-3399-11db-aacc-00306ef392e0
/vmm_config.next):Allocated 1073741824 bytes at 0x6000000100000000
locking memory: 0-40000000
allocating firmware RAM (ffaa0000-ffab5000, 84KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ba249f2-3399-11db-aacc-00306ef392e0
/vmm_config.next):Allocated 86016 bytes at 0x6000000140000000
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 : 6000000140000000
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'
#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 12 UNKNOWN On (EFI) 1 0 0 2 GB 0
欲從虛擬控制台使從機開機,請輸入下列命令:
#hpvmconsole -P compass1 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
[compass1] vMP>
[compass1] vMP> co
EFI Boot Manager ver 1.10 [14.62] [Build:Fri Aug 4 11:37:36 2007]
Please select a boot option
EFI Shell [Built-in]
Boot option maintenance menu
Use ^ and v to change option(s).Use Enter to select an option
選取 Boot option maintenance menu。
EFI Boot Maintenance Manager ver 1.10 [14.62]
Main Menu.Select an Operation
Boot from a File
Add a Boot Option
Delete Boot Option(s)
Change Boot Order
Manage BootNext setting
Set Auto Boot TimeOut
Select Active Console Output Devices
Select Active Console Input Devices
Select Active Standard Error Devices
Cold Reset
Exit
選擇 Add a Boot Option。
EFI Boot Maintenance Manager ver 1.10 [14.62]
Add a Boot Option.Select a Volume
Removable Media Boot [Acpi(PNP0604,0)]
Load File [Acpi(PNP0A03,0)/Pci(1|0)/Mac(763AE48F393F)]
Load File [EFI Shell [Built-in]]
Legacy Boot
Exit
欲自虛擬 DVD 進行安裝,請選取 Removable Media Boot。
欲自 Ignite-UX 伺服器進行安裝,請選取有您 MAC 位址的項目。例如:
Device Path Acpi(PNP0A03,0)/Pci(1|0)/Mac(763AE48F393F)
Enter New Description:lan0boot
New BootOption Data.ASCII/Unicode strings only, with max of 240 characters
Enter BootOption Data Type [A-Ascii U-Unicode N-No BootOption] : N
Save changes to NVRAM [Y-Yes N-No]:Y