ocf_heartbeat_openstack-floating-ip - Man Page
Move a floating IP
Synopsis
openstack-floating-ip [start | stop | monitor | meta-data | validate-all]
Description
Resource Agent to move a floating IP address from an instance to another one. It relies on attributes given by openstack-info resource agent (openstack_ports, openstack_id attributes). The attribute called "openstack_floating_ip" is updated.
Supported Parameters
- openstackcli
Path to command line tools for openstack.
(optional, string, default "/usr/bin/openstack")
- openrc
Valid Openstack credentials as openrc file from api_access/openrc.
(required, string, no default)
- ip_id
Floating IP Identifier.
(required, string, no default)
- subnet_id
Subnet Identifier to use to attach the address.
(required, string, no default)
Supported Actions
This resource agent supports the following actions (operations):
- start
Starts the resource. Suggested minimum timeout: 180s.
- stop
Stops the resource. Suggested minimum timeout: 180s.
- monitor
Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 60s.
- validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5s.
- meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
Example CRM Shell
The following is an example configuration for a openstack-floating-ip resource using the crm(8) shell:
primitive p_openstack-floating-ip ocf:heartbeat:openstack-floating-ip \ params \ openrc=string \ ip_id=string \ subnet_id=string \ op monitor depth="0" timeout="30s" interval="60s"
Example PCS
The following is an example configuration for a openstack-floating-ip resource using pcs(8)
pcs resource create p_openstack-floating-ip ocf:heartbeat:openstack-floating-ip \ openrc=string \ ip_id=string \ subnet_id=string \ op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="60s"
See Also
Author
ClusterLabs contributors (see the resource agent source for information about individual authors)