'\" t .\" Title: ocf_heartbeat_aliyun-vpc-move-ip .\" Author: ClusterLabs contributors (see the resource agent source for information about individual authors) .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 12/17/2020 .\" Manual: OCF resource agents .\" Source: resource-agents UNKNOWN .\" Language: English .\" .TH "OCF_HEARTBEAT_ALIYUN" "7" "12/17/2020" "resource-agents UNKNOWN" "OCF resource agents" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ocf_heartbeat_aliyun-vpc-move-ip \- Move IP within a VPC of the Aliyun ECS .SH "SYNOPSIS" .HP \w'\fBaliyun\-vpc\-move\-ip\fR\ 'u \fBaliyun\-vpc\-move\-ip\fR [start | stop | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP Resource Agent to move IP addresses within a VPC of the Aliyun Webservices ECS by changing an entry in an specific routing table .SH "SUPPORTED PARAMETERS" .PP \fBaliyuncli\fR .RS 4 Path to command line tools for Aliyun .sp (optional, string, default "detect") .RE .PP \fBaddress\fR .RS 4 VPC private IP address .sp (required, string, no default) .RE .PP \fBrouting_table\fR .RS 4 Name of the routing table, where the route for the IP address should be changed, i\&.e\&. vtb\-\&.\&.\&. .sp (required, string, no default) .RE .PP \fBinterface\fR .RS 4 Name of the network interface, i\&.e\&. eth0 .sp (required, string, default "eth0") .RE .PP \fBendpoint\fR .RS 4 An endpoint is the service entry of an Alibaba Cloud service, i\&.e\&. vpc\&.cn\-beijing\&.aliyuncs\&.com .sp (optional, string, default "vpc\&.aliyuncs\&.com") .RE .PP \fBprofile\fR .RS 4 Valid Aliyun CLI profile name (see \*(Aqaliyun cli configure\*(Aq)\&. See https://www\&.alibabacloud\&.com/help/zh/product/29991\&.htm for more information about aliyun cli\&. .sp (optional, string, default "default") .RE .SH "SUPPORTED ACTIONS" .PP This resource agent supports the following actions (operations): .PP \fBstart\fR .RS 4 Starts the resource\&. Suggested minimum timeout: 180s\&. .RE .PP \fBstop\fR .RS 4 Stops the resource\&. Suggested minimum timeout: 180s\&. .RE .PP \fBmonitor\fR .RS 4 Performs a detailed status check\&. Suggested minimum timeout: 30s\&. Suggested interval: 30s\&. .RE .PP \fBvalidate\-all\fR .RS 4 Performs a validation of the resource configuration\&. Suggested minimum timeout: 5s\&. .RE .PP \fBmeta\-data\fR .RS 4 Retrieves resource agent metadata (internal use only)\&. Suggested minimum timeout: 5s\&. .RE .SH "EXAMPLE CRM SHELL" .PP The following is an example configuration for a aliyun\-vpc\-move\-ip resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_aliyun\-vpc\-move\-ip ocf:heartbeat:aliyun\-vpc\-move\-ip \e params \e address=\fIstring\fR \e routing_table=\fIstring\fR \e interface="eth0" \e op monitor depth="0" timeout="30s" interval="30s" .fi .if n \{\ .RE .\} .SH "EXAMPLE PCS" .PP The following is an example configuration for a aliyun\-vpc\-move\-ip resource using \fBpcs\fR(8) .sp .if n \{\ .RS 4 .\} .nf pcs resource create p_aliyun\-vpc\-move\-ip ocf:heartbeat:aliyun\-vpc\-move\-ip \e address=\fIstring\fR \e routing_table=\fIstring\fR \e interface="eth0" \e op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="30s" .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%http://clusterlabs.org/\fR\m[] .SH "AUTHOR" .PP \fBClusterLabs contributors (see the resource agent source for information about individual authors)\fR