HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

A value was omitted for an argument that requires one, or a value was supplied for an
argument that does not take one.
The hpvmcreate command and the Integrity VM software are at different version levels.
EXAMPLES
The following example creates a virtual machine named myguest1, specifying 4 virtual CPUs,
and 2 GB of memory, and /dev/rdisk/disk0 as a SCSI disk device:
# hpvmcreate -P myguest1 -c 4 -r 2G -a disk:scsi::disk:/dev/rdisk/disk0
The following example creates a virtual machine named myguest2, specifying 2 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/rdisk/disk0 \
-a network:avio_lan::vswitch:vswitch1
The following example creates a virtual machine named cougar with 2 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/rdisk/disk0 \
-a disk:scsi::disk:/dev/rdisk/disk1 \
-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
The following are sample warning messages that are 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/rdisk/disk0: Device file '/dev/rdisk/disk0' 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/rdisk/disk3 backing device does not exist.
Warning 8 on item /dev/rdisk/disk3: Device file '/dev/rdisk/disk3' 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/rdisk/disk0 -x dynamic_memory_control=1
The following example creates a guest named testguest with a 100 Mhz minimum and a cap
of 250 Mhz.
# hpvmcreate -P testguest -E 100:250
OBSOLESCENCE
The -F option is deprecated in Integrity Virtual Machines commands. This flag might be removed
in a future release of Integrity Virtual Machines. HP recommends use of the command with the
-s option, then resolving any errors or warnings that result before executing the command
without the -s option and without the -F option.
AUTHORS
The hpvmcreate command was developed by HP.
SEE ALSO
On the VM Host:
260