OCF_HEARTBEAT_AWS-V(7)
π OCF_HEARTBEAT_AWS-V(7) β ocf_heartbeat_aws-vpc-route53, bestie edition π
okay so this is the manual page for ocf_heartbeat_aws-vpc-route53, and yes that name is a mouthful, but it's literally the icon we're covering today π
β¨ NAME β¨
ocf_heartbeat_aws-vpc-route53 β Update Route53 VPC record for AWS EC2 π¦
β¨ SYNOPSIS β¨
aws-vpc-route53 [start | stop | monitor | meta-data | validate-all]
β¨ DESCRIPTION β¨
So what it does π: it updates the Route53 record of Amazon Webservices EC2 by updating an entry in a hosted zone ID table. That's the whole vibe, and it ate.
Now, AWS instances will require policies which allow them to update Route53 ARecords π«Ά β here's the exact one, no cap:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1471878724000", "Effect": "Allow", "Action": [ "route53:ChangeResourceRecordSets", "route53:GetChange", "route53:ListResourceRecordSets", ], "Resource": [ "*" ] } ] }
πΈ Example Cluster Configuration πΈ
Use a configuration in crm configure edit which looks as follows, bestie. Replace hostedzoneid, fullname and profile with the appropriate values (yes, all three, don't skip any π):
primitive res_route53 ocf:heartbeat:aws-vpc-route53 params
hostedzoneid=EX4MPL3EX4MPL3 fullname=service.cloud.example.corp.
profile=cluster op start interval=0 timeout=180 op stop interval=0
timeout=180 op monitor interval=300 timeout=180 meta target-role=Started
β¨ SUPPORTED PARAMETERS β¨
lowkey the most important section, so pay attention π
awscliβ Path to command line tools for AWS. (optional, string, default"/usr/bin/aws")auth_typeβ Authentication type:"key"for AccessKey and SecretAccessKey set via"aws configure", or"role"to use AWS Policies. (optional, string, default"key")profileβ The name of the AWS CLI profile of the root account. This profile will have to use the"text"format for CLI output. The file/root/.aws/configshould have an entry which looks like:
[profile cluster] region = us-east-1 output = text
"cluster" is the name which has to be used in the cluster configuration. The region has to be the current one. The output has to be "text" β like, all three of those things, fr fr. (optional, string, default "default")
hostedzoneidβ Hosted zone ID of Route 53. This is the table of the Route 53 record. (required, string, no default β you GOTTA give this one π)fullnameβ The full name of the service which will host the IP address. Example:service.cloud.example.corp.Note: the trailing dot is important to Route53! β (required, string, no default)ipβ IP:local(default),publicor secondary private IP address (e.g.10.0.0.1).
A secondary private IP can be setup with the awsvip agent. (optional, string, default "local")
ttlβ Time to live for Route53 ARECORD. (optional, string, default"10")curl_retriesβ curl retries before failing. (optional, integer, default4)curl_sleepβ curl sleep between tries. (optional, integer, default3)
β¨ SUPPORTED ACTIONS β¨
This resource agent supports the following actions (operations) β collect them all, they're iconic π§:
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:180s. Suggested interval:300s.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 aws-vpc-route53 resource using the crm(8) shell:
primitive p_aws-vpc-route53 ocf:heartbeat:aws-vpc-route53 \
params \
hostedzoneid=string \
fullname=string \
op monitor depth="0" timeout="180s" interval="300s"
β¨ EXAMPLE PCS β¨
The following is an example configuration for a aws-vpc-route53 resource using pcs(8):
pcs resource create p_aws-vpc-route53 ocf:heartbeat:aws-vpc-route53 \
hostedzoneid=string \
fullname=string \
op monitor OCF_CHECK_LEVEL="0" timeout="180s" interval="300s"
β¨ SEE ALSO β¨
http://clusterlabs.org/ β go peek, iykyk π
β¨ AUTHOR β¨
ClusterLabs contributors (see the resource agent source for information about individual authors) π
π that's the whole page, bestie β go forth and update those records β¨
okay and literally the last thing, the cute sign-off: this whole thing comes courtesy of resource-agents version UNKNOWN, dated 10/01/2026. slay ππ¦π
π¦ 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