ocf_heartbeat_aliyun-vpc-move-ip man page

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

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")

profile

Valid Aliyun CLI profile name (see 'aliyuncli configure').

See https://www.alibabacloud.com/help/doc-detail/43039.htm?spm=a2c63.p38356.b99.16.38a914abRZtOU3 for more information about aliyuncli.

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

See Also

http://clusterlabs.org/

Author

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

Info

10/23/2019 resource-agents UNKNOWN OCF resource agents