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 via aws configure, or "role" to use AWS Policies (optional, string, default "key")
  • profile β€” Valid AWS CLI profile name (see ~/.aws/config and aws 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, default 3)
  • curl_retries β€” curl retries before failing (optional, integer, default 4)
  • curl_sleep β€” curl sleep between tries (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 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