table of contents
- buster-backports 1:4.7.0-1~bpo10+1
- testing 1:4.7.0-1
- unstable 1:4.7.0-1
OCF_HEARTBEAT_CRYPT(7) | OCF resource agents | OCF_HEARTBEAT_CRYPT(7) |
NAME¶
ocf_heartbeat_crypt - LUKS/crypt resource agentSYNOPSIS¶
crypt [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
This is a LUKS/crypt Resource Agent managing encrypted devices via cryptsetup(8). The agent imposes limitations on device types supported: luks, luks[1..N].SUPPORTED PARAMETERS¶
encrypted_devAlthough it can be defined as a block device path (e.g. /dev/sdh), the UUID should be preferred over the block device path to allow for the unique discovery of the crypt backing device given the volatile nature of /dev entries (e.g. /dev/sdh on one node may be /dev/sdg on another).
Only define as block device path if you know what you are doing.
(unique, required, string, no default)
crypt_dev
(unique, required, string, no default)
key_file
(required, string, no default)
crypt_type
This parameter affirms the encryption format as of the crypt metadata thus allowing for safety measures when starting the encrypted resource.
(required, string, no default)
force_stop
(optional, boolean, default false)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):start
stop
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a crypt resource using the crm(8) shell:primitive p_crypt ocf:heartbeat:crypt \ params \ encrypted_dev=string \ crypt_dev=string \ key_file=string \ crypt_type=string \ op monitor timeout="20s" interval="10s" depth="0"
EXAMPLE PCS¶
The following is an example configuration for a crypt resource using pcs(8)pcs resource create p_crypt ocf:heartbeat:crypt \ encrypted_dev=string \ crypt_dev=string \ key_file=string \ crypt_type=string \ op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
SEE ALSO¶
http://clusterlabs.org/AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)12/17/2020 | resource-agents UNKNOWN |