table of contents
OCF_HEARTBEAT_GCP-P(7) | OCF resource agents | OCF_HEARTBEAT_GCP-P(7) |
NAME¶
ocf_heartbeat_gcp-pd-move - Attach/Detach a persistent disk on current GCP instance
SYNOPSIS¶
gcp-pd-move [start | stop | monitor | meta-data]
DESCRIPTION¶
Resource Agent that can attach or detach a regional/zonal disk on current GCP instance. Requirements :
- Disk has to be properly created as regional/zonal in order to be used correctly.
SUPPORTED PARAMETERS¶
disk_name
(unique, required, string, no default)
disk_scope
(optional, string, default "detect")
disk_csek_file
(optional, string, no default)
mode
(optional, string, default "READ_WRITE")
device_name
(optional, boolean, default false)
stackdriver_logging
(optional, string, default "no")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a gcp-pd-move resource using the crm(8) shell:
primitive p_gcp-pd-move ocf:heartbeat:gcp-pd-move \
params \
disk_name=string \
op monitor timeout="15s" interval="10s" depth="0"
EXAMPLE PCS¶
The following is an example configuration for a gcp-pd-move resource using pcs(8)
pcs resource create p_gcp-pd-move ocf:heartbeat:gcp-pd-move \
disk_name=string \
op monitor timeout="15s" interval="10s" depth="0"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
03/19/2024 | resource-agents UNKNOWN |