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

Table 3-3 Options to the hpvmcreate Command
DescriptionOption
Virtual machine name. You must specify a name when you create or modify
the virtual machine. You cannot modify this characteristic.
-P vm-name
Operating system. If you do not specify the operating system type, it is set
to UNKNOWN.
-O os_type
Virtual CPUs (vCPUs) allocated. If you omit this option when you create
the virtual machine, the default is one vCPU.
-c number_vcpus
CPU entitlement allocated. If you omit this option when you create the virtual
machine, the default is 10%.
-e percent
-E cycles
Memory allocated. If you omit this option when you create the virtual
machine, the default is 2 GB.
-r amount
Virtual devices created. If you omit this option when you create the virtual
machine, it has access to no network and storage devices.
-a rsrc
The label for the virtual machine (an optional text string associated with the
virtual machine).
-l vm_label
The startup behavior of the virtual machine (auto or manual).-b start_attribute
Specifies values for dynamic memory setting associated with the guest,
including:
dynamic_memory_control
ram_dyn_type
ram_dyn_min
ram_dyn_max
ram_dyn_target_start
For more information about dynamic memory, see Section 9.6: Dynamic
Memory (page 130).
-x keyword=parameter
Suppresses all resource conflict checks and associated warning messages
(force mode). This option is primarily intended for use by scripts and other
noninteractive applications. Note that you will receive no notification of
potential resource problems for a virtual machine created with the F option.
-F
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.
-s
Group with administrator or operator privileges over the virtual machine.
Enter the group name for group, and for kind enter either admin or oper.
-g group[:kind]
User with administrator or operator privileges over the virtual machine.
Enter the user name for user, and for kind enter either admin or oper.
-u user[:kind]
3.2.1 Example of Virtual Machine Creation
To create a virtual machine named compass1, enter the following command:
# hpvmcreate -P compass1
This command creates a virtual machine named compass1 with no network access and no
allocated storage devices. To view the characteristics of the virtual machine, enter the hpvmstatus
command. For example:
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
3.2 Using the hpvmcreate Command 39