ocf:nfsserver — Manages an NFS server
[OCF_RESKEY_nfs_init_script=string] [OCF_RESKEY_nfs_notify_cmd=string] [OCF_RESKEY_nfs_notify_foreground=boolean] [OCF_RESKEY_nfs_smnotify_retry_time=integer] [OCF_RESKEY_nfs_shared_infodir=string] [OCF_RESKEY_nfs_ip=string] [OCF_RESKEY_rpcpipefs_dir=string] nfsserver [start | stop | monitor | meta-data | validate-all]
Nfsserver helps to manage the Linux nfs server as a failover-able resource in Linux-HA. It depends on Linux specific NFS implementation details, so is considered not portable to other platforms yet.
The default init script shipped with the Linux distro. The nfsserver resource agent offloads the start/stop/monitor work to the init script because the procedure to start/stop/monitor nfsserver varies on different Linux distro.
The tool to send out NSM reboot notification, it should be either sm-notify or rpc.statd. Failover of nfsserver can be considered as rebooting to different machines. The nfsserver resource agent use this command to notify all clients about the happening of failover.
Keeps the notify tool attached to its controlling terminal and running in the foreground.
Specifies the length of sm-notify retry time, in minutes, to continue retrying notifications to unresponsive hosts. If this option is not specified, sm-notify attempts to send notifications for 15 minutes. Specifying a value of 0 causes sm-notify to continue sending notifications to unresponsive peers until it is manually killed.
The nfsserver resource agent will save nfs related information in this specific directory. And this directory must be able to fail-over before nfsserver itself.
Comma separated list of floating IP addresses used to access the nfs service
The mount point for the sunrpc file system. Default is /var/lib/nfs/rpc_pipefs . This script will mount(bind) nfs_shared_infodir on /var/lib/nfs/ (can not be changed), and this script will mount the sunrpc file system on /var/lib/nfs/rpc_pipefs (default, can be changed by this parameter). If you want to move only rpc_pipefs/ (e.g. to keep rpc_pipefs/ local) from default , please set this value.