table of contents
OCF_HEARTBEAT_ZFS(7) | OCF resource agents | OCF_HEARTBEAT_ZFS(7) |
NAME¶
ocf_heartbeat_ZFS - Manages ZFS pools
SYNOPSIS¶
ZFS [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
This script manages ZFS pools It can import a ZFS pool or export it
SUPPORTED PARAMETERS¶
pool
(unique, required, string, no default)
importargs
(optional, string, no default)
importforce
(optional, boolean, default true)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a ZFS resource using the crm(8) shell:
primitive p_ZFS ocf:heartbeat:ZFS \
params \
pool=string \
op monitor depth="0" timeout="30s" interval="5s"
EXAMPLE PCS¶
The following is an example configuration for a ZFS resource using pcs(8)
pcs resource create p_ZFS ocf:heartbeat:ZFS \
pool=string \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="5s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
10/05/2024 | resource-agents 4.15.1-2 |