table of contents
- buster 1:4.2.0-2+deb10u2
- buster-backports 1:4.7.0-1~bpo10+1
- testing 1:4.7.0-1
- unstable 1:4.7.0-1
OCF_HEARTBEAT_EXPORT(7) | OCF resource agents | OCF_HEARTBEAT_EXPORT(7) |
NAME¶
ocf_heartbeat_exportfs - Manages NFS exportsSYNOPSIS¶
exportfs [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
Exportfs uses the exportfs command to add/remove nfs exports. It does NOT manage the nfs server daemon. It depends on Linux specific NFS implementation details, so is considered not portable to other platforms yet.SUPPORTED PARAMETERS¶
clientspec(required, string, no default)
options
(optional, string, no default)
directory
(required, string, no default)
fsid
(unique, required, string, no default)
unlock_on_stop
Note: Unlocking is only possible on Linux systems where /proc/fs/nfsd/unlock_filesystem exists and is writable. If your system does not fulfill this requirement (on account of having an nonrecent kernel, for example), you may set this parameter to 0 to silence the associated warning.
(optional, boolean, default 1)
wait_for_leasetime_on_stop
(optional, boolean, default 0)
rmtab_backup
To disable rmtab backups, set this parameter to the special string "none".
(optional, string, default ".rmtab")
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 exportfs resource using the crm(8) shell:primitive p_exportfs ocf:heartbeat:exportfs \ params \ clientspec=string \ directory=string \ fsid=string \ op monitor depth="0" timeout="20s" interval="10s"
EXAMPLE PCS¶
The following is an example configuration for a exportfs resource using pcs(8)pcs resource create p_exportfs ocf:heartbeat:exportfs \ clientspec=string \ directory=string \ fsid=string \ op monitor depth="0" timeout="20s" interval="10s"
SEE ALSO¶
http://clusterlabs.org/AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)06/27/2020 | resource-agents UNKNOWN |