OCF_HEARTBEAT_AWSEIP(7)
π NAME π
okay bestie, this is OCF_HEARTBEAT_AWSEIP(7) from the OCF resource agents crew β it's the manual for ocf_heartbeat_awseip, the Amazon AWS Elastic IP Address Resource Agent β¨
πΈ SYNOPSIS πΈ
awseip [start | stop | monitor | migrate_to | migrate_from | meta-data |
validate-all]
π DESCRIPTION π
Resource Agent for Amazon AWS Elastic IP Addresses. It manages AWS Elastic IP Addresses with awscli.
Credentials need to be set up by running aws configure, or by using AWS Policies.
See https://aws.amazon.com/cli/ for more information about awscli.
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 π
π SUPPORTED PARAMETERS π
awscliβ command line tools for aws services (optional,string, default"/usr/bin/aws")auth_typeβ Authentication type"key"for AccessKey and SecretAccessKey set viaaws configure, or"role"to use AWS Policies (optional,string, default"key")profileβ Valid AWS CLI profile name (see~/.aws/configandaws configure) (optional,string, default"default")elastic_ipβ reserved elastic ip for ec2 instance (unique,required,string, no default)allocation_idβ reserved allocation id for ec2 instance (unique,required,string, no default)private_ip_addressβ predefined private ip address for ec2 instance (unique,optional,string, no default)regionβ Region for AWS resource (required for role-based authentication) (optional,string, no default)api_delayβ a short delay between API calls, to avoid sending API too quick (optional,integer, default3)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):
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 an awseip resource using the crm(8) shell:
primitive p_awseip ocf:heartbeat:awseip \
params \
elastic_ip=string \
allocation_id=string \
meta allow-migrate="true" \
op monitor timeout="30s" interval="20s" depth="0"
π EXAMPLE PCS π
The following is an example configuration for an awseip resource using pcs(8):
pcs resource create p_awseip ocf:heartbeat:awseip \
elastic_ip=string \
allocation_id=string \
op monitor timeout="30s" interval="20s" OCF_CHECK_LEVEL="0"
π SEE ALSO π
http://clusterlabs.org/ β that's the see-also, bestie π
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors)
xoxo, your resource-agents bestie β source/version resource-agents UNKNOWN, dated 10/01/2026 π
π«Ά
π¦ 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