HP Integrity Virtual Machines Installation, Configuration, and Administration
The kind argument specifies the privilege level available at the virtual console: either admin
or oper (the default).
This option can be specified more than once.
-s
Sanity-checks the virtual machine configuration and returns warnings or errors, but does
not create the virtual machine.
This option is used to invoke the hpvmcreate command's resource checking for a virtual
machine configuration without actually creating the virtual machine. If the -s option is not
specified, the virtual machine is created even if resource warnings occur.
The -F and -s options are mutually exclusive.
-x
Specifies whether the new virtual machine will use dynamic memory and the values associated
with it by including the following keywords:
• -x dynamic_memory_control={0|1}
• -x ram_dyn_type={none|any|driver}
• -x ram_dyn_min=amount
• -x ram_dyn_max=amount
• -x ram_dyn_target_start=amount
RETURN VALUES
The hpvmcreate command exits with one of the following values:
0: Successful completion.
1: One or more error conditions occurred.
DIAGNOSTICS
hpvmcreate displays error messages on stderr for any of the following conditions:
• An invalid option is specified.
• An invalid value is specified for an option or value is omitted.
• The specified vm-name already exists. Use the hpvmmodify command to modify an existing
guest.
• One or more options other than -a, -g or -u have been specified more than once or the
same resource was allocated more than once.
• An unavailable resource (allocated to another virtual machine, or exceeding the available
resource limit) was specified.
• 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
Create a virtual machine named myguest1, specifying four virtual CPUs, and two GB of memory,
and /dev/dsk/c1t2d0 as a SCSI disk device:
# 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: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
185