HP Serviceguard Toolkit for Integrity Virtual Servers manual Online VM guest package migration

Page 33

6 Online VM guest package migration

Online VM Migration (OVMM) enables a running VM guest and its applications to be moved from one VM Host to another without service interruption. SG IVS toolkit aids OVMM of VM-as-Serviceguard-package for HP-UX guests.

NOTE: Online guest package migration is applicable only for VM.

OVMM provides minimal application downtime during planned maintenance periods on VM Hosts and manual workload balancing between VM Hosts, while HP Serviceguard provides protection against unplanned hardware and software failures. It also protects the guest against unplanned VM Host hardware and software failures or failure of the VM guest itself. Throughout the migration, all virtual machine I/O connections to storage and networks remain active.

The cmmovevpkg command performs online migration of virtual machines protected by HP Serviceguard, with the benefit of minimizing both the planned and unplanned downtime of the VM guest. In this case, you can migrate VM guests online with minimal interruption during planned events, while HP Serviceguard protects the virtual machines from unplanned failures during normal operation.

For example: # cmmovevpkg -v -P slvm1 -h xyzo2

NOTE: SG IVS toolkit does not provide protection during the actual migration process, because it cannot monitor the VM during that period.

For more information about the cmmovevpkg command, see “cmmovevpkg(1m)” manpage.

To perform an online migration of a VM-as-a-Serviceguard-package, run the cmmovevpkg command that performs the following operations:

1.Disables Serviceguard VM guest package switching. Therefore, disables the monitoring and failover functions. However, the VM guest continues to run on the source VM Host.

2.Migrates the VM guest to the target VM Host online using the VM migration command with appropriate option, automatically invoked by the cmmovevpkg command.

If the available capacity is less than the defined package weight, the console displays the

following error message:

nl

Node <<target-node>> do not have the required capacity to run package <<package-name>>.

<package-name>> cannot be moved to <<target-node>>.

3.Re-enables VM guest package switching. Therefore, HP Serviceguard can monitor and failover the VM guest.

NOTE:

The only backing-store types permitted with Online VM migrations include “Whole disk ”and “Shared LVM logical volumes”. If you plan to use Online VM migration with VM-as-Serviceguard-packages, you must limit your VM guest configuration to one of these backing-store types.

For Integrity VM online migration support, install the “T8718AC” product.

For information about package weight and node capacity configuration, see Serviceguard manual on HP-UX at http://www.hp.com/go/hpux-serviceguard-docs

For more information about configuration steps for SLVM and limitations of SLVM, see HP Integrity Virtual Machines 4.3: Installation, Configuration, and Administration > Migrating VMs That are Using Logical Volume Backing Stores.

33

Image 33
Contents Abstract Page Contents Overview HP Serviceguard Toolkit for Integrity Virtual ServersAdvantages DependenciesHP Integrity VM Serviceguard toolkit HP Serviceguard Toolkit for Integrity Virtual Servers VM/vPar as Serviceguard packages Supported configurationNetwork components Storage considerationsFor example, # cmdeployvpkg -m 1 -P vm1 Storage considerations # swinstall -s depot path # swlist -l product SG-IVS-Toolkit#swremove SG-IVS-Toolkit Vswitchmgr Vparreset IvshpvmutilsK004vswitchmgr S802vswitchmgrUsing SG IVS toolkit PreconfigurationCreating packages Change the vgnamecmd to vgchange -a s Check the configuration of the package Hpvmvolumegroup /dev/vgsharedAUsing Serviceguard commands Cd /etc/cmcluster/vm/vParnameCmmakepkg -m tkit/vtn/vpar -n vparname pkg.conf Cmdeployvpkg command Using SG IVS Toolkit commandsServicename Cmapplyconf -P pkg.confRunning packages Managing packagesMaintaining packages #cmdeployvpkg -m 1 -P vm or vpar nameHalting packages Deleting packagesConverting packages Run cmdeployvpkg -C -P vmname Configuring guest application monitoring service Failure of a monitored VM or vPar guest application Configuring guest application monitoring service Key generation on the VM or vPar guest HP-UX /opt/hp/cmappserverRpm -i cmappserverslesia64.rpm for Sles CmappserverAdd /opt/hp/cmappserver to the path #cmdeployvpkg -P vm1 -x merge -x appmon Cmappservertimeoutcmappserver connection timeout secondsHpux # cmdeployvpkg -P slvm1 -x merge -x appmonConfiguring guest application monitoring service Loglevel Lanmon Usr/sbin/cmappmgr -node remo1 -cmappservertimeoutHostlogfile full Pathof fileonhostAdm/vm1npivdiskmon.log Help VersionUpgrading cmappmgr/cmappserver combination Configuring guest application monitoring service For example # cmmovevpkg -v -P slvm1 -h xyzo2 Online VM guest package migrationOnline VM guest package migration Service monitor detected a failure in guest vmname TroubleshootingRun cmdeployvpkg command with -m 0 option Etc/cmcluster/scripts Mscripts Mastercontrolscript.shCmcluster/scripts/tkit/vtn/ tkitmodule.sh Limitations How to contact HP Support and other resourcesInformation to collect before contacting HP HP authorized resellers Documentation feedbackRelated information Typographic conventions TIP Page Page DMP GlossaryIndex