OCF_HEARTBEAT_OCIVIP(7) | OCF resource agents | OCF_HEARTBEAT_OCIVIP(7) |
ocf_heartbeat_ocivip - OCI Secondary Private IP Address for Compute instances Resource Agent
ocivip [start | stop | monitor | migrate_to | migrate_from | meta-data | validate-all]
Resource Agent for OCI Compute instance Secondary Private IP Addresses.
It manages OCI Secondary Private IP Addresses for Compute instances with oci cli.
See https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm for more information about oci cli.
Prerequisites:
- OCI CLI installed (https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/climanualinst.htm)
- jq installed
- dynamic group with a policy attacched
- the policy must have this statement: allow dynamic-group GROUP_NAME to use virtual-network-family in compartment id COMPARTMENT_ID
- a reserved secondary private IP address for Compute Instances high availability
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.
ocicli
(optional, string, default "/usr/local/bin/oci")
secondary_private_ip
(unique, required, string, no default)
cidr_netmask
(optional, integer, default 24)
interface_alias
(optional, integer, default 0)
api_delay
(optional, integer, default 3)
This resource agent supports the following actions (operations):
start
stop
monitor
migrate_to
migrate_from
meta-data
validate
validate-all
The following is an example configuration for a ocivip resource using the crm(8) shell:
primitive p_ocivip ocf:heartbeat:ocivip \
params \
secondary_private_ip=string \
meta allow-migrate="true" \
op monitor timeout="30s" interval="20s" depth="0"
The following is an example configuration for a ocivip resource using pcs(8)
pcs resource create p_ocivip ocf:heartbeat:ocivip \
secondary_private_ip=string \
op monitor timeout="30s" interval="20s" OCF_CHECK_LEVEL="0"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |