HP-UX vPars and Integrity VM V6.1.5 Administrator Guide (5900-2295, April 2013)
Table 17 Options to the hpvmclone Command (continued)
DescriptionOption
Specifies the amount of memory available to this virtual machine. Specify the
amount as either amountM (for megabtyes) or amountG (for gigabytes).
-r amount
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. For more information about using VLANS on virtual
machines, see Section 10.4 (page 154).
-S amount
Specifies a group authorization. The specified administrative level (admin or
oper) is applied to the specified user group.
-g group[:{admin|oper}]
Specifies a user authorization. The specified administrative level (admin or
oper) is applied to the specified user group.
-u user[:{admin|oper}]
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
• ram_dyn_entitlement=amount
• amr_enable={0|1}
• amr_chunk_size=amount
• graceful_stop_timeout
• mac_address
• sched_preference
• serial_number
• tunables
• suspend={enable | disable}
• suspend_file=delete
For Online VM Migration:
• online_migration
• migrate_frozen_phase_timeout
• migrate_copy_phase_timeout
• migrate_io_quiesce_timeout
• migrate_init_phase_timeout
For more information about dynamic memory, see Section 11.9 (page 184).
Specifies virtual machine or vPar attributes that control their behavior:
• vm_type={vpar|shared}
• resources_reserved={0|1}
• active_config={0|1}
To specify the serial number of the new virtual machine, enter
serial_number={new | same}
-x keyword=parameter
For example, to clone the virtual machine named host3, to create a new virtual machine named
clone1, enter the following commands. First display the current guest status on the VSP:
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
98 Creating virtual machines