1OCF_HEARTBEAT_GCP-V(7)        OCF resource agents       OCF_HEARTBEAT_GCP-V(7)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

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

SUPPORTED PARAMETERS

18       alias_ip
19           IP range to be added including CIDR netmask (e.g., 192.168.0.1/32)
20
21           (unique, required, string, no default)
22
23       alias_range_name
24           Subnet name for the Alias IP
25
26           (optional, string, no default)
27
28       hostlist
29           List of hosts in the cluster, separated by spaces
30
31           (optional, string, no default)
32
33       project
34           Project ID of the instance. It can be useful to set this attribute
35           if the instance is in a shared service project. Otherwise, the
36           agent should be able to determine the project ID automatically.
37
38           (optional, string, default "default")
39
40       serviceaccount
41           Path to Service account JSON file
42
43           (optional, string, no default)
44
45       stackdriver_logging
46           If enabled (set to true), IP failover logs will be posted to
47           stackdriver logging
48
49           (optional, boolean, default false)
50

SUPPORTED ACTIONS

52       This resource agent supports the following actions (operations):
53
54       start
55           Starts the resource. Suggested minimum timeout: 300s.
56
57       stop
58           Stops the resource. Suggested minimum timeout: 15s.
59
60       monitor
61           Performs a detailed status check. Suggested minimum timeout: 15s.
62           Suggested interval: 60s.
63
64       meta-data
65           Retrieves resource agent metadata (internal use only). Suggested
66           minimum timeout: 15s.
67
68       validate-all
69           Performs a validation of the resource configuration. Suggested
70           minimum timeout: 15s.
71

EXAMPLE CRM SHELL

73       The following is an example configuration for a gcp-vpc-move-vip
74       resource using the crm(8) shell:
75
76           primitive p_gcp-vpc-move-vip ocf:heartbeat:gcp-vpc-move-vip \
77             params \
78               alias_ip=string \
79             op monitor timeout="15s" interval="60s" depth="0"
80

EXAMPLE PCS

82       The following is an example configuration for a gcp-vpc-move-vip
83       resource using pcs(8)
84
85           pcs resource create p_gcp-vpc-move-vip ocf:heartbeat:gcp-vpc-move-vip \
86             alias_ip=string \
87             op monitor timeout="15s" interval="60s" OCF_CHECK_LEVEL="0"
88

SEE ALSO

90       http://clusterlabs.org/
91

AUTHOR

93       ClusterLabs contributors (see the resource agent source for information
94       about individual authors)
95
96
97
98resource-agents UNKNOWN           01/25/2023            OCF_HEARTBEAT_GCP-V(7)
Impressum