HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

# hpvmcreate -P myguest1 -c 4 -r 2G -a disk:scsi::disk:/dev/rdsk/c1t2d0
Create a virtual machine named myguest2, specifying two virtual CPUs and a virtual switch
named vswitch1. Each virtual CPU has a 50% entitlement.
# hpvmcreate -P myguest2 -c 2 -e 50 -a disk:scsi::disk:/dev/rdsk/c2t2d0 \
-a network:avio_lan::vswitch:vswitch1
Create a virtual machine named cougar with two virtual CPUs, 2 GB memory, a virtual disk
backed by a whole disk, a virtual disk backed by a partition, a virtual disk backed by an LVM
volume, a virtual DVD backed by an ISO file, a virtual network interface backed by virtual switch
localnet, and an accelerated virtual network interface backed by virtual switch hostnet:
# hpvmcreate -P cougar -c 2 -r 2G \
-a disk:scsi::disk:/dev/rdsk/c3t1d0 \
-a disk:scsi::disk:/dev/rdsk/c2t1d0s1 \
-a disk:scsi::lv:/dev/vg00/rguestvol1 \
-a dvd:scsi::file:/var/opt/hpvm/ISO-images/hpux/1123505GOLD.ISO \
-a network:lan::vswitch:localnet \
-a network:avio_lan::vswitch:hostnet
Following are sample warning messages returned when the hpvmcreate command is executed
with various configuration problems on the guest myguest3:
HPVM guest myguest3 configuration problems:
Warning 1: Guest needs more vcpus than server supports.
Warning 2: Insufficient free memory for guest.
Warning 3: Insufficient swap resource for guest.
Warning 4: Insufficient cpu resource for guest.
Warning 5 on item /dev/rdsk/c2t1d0: Device file '/dev/rdsk/c2t1d0' in use by another guest.
Warning 6 on item /dev/vg00/rswap: Device file '/dev/vg00/rswap' in use by server.
Warning 7 on item /dev/rdsk/c1t1d3 backing device does not exist.
Warning 8 on item /dev/rdsk/c3t1d0: Device file '/dev/rdsk/c3t1d0' in use by another guest.
Warning 9 on item hostnet: MAC address in use for switch hostnet.
Warning 10 on item offnet: Vswitch offnet is not active.
Warning 11 on item badnet: 'badnet' backing device does not exist.
These problems will prevent HPVM guest myguest3 from booting.
The following example shows how to create the guest myguest1 and specify dynamic memory
control.
# hpvmcreate -P myguest1 -c 4 -r 2G -a disk:scsi::disk:/dev/rdsk/c1t2d0 -x dynamic_memory_control=1
AUTHORS
Thehpvmcreate command was developed by HP.
SEE ALSO
On the VM Host:
hpvm(5), hpvmclone(1M), hpvmcollect(1M), hpvmconsole(1M), hpvmdevmgmt(1M), hpvminfo(1M),
hpvmmigrate(1M), hpvmmodify(1M), hpvmnet(1M), hpvmpubapi(3), hpvmremove(1M), hpvmresources(5),
hpvmstart(1M), hpvmstatus(1M), hpvmstop(1M), p2vassist(1M)
On the Integrity VM guest:
hpvmcollect(1M), hpvminfo(1M), hpvmmgmt(1M), hpvmpubapi(3)
202