DOKK / manpages / debian 10 / resource-agents / ocf_heartbeat_gcp-pd-move.7.en
OCF_HEARTBEAT_GCP-P(7) OCF resource agents OCF_HEARTBEAT_GCP-P(7)

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

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

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.

disk_name

The name of the GCP disk.

(unique, required, string, no default)

disk_scope

Disk scope

(unique, required, string, default "regional")

disk_csek_file

Path to a Customer-Supplied Encryption Key (CSEK) key file

(unique, optional, string, no default)

mode

Attachment mode (rw, ro)

(unique, optional, string, default "rw")

device_name

An optional name that indicates the disk name the guest operating system will see.

(optional, boolean, default false)

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 300s.

stop

Stops the resource. Suggested minimum timeout: 15s.

monitor

Performs a detailed status check. Suggested minimum timeout: 15s. Suggested interval: 10s.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.

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 \
disk_scope="regional" \
op monitor timeout="15s" interval="10s" depth="0"

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 \
disk_scope="regional" \
op monitor timeout="15s" interval="10s" depth="0"

http://clusterlabs.org/

ClusterLabs contributors (see the resource agent source for information about individual authors)

06/27/2020 resource-agents UNKNOWN