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

NAME

6       ocf_heartbeat_nfsserver - Manages an NFS server
7

SYNOPSIS

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

DESCRIPTION

12       Nfsserver helps to manage the Linux nfs server as a failover-able
13       resource in Linux-HA. It depends on Linux specific NFS implementation
14       details, so is considered not portable to other platforms yet.
15

SUPPORTED PARAMETERS

17       nfs_init_script
18           The default init script shipped with the Linux distro. The
19           nfsserver resource agent offloads the start/stop/monitor work to
20           the init script because the procedure to start/stop/monitor
21           nfsserver varies on different Linux distro.  (optional, string,
22           default /etc/init.d/nfsserver)
23
24       nfs_notify_cmd
25           The tool to send out NSM reboot notification. Failover of nfsserver
26           can be considered as rebooting to different machines. The nfsserver
27           resource agent use this command to notify all clients about the
28           happening of failover.  (optional, string, default /sbin/sm-notify)
29
30       nfs_shared_infodir
31           The nfsserver resource agent will save nfs related information in
32           this specific directory. And this directory must be able to
33           fail-over before nfsserver itself.  (required, string, no default)
34
35       nfs_ip
36           The floating IP address used to access the nfs service (required,
37           string, no default)
38

SUPPORTED ACTIONS

40       This resource agent supports the following actions (operations):
41
42       start
43           Starts the resource. Suggested minimum timeout: 40.
44
45       stop
46           Stops the resource. Suggested minimum timeout: 20s.
47
48       monitor
49           Performs a detailed status check. Suggested minimum timeout: 20s.
50           Suggested interval: 10.
51
52       meta-data
53           Retrieves resource agent metadata (internal use only). Suggested
54           minimum timeout: 5.
55
56       validate-all
57           Performs a validation of the resource configuration. Suggested
58           minimum timeout: 30.
59

EXAMPLE

61       The following is an example configuration for a nfsserver resource
62       using the crm(8) shell:
63
64           primitive p_nfsserver ocf:heartbeat:nfsserver \
65             params \
66               nfs_shared_infodir=string \
67               nfs_ip=string \
68             op monitor depth="0" timeout="20s" interval="10"
69

SEE ALSO

71       http://www.linux-ha.org/wiki/nfsserver_(resource_agent)
72

AUTHOR

74       Linux-HA contributors (see the resource agent source for information
75       about individual authors)
76
77
78
79resource-agents 3.9.2             07/08/2011           OCF_HEARTBEAT_NFSSER(7)
Impressum