ocf_heartbeat_aws-vpc-move-ip man page

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

Supported Parameters

awscli

Path to command line tools for AWS

(optional, string, default "/usr/bin/aws")

profile

Valid AWS CLI profile name (see ~/.aws/config and 'aws configure')

(optional, string, default "default")

ip

VPC private IP address

(required, string, no default)

routing_table

Name of the routing table, where the route for the IP address should be changed, i.e. rtb-...

(required, string, no default)

interface

Name of the network interface, i.e. eth0

(required, string, default "eth0")

monapi

Enable enhanced monitoring using AWS API calls to check route table entry

(optional, boolean, default false)

Supported Actions

This resource agent supports the following actions (operations):

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: 30s. Suggested interval: 60s.

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-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 depth="0" timeout="30s" interval="60s" 

See Also

http://clusterlabs.org/

Author

ClusterLabs contributors (see the resource agent source for information about individual authors)

Info

04/10/2018 resource-agents UNKNOWN OCF resource agents