ocf_heartbeat_gcp-vpc-move-vip - Man Page

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

serviceaccount

Path to Service account JSON file

(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" OCF_CHECK_LEVEL="0"

See Also

http://clusterlabs.org/

Author

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

Info

07/26/2024 resource-agents UNKNOWN OCF resource agents