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) 🌸

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 the secondary_private_ip. (optional, integer, default 24)
  • interface_alias β€” numeric alias for the interface. (optional, integer, default 0)
  • api_delay β€” a short delay between API calls, to avoid sending API too quick. She needs a little breather between calls, ok?? 🧚 (optional, integer, default 3)

⭐ 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 🌈

http://clusterlabs.org/


πŸ’œ 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