Scroll to navigation

OCF_HEARTBEAT_ALIYUN(7) OCF resource agents OCF_HEARTBEAT_ALIYUN(7)

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

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-ra configure').

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

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

03/19/2024 resource-agents UNKNOWN