DOKK / manpages / debian 11 / resource-agents / ocf_heartbeat_aliyun-vpc-move-ip.7.en
OCF_HEARTBEAT_ALIYUN(7) OCF resource agents OCF_HEARTBEAT_ALIYUN(7)

ocf_heartbeat_aliyun-vpc-move-ip - Move IP within a VPC of the Aliyun ECS

aliyun-vpc-move-ip [start | stop | monitor | meta-data | validate-all]

Resource Agent to move IP addresses within a VPC of the Aliyun Webservices ECS by changing an entry in an specific routing table

aliyuncli

Path to command line tools for Aliyun

(optional, string, default "detect")

address

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. vtb-...

(required, string, no default)

interface

Name of the network interface, i.e. eth0

(required, string, default "eth0")

endpoint

An endpoint is the service entry of an Alibaba Cloud service, i.e. vpc.cn-beijing.aliyuncs.com

(optional, string, default "vpc.aliyuncs.com")

profile

Valid Aliyun CLI profile name (see 'aliyun cli configure'). See https://www.alibabacloud.com/help/zh/product/29991.htm for more information about aliyun cli.

(optional, string, default "default")

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

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.

The following is an example configuration for a aliyun-vpc-move-ip resource using the crm(8) shell:

primitive p_aliyun-vpc-move-ip ocf:heartbeat:aliyun-vpc-move-ip \

params \
address=string \
routing_table=string \
interface="eth0" \
op monitor depth="0" timeout="30s" interval="30s"

The following is an example configuration for a aliyun-vpc-move-ip resource using pcs(8)

pcs resource create p_aliyun-vpc-move-ip ocf:heartbeat:aliyun-vpc-move-ip \

address=string \
routing_table=string \
interface="eth0" \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="30s"

http://clusterlabs.org/

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

12/14/2020 resource-agents UNKNOWN