logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

ClusterLabscontributors(seetheresourceagentsourceforinformationaboutindividualauthors) resource-agents 4.16.0-3ubuntu 06/25/2025 OCF_HEARTBEAT_GCP-V(7)

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

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"

Name

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

See Also

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.

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)

Synopsis

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

See Also