table of contents
OCF_HEARTBEAT_AWSVIP(7) | OCF resource agents | OCF_HEARTBEAT_AWSVIP(7) |
NAME¶
ocf_heartbeat_awsvip - Amazon AWS Secondary Private IP Address Resource Agent
SYNOPSIS¶
awsvip [start | stop | monitor | migrate_to | migrate_from | meta-data | validate-all]
DESCRIPTION¶
Resource Agent for Amazon AWS Secondary Private IP Addresses.
It manages AWS Secondary Private IP Addresses with awscli.
Credentials needs to be setup 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
(optional, string, default "/usr/bin/aws")
auth_type
(optional, string, default "key")
profile
(optional, string, default "default")
secondary_private_ip
(unique, required, string, no default)
region
(optional, string, no default)
api_delay
(optional, integer, default 3)
curl_retries
(optional, integer, default 3)
curl_sleep
(optional, integer, default 1)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
migrate_to
migrate_from
meta-data
validate
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a awsvip resource using the crm(8) shell:
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¶
The following is an example configuration for a awsvip resource using pcs(8)
pcs resource create p_awsvip ocf:heartbeat:awsvip \
secondary_private_ip=string \
op monitor timeout="30s" interval="20s" OCF_CHECK_LEVEL="0"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
11/10/2024 | resource-agents 4.16.0-1 |