OCF_HEARTBEAT_AWS-V(7) | OCF resource agents | OCF_HEARTBEAT_AWS-V(7) |
NAME
ocf_heartbeat_aws-vpc-move-ip - Move IP within a VPC of the AWS EC2
SYNOPSIS
aws-vpc-move-ip [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Resource Agent to move IP addresses within a VPC of the Amazon Webservices EC2 by changing an entry in an specific routing table
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.
SUPPORTED PARAMETERS
awscli
(optional, string, default "/usr/bin/aws")
auth_type
(optional, string, default "key")
profile
(optional, string, default "default")
region
(optional, string, no default)
ip
(required, string, no default)
address
(optional, string, no default)
routing_table
(required, string, no default)
routing_table_role
(optional, string, no default)
interface
(required, string, default "eth0")
iflabel
The kernel allows alphanumeric labels up to a maximum length of 15 characters including the interface name and colon (e.g. eth0:foobar1234)
(optional, string, no default)
monapi
(optional, boolean, default false)
lookup_type
(optional, string, default "InstanceId")
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
validate-all
meta-data
EXAMPLE CRM SHELL
The following is an example configuration for a aws-vpc-move-ip resource using the crm(8) shell:
primitive p_aws-vpc-move-ip ocf:heartbeat:aws-vpc-move-ip \ params \ ip=string \ routing_table=string \ interface="eth0" \ op monitor depth="0" timeout="30s" interval="60s"
EXAMPLE PCS
The following is an example configuration for a aws-vpc-move-ip resource using pcs(8)
pcs resource create p_aws-vpc-move-ip ocf:heartbeat:aws-vpc-move-ip \ ip=string \ routing_table=string \ interface="eth0" \ op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="60s"
SEE ALSO
http://clusterlabs.org/
AUTHOR
ClusterLabs contributors (see the resource agent source for information about individual authors)
11/10/2024 | resource-agents 4.16.0-1 |