OCF_HEARTBEAT_AWSVIP(7)
π¦ OCF_HEARTBEAT_AWSVIP(7) π¦
okay so this is a page from the OCF resource agents manual set, and it's literally all about ocf_heartbeat_awsvip β bestie, we're doing cloud networking today π
β¨ NAME β¨
ocf_heartbeat_awsvip β the Amazon AWS Secondary Private IP Address Resource Agent. yes. that's the whole name. it's giving "long title, big job" energy π
π SYNOPSIS π
awsvip [start | stop | monitor | migrate_to | migrate_from | meta-data |
validate-all]
that's the vibe check: you hand it one of those actions and it does the thing β¨
πΈ DESCRIPTION πΈ
okay so real talk β this is a Resource Agent for Amazon AWS Secondary Private IP Addresses. it handles all that with awscli, no cap.
your credentials gotta be set up first, bestie: either run "aws configure", or use AWS Policies. pick your fighter π«Ά
if you wanna know more about awscli (and honestly why wouldn't you), it's at https://aws.amazon.com/cli/ β go read, i'll wait π
also!! this resource agent can be configured for native migration if your cluster manager supports it. for Pacemaker specifically, the allow-migrate="true" meta attribute is what turns native migration on. iykyk π
π SUPPORTED PARAMETERS π
the full lineup, no skips, no skips, we're going through all of them:
awscliβ the command line tools for aws services. (optional, string, default"/usr/bin/aws")auth_typeβ the authentication type. set it to"key"for AccessKey and SecretAccessKey set via"aws configure", or"role"to use AWS Policies. (optional, string, default"key")profileβ a valid AWS CLI profile name, see~/.aws/configand'aws configure'. (optional, string, default"default")secondary_private_ipβ the reserved secondary private ip for your ec2 instance. this one's the main character, it's the only required one π (unique, required, string, no default)regionβ the Region for the AWS resource. heads up, it's required for role-based authentication. (optional, string, no default)api_delayβ a short delay between API calls, so you don't send those APIs off too quick, bestie, they need a second π« (optional, integer, default3)interfaceβ the Name of the network interface, i.e.eth0. (optional, string, no default)curl_retriesβ how many curl retries happen before failing. (optional, integer, default4)curl_sleepβ the curl sleep between tries. (optional, integer, default3)
π₯ SUPPORTED ACTIONS π₯
this resource agent supports the following actions (operations), and here is every single one with its timeout tea β
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 π
here's what it looks like when you set up an awsvip resource with the crm(8) shell β copy-paste queen behavior, honestly:
primitive p_awsvip ocf:heartbeat:awsvip \
params \
secondary_private_ip=string \
meta allow-migrate="true" \
op monitor timeout="30s" interval="20s" depth="0"
β EXAMPLE PCS β
and here's the same energy but with pcs(8) β pick whichever one your cluster's into π
pcs resource create p_awsvip ocf:heartbeat:awsvip \
secondary_private_ip=string \
op monitor timeout="30s" interval="20s" OCF_CHECK_LEVEL="0"
π§ SEE ALSO π§
http://clusterlabs.org/ β go say hi to the clusterlabs fam, they're icons π
π AUTHOR π
ClusterLabs contributors β and yeah, if you're nosy about which individual authors, the resource agent source has all that tea in it π
lowkey reminder bestie:secondary_private_ipis the one with no default and it's required & unique, so if things are being weird, start there π alsoregionis required for role-based auth β don't forget it, i'm begging π«Ά
and that's the whole page!! mwah π
this little gem came from resource-agents UNKNOWN, dated 10/01/2026, and it lives under the name OCF_HEARTBEAT_AWSVIP(7) β slay, go configure your secondary private IPs, you're gonna do amazing β¨πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms