HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

Table 3-8 Options to the hpvmclone Command (continued)
DescriptionOption
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 8.10 (page 159).
To specify the serial number of the new virtual machine, enter
serial_number={new | same}
-x keyword=parameter
Provides information about the memory type for Host and guests: cell local
memory, interleaved, or none.
-C
For example, to clone the virtual machine named host1, to create a new virtual machine named
clone1, enter the following commands. First display the current guest status on the VM Host:
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
host1 2 HPUX On (OS) 1 1 1 2 GB 0
host2 3 UNKNOWN Off 1 1 1 1 GB 0
host3 4 HPUX Off 1 1 1 2 GB 0
You can create a clone of host3 by entering the following command. The new virtual machine
is named clone1:
# hpvmclone -P host3 -N clone1
To see the results of the command, enter the hpvmstatus command again:
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
host1 2 HPUX On (OS) 1 1 1 2 GB 0
host2 3 UNKNOWN Off 1 1 1 1 GB 0
host3 4 HPUX Off 1 1 1 2 GB 0
clone1 5 HPUX Off 1 1 1 2 GB 0
The hpvmclone command creates a copy of an existing virtual machine and its configuration
information. This command copies the configuration files of the existing guest. It does not copy
the actual data and software associated with the guest. Use the -b option to specify a storage
68 Creating Virtual Machines