1OCF_HEARTBEAT_ALIYUN(7)       OCF resource agents      OCF_HEARTBEAT_ALIYUN(7)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

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

SUPPORTED PARAMETERS

17       aliyuncli
18           Path to command line tools for Aliyun
19
20           (optional, string, default "detect")
21
22       address
23           VPC private IP address
24
25           (required, string, no default)
26
27       routing_table
28           Name of the routing table, where the route for the IP address
29           should be changed, i.e. vtb-...
30
31           (required, string, no default)
32
33       interface
34           Name of the network interface, i.e. eth0
35
36           (required, string, default "eth0")
37
38       endpoint
39           An endpoint is the service entry of an Alibaba Cloud service, i.e.
40           vpc.cn-beijing.aliyuncs.com
41
42           (optional, string, default "vpc.aliyuncs.com")
43
44       profile
45           Valid Aliyun CLI profile name (see 'aliyun cli configure'). See
46           https://www.alibabacloud.com/help/zh/product/29991.htm for more
47           information about aliyun cli.
48
49           (optional, string, default "default")
50

SUPPORTED ACTIONS

52       This resource agent supports the following actions (operations):
53
54       start
55           Starts the resource. Suggested minimum timeout: 180s.
56
57       stop
58           Stops the resource. Suggested minimum timeout: 180s.
59
60       monitor
61           Performs a detailed status check. Suggested minimum timeout: 30s.
62           Suggested interval: 30s.
63
64       validate-all
65           Performs a validation of the resource configuration. Suggested
66           minimum timeout: 5s.
67
68       meta-data
69           Retrieves resource agent metadata (internal use only). Suggested
70           minimum timeout: 5s.
71

EXAMPLE CRM SHELL

73       The following is an example configuration for a aliyun-vpc-move-ip
74       resource using the crm(8) shell:
75
76           primitive p_aliyun-vpc-move-ip ocf:heartbeat:aliyun-vpc-move-ip \
77             params \
78               address=string \
79               routing_table=string \
80               interface="eth0" \
81             op monitor depth="0" timeout="30s" interval="30s"
82

EXAMPLE PCS

84       The following is an example configuration for a aliyun-vpc-move-ip
85       resource using pcs(8)
86
87           pcs resource create p_aliyun-vpc-move-ip ocf:heartbeat:aliyun-vpc-move-ip \
88             address=string \
89             routing_table=string \
90             interface="eth0" \
91             op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="30s"
92

SEE ALSO

94       http://clusterlabs.org/
95

AUTHOR

97       ClusterLabs contributors (see the resource agent source for information
98       about individual authors)
99
100
101
102resource-agents UNKNOWN           01/25/2023           OCF_HEARTBEAT_ALIYUN(7)
Impressum