HP-UX vPars and Integrity VM V6.3 Administrator Guide

Table 27 Options to the hpvmmigrate command (continued)
DescriptionOption
Indicates that the migration must not occur, but the hpvmmigrate
command must check whether or not the migration is possible. Because
VMs 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)
verifies host connectivity, licensing, and CPU compatibility for online
migration.
-s
For offline migrations, 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
VSPs. 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 migrations, specifies that devices must not be translated.-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.-Y
Requires encryption negotiation and sends guest memory data with
protection.
-y
NOTE: You must follow the configuration steps listed in Section 12.1.1 (page 197) to migrate
VMs online that are using logical volume backing stores.
Before enabling the guest on the source, check the target to ensure that the guest was not 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:
nl
# hpvmmodify -P guestname -x register_status=enabled
12.2.2 Examples of the hpvmmigrate command
The following command displays the version number of the hpvmmigrate command:
# hpvmmigrate -v
hpvmmigrate: Version B.06.30
Offline Migration An example
The following example shows how to migrate the guest named VPAR1, residing on the host named
HostA, to the target host (HostB). On the system named HostA, enter the following command:
# hpvmmigrate P VPAR1 h HostB
This example specifies:
The name of the vPar (-P VPAR1)
The name of the target host (-h HostB)
Online Migration—An example
The OVMM feature is initiated with the -o option to the hpvmmigrate command. The following
example shows migration of a guest to another VSP. The guest name is vm3. The target VSP is
12.2 Command line interface for migration 203