'\" t .\" Title: ocf_heartbeat_nfsserver .\" Author: Linux-HA contributors (see the resource agent source for information about individual authors) .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 03/09/2014 .\" Manual: OCF resource agents .\" Source: resource-agents UNKNOWN .\" Language: English .\" .TH "OCF_HEARTBEAT_NFSSER" "7" "03/09/2014" "resource-agents UNKNOWN" "OCF resource agents" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ocf_heartbeat_nfsserver \- Manages an NFS server .SH "SYNOPSIS" .HP \w'\fBnfsserver\fR\ 'u \fBnfsserver\fR [start | stop | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP Nfsserver helps one 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\&. .SH "SUPPORTED PARAMETERS" .PP \fBnfs_init_script\fR .RS 4 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\&. (optional, string, default /etc/init\&.d/nfsserver) .RE .PP \fBnfs_notify_cmd\fR .RS 4 The tool to send out NSM reboot notification\&. 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\&. (optional, string, default /sbin/sm\-notify) .RE .PP \fBnfs_shared_infodir\fR .RS 4 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\&. (required, string, no default) .RE .PP \fBnfs_ip\fR .RS 4 The floating IP address used to access the nfs service (required, string, no default) .RE .SH "SUPPORTED ACTIONS" .PP This resource agent supports the following actions (operations): .PP \fBstart\fR .RS 4 Starts the resource\&. Suggested minimum timeout: 40\&. .RE .PP \fBstop\fR .RS 4 Stops the resource\&. Suggested minimum timeout: 20s\&. .RE .PP \fBmonitor\fR .RS 4 Performs a detailed status check\&. Suggested minimum timeout: 20s\&. Suggested interval: 10\&. .RE .PP \fBmeta\-data\fR .RS 4 Retrieves resource agent metadata (internal use only)\&. Suggested minimum timeout: 5\&. .RE .PP \fBvalidate\-all\fR .RS 4 Performs a validation of the resource configuration\&. Suggested minimum timeout: 30\&. .RE .SH "EXAMPLE" .PP The following is an example configuration for a nfsserver resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_nfsserver ocf:heartbeat:nfsserver \e params \e nfs_shared_infodir=\fIstring\fR \e nfs_ip=\fIstring\fR \e op monitor depth="0" timeout="20s" interval="10" .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%http://www.linux-ha.org/wiki/nfsserver_(resource_agent)\fR\m[] .SH "AUTHOR" .PP \fBLinux\-HA contributors (see the resource agent source for information about individual authors)\fR