HP Integrity Virtual Machines Installation, Configuration, and Administration
If the letter is left off, the unit type defaults to megabytes. If the -r option is omitted, the
amount of memory is that of the existing virtual machine.
-S
Specifies that the cloned guest must share the same virtual LAN (VLAN) ports as the source
guest. By default, the hpvmclone command allocates VLAN ports that are different from
those allocated to the guest that is the source of the clone operation.
-g [+]group :{ | admin | oper}
Specifies group authorization. Use the -g [+]group:{ | admin | oper} syntax to add
a group, where + is optional. When adding a group authorization, the default authorization
type is oper.
To remove a group authorization, use the -g -group syntax.
This option can be specified more than once.
-u [+]username :{ | admin | oper}
Specifies user authorization. Remove user authorization by using the -u user syntax. The
virtual machine user account specified here can use the hpvmconsole command to manage
the virtual machine.
Add user authorization using the -u [+]user:{ | admin | oper} syntax, where + is
optional. When adding a group authorization, the default authorization type is oper.
-s
Sanity-checks the new virtual machine configuration and returns warnings or errors, but
does not create the virtual machine.
-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
To specify the MAC address of the new virtual machine, enter the following: -x
mac_address={new|same}
To specify the serial number of the new virtual machine, enter the following: -x
serial_number={new|same}
RETURN VALUES
The hpvmclone command exits with one of the following values:
0: Successful completion.
1: One or more error conditions occurred.
DIAGNOSTICS
hpvmclone displays error messages on stderr for any of the following conditions:
• An invalid option is specified.
• An invalid value is specified for an option.
• A value was omitted for an argument that requires one, or a value was supplied for an
argument that does not take one.
• One or more options other than -a, -m, -d, -g, or -u have been specified more than once.
• clone_vm_name already exists.
173