Looking for current and maintained information and documentation on (Linux ) Open Source High Availability HA Clustering?You probably should be reading the Pacemaker site clusterlabs.orgThis site conserves Heartbeat specific stuff. See Site news for details.

Contents

Configuration File

This resource agent requires that a libvirt configuration file is present for every virtual machine under management. This file must follow libvirt's domain XML syntax, and the resource configuration must refer to it via its absolute path.

The configuration file may be placed on shared storage.

Migration capability

This resource agent supports the migrate_from and migrate_to actions, enabling it to tie in with migration capabilities provided by the virtualization backend.

If the allow-migrate meta parameter is set to true, then a resource migration will not map to a domain shutdown/startup cycle, but to an actual, potentially live, resource migration between cluster nodes.

For this to work, the virtualization backend must be configured to support migration. Domain migration should always be tested manually, before enabling domain migration in the cluster.

Timeouts

This resource agent is particularly sensitive to incorrectly set timeouts, particularly for the stop operation. To avoid frequent stop timeout errors, be sure to set timeouts to accommodate proper guest operating system shutdown.

When using live migration, the same considerations apply to timeouts for the migrate_to operation.

VNC port auto-assignment caveats

Bug reports have indicated that libvirt domains may "race" for available VNC ports when configured to auto-select them. This can lead to unexpected results when starting multiple VirtualDomain instances in parallel. This issue was reported when running on libvirt 0.7.6, but is likely to be present in later versions as well.

If you are affected by this issue, several possible work-arounds exist: