Scroll to navigation

OCF_HEARTBEAT_GCP-V(7) OCF resource agents OCF_HEARTBEAT_GCP-V(7)

NAME

ocf_heartbeat_gcp-vpc-move-vip - Floating IP Address or Range on Google Cloud Platform

SYNOPSIS

gcp-vpc-move-vip [start | stop | monitor | meta-data | validate-all]

DESCRIPTION

Floating IP Address or Range on Google Cloud Platform - Using Alias IP address functionality to attach a secondary IP range to a running instance

SUPPORTED PARAMETERS

alias_ip

IP range to be added including CIDR netmask (e.g., 192.168.0.1/32)

(unique, required, string, no default)

alias_range_name

Subnet name for the Alias IP

(optional, string, no default)

hostlist

List of hosts in the cluster, separated by spaces

(optional, string, no default)

project

Project ID of the instance. It can be useful to set this attribute if the instance is in a shared service project. Otherwise, the agent should be able to determine the project ID automatically.

(optional, string, default "default")

stackdriver_logging

If enabled (set to true), IP failover logs will be posted to stackdriver logging

(optional, boolean, default false)

SUPPORTED ACTIONS

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 300s.

stop

Stops the resource. Suggested minimum timeout: 15s.

monitor

Performs a detailed status check. Suggested minimum timeout: 15s. Suggested interval: 60s.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 15s.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 15s.

EXAMPLE CRM SHELL

The following is an example configuration for a gcp-vpc-move-vip resource using the crm(8) shell:

primitive p_gcp-vpc-move-vip ocf:heartbeat:gcp-vpc-move-vip \

params \
alias_ip=string \
op monitor timeout="15s" interval="60s" depth="0"

EXAMPLE PCS

The following is an example configuration for a gcp-vpc-move-vip resource using pcs(8)

pcs resource create p_gcp-vpc-move-vip ocf:heartbeat:gcp-vpc-move-vip \

alias_ip=string \
op monitor timeout="15s" interval="60s" depth="0"

SEE ALSO

http://clusterlabs.org/

AUTHOR

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

03/19/2024 resource-agents UNKNOWN