OCF_HEARTBEAT_OCIVIP(7)
π NAME π
ocf_heartbeat_ocivip β the OCI Secondary Private IP Address for Compute instances Resource Agent, bestie. Yes it's a mouthful, no we're not shortening it. π«Ά
β¨ SYNOPSIS β¨
ocivip [start | stop | monitor | migrate_to | migrate_from | meta-data |
validate-all]
π¦ DESCRIPTION π¦
Okay so, this is the Resource Agent for OCI Compute instance Secondary Private IP Addresses. It handles those OCI Secondary Private IP Addresses for your Compute instances, and it does it all through oci cli. Periodt.
Wanna know more about oci cli? The docs live here, go look:
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm
πΈ Prerequisites (aka the vibe check you must pass) πΈ
- OCI CLI installed (
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/climanualinst.htm) jqinstalled- 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
Also, this resource agent may be configured for native migration if that's available in your cluster manager. For Pacemaker specifically, the allow-migrate="true" meta attribute is what enables native migration. iykyk π
π SUPPORTED PARAMETERS π
ocicliβ the OCI Command line interface (CLI) tools, literally the whole thing. (optional, string, default"/usr/local/bin/oci")secondary_private_ipβ reserved secondary private ip for compute instance. (unique, required, string, no default β yeah bestie you must bring this one, no skipping π)cidr_netmaskβ netmask for thesecondary_private_ip. (optional, integer, default24)interface_aliasβ numeric alias for the interface. (optional, integer, default0)api_delayβ a short delay between API calls, to avoid sending API too quick. She needs a little breather between calls, ok?? π§ (optional, integer, default3)
β SUPPORTED ACTIONS β
This resource agent supports the following actions (operations):
startβ Starts the resource. Suggested minimum timeout:30s.stopβ Stops the resource. Suggested minimum timeout:30s.monitorβ Performs a detailed status check. Suggested minimum timeout:30s. Suggested interval:20s.migrate_toβ Executes steps necessary for migrating the resource to the node. Suggested minimum timeout:30s.migrate_fromβ Executes steps necessary for migrating the resource away from the node. Suggested minimum timeout:30s.meta-dataβ Retrieves resource agent metadata (internal use only). Suggested minimum timeout:5s.validateβ Suggested minimum timeout:10s.validate-allβ Performs a validation of the resource configuration. Suggested minimum timeout:10s.
π EXAMPLE CRM SHELL π
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"
π EXAMPLE PCS π
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"
π SEE ALSO π
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). Shoutout to the whole squad, they ate and left no crumbs. π₯
okay that's the whole page, you're so welcome bestie π
β¨ this was resource-agents UNKNOWN, dated 04/08/2026, and yeah β OCF_HEARTBEAT_OCIVIP(7). go forth and cluster, mwah π«Άπ
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms