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

Table 10-1 Options to the hpvmmigrate Command
DescriptionOption
Specifies the name of the guest to migrate.
-P source-vm-name
Specifies the virtual machine number of the guest to migrate. To display
the virtual machine number, enter the hpvmstatus command.
-p source-vm-name
Specifies the destination VM Host system name or IP address.
-h dest-hostname | dest-host-IP
Displays the version of the hpvmmigrate command .v
Displays information about how to use the hpvmmigrate command.H
Specifies a new name for the virtual machine. The new-vm-name can be
up to 256 alphanumeric characters. The same virtual machine name
cannot already exist on the same VM Host system.
The name change takes effect immediately.
-N new-vm-name
Specifies the virtual machine's CPU entitlement in CPU cycles. To specify
the percentage of CPU power, enter the following option:
-e percent
To specify the clock cycles, enter one of the following options:
-E cyclesM (for megahertz)
-E cyclesG (for gigahertz)
-e percent | -E cycles
Modifies a virtual device that is defined on the virtual machine. Specify
the virtual and physical device information for rsrc .
For information about forming a virtual storage device specification,
see Chapter 7 (page 81).
For information about forming a virtual network device specification,
see Chapter 8 (page 109).
-m rsrc
Physically copies the storage device specified with the -m option to the
target host during the migration process
-C
Causes hpvmmigrate to boot the target guest automatically after the
migration process is complete.
-b rsrc
Causes hpvmmigrate to automatically shut down the target guest
before the migration process, after the resource test in the target host.
-d
Forces the migration. Use -F rarely and with caution.-F
You can force the guest to be migrated regardless of whether sufficient resources exist on the
destination host by using the F option. When you use this option, any problems found during
resource validation are ignored, and the guest is migrated to the destination host.
The guest on the source host is deleted after it is successfully migrated to the destination host.
10.2.2 Example of the hpvmmigrate Command
The following example shows how to migrate the guest named VM1, residing on the host named
HostA, to the destination host (HostB). On the system named HostA, enter the following
command:
# hpvmmigrate P VM1 h HostB
This example specifies:
The name of the guest (-P VM1)
The name of the destination host (-h HostB)
10.2 Migration Guests from VM Host to VM Host 145