1OCF_HEARTBEAT_ZFS(7)          OCF resource agents         OCF_HEARTBEAT_ZFS(7)
2
3
4

NAME

6       ocf_heartbeat_ZFS - Manages ZFS pools
7

SYNOPSIS

9       ZFS [start | stop | monitor | meta-data | validate-all]
10

DESCRIPTION

12       This script manages ZFS pools It can import a ZFS pool or export it
13

SUPPORTED PARAMETERS

15       pool
16           The name of the ZFS pool to manage, e.g. "tank".
17
18           (unique, required, string, no default)
19
20       importargs
21           Arguments to zpool import, e.g. "-d /dev/disk/by-id".
22
23           (optional, string, no default)
24
25       importforce
26           zpool import is given the -f option.
27
28           (unique, optional, boolean, default true)
29

SUPPORTED ACTIONS

31       This resource agent supports the following actions (operations):
32
33       start
34           Starts the resource. Suggested minimum timeout: 60s.
35
36       stop
37           Stops the resource. Suggested minimum timeout: 60s.
38
39       monitor
40           Performs a detailed status check. Suggested minimum timeout: 30s.
41           Suggested interval: 5s.
42
43       validate-all
44           Performs a validation of the resource configuration. Suggested
45           minimum timeout: 30s.
46
47       meta-data
48           Retrieves resource agent metadata (internal use only). Suggested
49           minimum timeout: 5s.
50

EXAMPLE CRM SHELL

52       The following is an example configuration for a ZFS resource using the
53       crm(8) shell:
54
55           primitive p_ZFS ocf:heartbeat:ZFS \
56             params \
57               pool=string \
58             op monitor depth="0" timeout="30s" interval="5s"
59

EXAMPLE PCS

61       The following is an example configuration for a ZFS resource using
62       pcs(8)
63
64           pcs resource create p_ZFS ocf:heartbeat:ZFS \
65             pool=string \
66             op monitor depth="0" timeout="30s" interval="5s"
67

SEE ALSO

69       http://clusterlabs.org/
70

AUTHOR

72       ClusterLabs contributors (see the resource agent source for information
73       about individual authors)
74
75
76
77resource-agents UNKNOWN           10/23/2019              OCF_HEARTBEAT_ZFS(7)
Impressum