table of contents
OCF_HEARTBEAT_VIRTUA(7) | OCF resource agents | OCF_HEARTBEAT_VIRTUA(7) |
NAME¶
ocf_heartbeat_VirtualDomain - Manages virtual domains through the libvirt virtualization framework
SYNOPSIS¶
VirtualDomain [start | stop | status | monitor | migrate_to | migrate_from | meta-data | validate-all]
DESCRIPTION¶
Resource agent for a virtual domain (a.k.a. domU, virtual machine, virtual environment etc., depending on context) managed by libvirtd.
This resource agent may be configured for native migration if available in the cluster manager. For Pacemaker, the allow-migrate="true" meta attribute enables native migration.
SUPPORTED PARAMETERS¶
config
(unique, required, string, no default)
hypervisor
(optional, string, no default)
force_stop
(optional, boolean, default 0)
migration_transport
(optional, string, no default)
migration_network_suffix
Note: Be sure this composed host name is locally resolveable and the associated IP is reachable through the favored network.
See also the migrate_options parameter below.
(optional, string, no default)
migrate_options
Please refer to the libvirt documentation for details on guest migration.
(optional, string, no default)
monitor_scripts
Note: when monitor scripts are used, the start and migrate_from operations will complete only when all monitor scripts have completed successfully. Be sure to set the timeout of these operations to accommodate this delay.
(optional, string, no default)
autoset_utilization_cpu
(optional, boolean, default true)
autoset_utilization_hv_memory
(optional, boolean, default true)
migrateport
(optional, integer, no default)
snapshot
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
migrate_from
migrate_to
meta-data
validate-all
EXAMPLE¶
The following is an example configuration for a VirtualDomain resource using the crm(8) shell:
primitive p_VirtualDomain ocf:heartbeat:VirtualDomain \
params \
config=string \
meta allow-migrate="true" \
op monitor depth="0" timeout="30" interval="10"
SEE ALSO¶
AUTHOR¶
Linux-HA contributors (see the resource agent source for information about individual authors)
03/22/2017 | resource-agents 3.9.2 |