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

NAME

6       ocf_heartbeat_gcp-pd-move - Attach/Detach a persistent disk on current
7       GCP instance
8

SYNOPSIS

10       gcp-pd-move [start | stop | monitor | meta-data]
11

DESCRIPTION

13       Resource Agent that can attach or detach a regional/zonal disk on
14       current GCP instance. Requirements :
15
16       - Disk has to be properly created as regional/zonal in order to be used
17       correctly.
18

SUPPORTED PARAMETERS

20       disk_name
21           The name of the GCP disk.
22
23           (unique, required, string, no default)
24
25       disk_scope
26           Disk scope
27
28           (optional, string, default "detect")
29
30       disk_csek_file
31           Path to a Customer-Supplied Encryption Key (CSEK) key file
32
33           (optional, string, no default)
34
35       mode
36           Attachment mode (READ_WRITE, READ_ONLY)
37
38           (optional, string, default "READ_WRITE")
39
40       device_name
41           An optional name that indicates the disk name the guest operating
42           system will see.
43
44           (optional, boolean, default false)
45
46       stackdriver_logging
47           Use stackdriver_logging output to global resource (yes, true,
48           enabled)
49
50           (optional, string, default "no")
51

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

70       The following is an example configuration for a gcp-pd-move resource
71       using the crm(8) shell:
72
73           primitive p_gcp-pd-move ocf:heartbeat:gcp-pd-move \
74             params \
75               disk_name=string \
76             op monitor timeout="15s" interval="10s" depth="0"
77

EXAMPLE PCS

79       The following is an example configuration for a gcp-pd-move resource
80       using pcs(8)
81
82           pcs resource create p_gcp-pd-move ocf:heartbeat:gcp-pd-move \
83             disk_name=string \
84             op monitor timeout="15s" interval="10s" OCF_CHECK_LEVEL="0"
85

SEE ALSO

87       http://clusterlabs.org/
88

AUTHOR

90       ClusterLabs contributors (see the resource agent source for information
91       about individual authors)
92
93
94
95resource-agents UNKNOWN           11/03/2021            OCF_HEARTBEAT_GCP-P(7)
Impressum