table of contents
OCF_HEARTBEAT_OPENST(7) | OCF resource agents | OCF_HEARTBEAT_OPENST(7) |
NAME¶
ocf_heartbeat_openstack-virtual-ip - Move a virtual IP
SYNOPSIS¶
openstack-virtual-ip [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
Resource Agent to move a virtual IP address from an instance to another one by adding an allowed-address pair associated with an instance port. It relies on attributes given by openstack-info resource agent (openstack_ports, openstack_id attributes). The attribute called "openstack_virtual_ip" is updated.
SUPPORTED PARAMETERS¶
cloud
(optional, string, no default)
openrc
(optional, string, no default)
auth_url
(optional, string, no default)
username
(optional, string, no default)
password
(optional, string, no default)
project_name
(optional, string, no default)
user_domain_name
(optional, string, default "Default")
project_domain_name
(optional, string, default "Default")
openstackcli
(optional, string, default "/usr/bin/openstack")
insecure
(optional, boolean, default false)
ip
(required, string, no default)
subnet_id
(required, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a openstack-virtual-ip resource using the crm(8) shell:
primitive p_openstack-virtual-ip ocf:heartbeat:openstack-virtual-ip \
params \
ip=string \
subnet_id=string \
op monitor depth="0" timeout="180s" interval="60s"
EXAMPLE PCS¶
The following is an example configuration for a openstack-virtual-ip resource using pcs(8)
pcs resource create p_openstack-virtual-ip ocf:heartbeat:openstack-virtual-ip \
ip=string \
subnet_id=string \
op monitor OCF_CHECK_LEVEL="0" timeout="180s" interval="60s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
10/05/2024 | resource-agents 4.15.1-2 |