Section 7 · Overviews and conventions
ocf_heartbeat_aliyun-vpc-move-ip.7
Package: resource-agents-cloud
OCF_HEARTBEAT_ALIYUN
NAME
SYNOPSIS
DESCRIPTION
SUPPORTED PARAMETERS
SUPPORTED ACTIONS
EXAMPLE CRM SHELL
EXAMPLE PCS
SEE ALSO
AUTHOR
NAME
ocf_heartbeat_aliyun-vpc-move-ip − 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 “/usr/lib/fence−agents/support/aliyun/aliyun−cli/aliyun”)
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)