ocf_heartbeat_aliyun-vpc-move-ip - Man Page
Move IP within a VPC of the Aliyun ECS
Synopsis
aliyun-vpc-move-ip [start | stop | monitor | meta-data | validate-all]
Description
Resource Agent to move IP addresses within a VPC of the Aliyun Webservices ECS by changing an entry in an specific routing table
Supported Parameters
- 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")
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: 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.
Example CRM Shell
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"
Example PCS
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"
See Also
Author
ClusterLabs contributors (see the resource agent source for information about individual authors)