OCF_HEARTBEAT_EXPORT(7) OCF resource agents OCF_HEARTBEAT_EXPORT(7)
NAME
ocf_heartbeat_exportfs - Manages NFS exports
SYNOPSIS
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
The client specification allowing remote machines to mount the directory over NFS. (required, string, no default)
options
The options to pass to exportfs for the exported directory. (optional, string, no default)
directory
The directory which you wish to export using NFS. (required, string, no default)
fsid
The fsid option to pass to exportfs. This should be a unique positive integer, avoid 0 unless you understand its special status. This
value will override any fsid provided via the options parameter. (required, integer, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 40.
stop
Stops the resource. Suggested minimum timeout: 10.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 30.
EXAMPLE
The following is an example configuration for a exportfs resource using the crm(8) shell:
primitive example_exportfs ocf:heartbeat:exportfs
params
clientspec=string
directory=string
fsid=integer
op monitor depth="0" timeout="20" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/exportfs_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_EXPORT(7)