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 on Google Cloud Platform

SYNOPSIS

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

DESCRIPTION

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

SUPPORTED PARAMETERS

alias_ip
IP Address to be added including CIDR. E.g 192.168.0.1/32

(unique, required, string, no default)

alias_range_name

Subnet name for the Alias IP

(unique, optional, string, no default)

hostlist

List of hosts in the cluster

(unique, optional, string, no 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)
06/27/2020 resource-agents UNKNOWN