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           (unique, required, string, default "regional")
29
30       disk_csek_file
31           Path to a Customer-Supplied Encryption Key (CSEK) key file
32
33           (unique, optional, string, no default)
34
35       mode
36           Attachment mode (rw, ro)
37
38           (unique, optional, string, default "rw")
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

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: 10s.
58
59       meta-data
60           Retrieves resource agent metadata (internal use only). Suggested
61           minimum timeout: 5s.
62

EXAMPLE CRM SHELL

64       The following is an example configuration for a gcp-pd-move resource
65       using the crm(8) shell:
66
67           primitive p_gcp-pd-move ocf:heartbeat:gcp-pd-move \
68             params \
69               disk_name=string \
70               disk_scope="regional" \
71             op monitor timeout="15s" interval="10s" depth="0"
72

EXAMPLE PCS

74       The following is an example configuration for a gcp-pd-move resource
75       using pcs(8)
76
77           pcs resource create p_gcp-pd-move ocf:heartbeat:gcp-pd-move \
78             disk_name=string \
79             disk_scope="regional" \
80             op monitor timeout="15s" interval="10s" depth="0"
81

SEE ALSO

83       http://clusterlabs.org/
84

AUTHOR

86       ClusterLabs contributors (see the resource agent source for information
87       about individual authors)
88
89
90
91resource-agents UNKNOWN           03/15/2019            OCF_HEARTBEAT_GCP-P(7)
Impressum