HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
Table 9-3 Options to the hpvmmigrate Command (continued)
DescriptionOption
Indicates that the migration should not occur, but the hpvmmigrate
command should check whether or not the migration is possible. Because
virtual machines and their hosts are dynamic, a successful -s trial does
not always guarantee a subsequent successful migration. The
hpvmmigrate command with the -o-s and -h options (but without
a -p or -P option) checks host connectivity, licensing, and CPU
compatibility for online migration.
-s
For offline migration, translates the storage device names specified with
the -m option by comparing WWIDs. To compare WWIDs, the storage
resources must be present and available on both the source and the
target VM Hosts. If you specify the -t option before the first -m option,
the -t option applies to all -m options. The -t option overrides the
-T option for storage resources specified with the -m option. Device
translation is automatic for online migration.
-t
For offline migration, specifies not to translate devices.
-T
Displays the version of the hpvmmigrate command .-v
For online migrations, bypasses all vswitch connectivity checks. Use
the -w option only if you are certain that the source and target vswitches
are connected to the same subnet; otherwise, your online guest will lose
network connectivity after migrating.
-w
Suppresses encyrption negotiations and sends guest memory data in
the clear.
-Y
Requires encryption negotiation and sends guest memory data with
protection.
-y
NOTE: You can online migrate VMs that are using logical volume backing stores, as long as
you follow the configuration steps listed in Section 11.5 (page 200).
NOTE: Before enabling the guest on the source, check the target to ensure that the guest was
not actually migrated there.
It is rare but possible that a guest is marked Not Runnable after a failed offline migration. If this
occurs, use the following command to return the guest to the registered state:
# hpvmmodify -P guestname -x register_status=enabled
9.2.2 Examples of the hpvmmigrate Command
The following example displays the version number of the hpvmmigrate command:
# hpvmmigrate -v
hpvmmigrate: Version B.04.30
Offline Migration Example
The following example shows how to migrate the guest named VM1, residing on the host named
HostA, to the target 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 target host (-h HostB)
Online Migration Example
The Online VM Migration feature is initiated with the -o option to the hpvmmigrate command.
The following example migrates a guest to another VM Host. The guest name is vm3. The target
9.2 Command Line Interface for Online and Offline Migration 183