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       stackdriver_logging
41           If enabled (set to true), IP failover logs will be posted to
42           stackdriver logging
43
44           (optional, boolean, default false)
45

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

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

EXAMPLE PCS

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

SEE ALSO

85       http://clusterlabs.org/
86

AUTHOR

88       ClusterLabs contributors (see the resource agent source for information
89       about individual authors)
90
91
92
93resource-agents UNKNOWN           03/25/2021            OCF_HEARTBEAT_GCP-V(7)
Impressum