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

guests can be migrated while ON and running. You can use the -o option with VMs to migrate
an online guest, which involves copying all the configuration information of the VM and transferring
the active guest memory and virtual CPU state. Omit the -o option to migrate the configuration
information of the offline VM or vPar, and optionally local disk contents to the target VSP.
The resources that are defined in the configuration information of the VM are verified to determine
whether the migrated VM can boot on the target VSP. If there is a problem, it is reported and the
VM is not migrated. You can specify the -F (force) option to suppress the errors and force the VM
migration to the target VSP.
CAUTION: The -F option is deprecated in Integrity VM commands. This option must be used
only if instructed by HP Support.
By default, Integrity VM retains the VM configuration and marks it Not Runnable(NR) on the
source VSP after it is migrated successfully to the target VSP. Run the hpvmstatus command to
make sure that the state of the VM is Off(NR) on the source VSP and the guest is On(OS) on the
target VSP. The guest is running on the target VSP and is, therefore, considered Runnable.
This mechanism allows the same VM to be configured on multiple VSPs, while still preventing
accidental booting of the same guest on multiple hosts simultaneously. At any given time, a VM
must be Runnable on only one VSP to prevent the possibility of two VMs using the same SAN
storage at the same time. You must use the hpvmmodify command, if necessary, to mark the VM
Runnable on only the VSP, and Not Runnable on all other hosts that know the VM configuration
information.
IMPORTANT: Mark a migrated VM as Runnable only in rare circumstances and with care.
Inappropriate use can cause corrupt the disk.
When you run the hpvmmigrate command, you must specify the name of the guest to be migrated
and the target VSP system.
Specify the guest using one of the following options:
-P source-vm-name to specify the guest name
-p source-vm_number to specify the VM number
Specify the target host by including the h option and specifying one of the following:
Target host alias for the private, high-speed network connection
Target host IP address of the private, high-speed network connection
NOTE: If you migrate a VM or vPar that is managed by Matrix OE, use Capacity Advisor to
collect utilization data before you migrate the VM. Otherwise, the utilization information about the
VSP prior to the migration is lost.
Table 27 (page 200) lists the options that can be used with the hpvmmigrate command.
NOTE: Online migration is supported only with VMs. You can use only offline migration with
vPars.
Table 27 Options to the hpvmmigrate command
DescriptionOption
Attempts to abort an online VM migration.-A
For offline migrations, causes the hpvmmigrate command to
automatically boot the VM on the target after the migration process is
complete. If the -b option is specified for an offline migration, all backing
stores must be copied.
-b
200 Migrating VMs and vPars