OCF_HEARTBEAT_NFSSER - Online Linux Manual PageSection : 7
Updated : 03/25/2021
Source : resource-agents UNKNOWN
Note : OCF resource agents

NAMEocf_heartbeat_nfsserver − Manages an NFS server

SYNOPSISnfsserver [start | stop | monitor | meta−data | validate−all]

DESCRIPTIONNfsserver 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​.

SUPPORTED PARAMETERSnfs_init_script 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​. In the event that this option is not set, this agent will attempt to use an init script at this location, /etc/init​.d/nfsserver, or detect a systemd unit−file to use in the event that no init script is detected​. (optional, string, default "auto detected") nfs_no_notify Do not send reboot notifications to NFSv3 clients during server startup​. (optional, boolean, default false) nfs_notify_foreground Keeps the sm−notify attached to its controlling terminal and running in the foreground​. (optional, boolean, default false) nfs_smnotify_retry_time 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​. (optional, integer, no default) nfs_ip Comma separated list of floating IP addresses used to access the nfs service (optional, string, no default) nfs_shared_infodir 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​. (optional, string, no default) rpcpipefs_dir 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/ (cannot 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​. (optional, string, default "/var/lib/nfs/rpc_pipefs") nfsd_args Specifies what arguments to pass to the nfs daemon on startup​. View the rpc​.nfsd man page for information on what arguments are available​. Note that setting this value will override all settings placed in the local /etc/sysconfig/nfs file​. (optional, string, no default) lockd_udp_port The udp port lockd should listen on​. Note that setting this value will override all settings placed in the local /etc/sysconfig/nfs file​. (optional, integer, no default) lockd_tcp_port The tcp port lockd should listen on​. Note that setting this value will override all settings placed in the local /etc/sysconfig/nfs file​. (optional, integer, no default) statd_outgoing_port The source port number sm−notify uses when sending reboot notifications​. Note that setting this value will override all settings placed in the local /etc/sysconfig/nfs file​. (optional, integer, no default) statd_port The port number used for RPC listener sockets​. Note that setting this value will override all settings placed in the local /etc/sysconfig/nfs file​. (optional, integer, no default) mountd_port The port number used for rpc​.mountd listener sockets​. Note that setting this value will override all settings placed in the local /etc/sysconfig/nfs file​. (optional, integer, no default) rquotad_port The port number used for rpc​.rquotad​. Note that setting this value will override all settings placed in the local /etc/sysconfig/nfs file​. (optional, integer, no default)

SUPPORTED ACTIONSThis resource agent supports the following actions (operations): start Starts the resource​. Suggested minimum timeout: 40s​. stop Stops the resource​. Suggested minimum timeout: 20s​. monitor Performs a detailed status check​. Suggested minimum timeout: 20s​. Suggested interval: 10s​. meta−data Retrieves resource agent metadata (internal use only)​. Suggested minimum timeout: 5s​. validate−all Performs a validation of the resource configuration​. Suggested minimum timeout: 30s​.

EXAMPLE CRM SHELLThe following is an example configuration for a nfsserver resource using the crm(8) shell: primitive p_nfsserver ocf:heartbeat:nfsserver \ op monitor depth="0" timeout="20s" interval="10s"

EXAMPLE PCSThe following is an example configuration for a nfsserver resource using pcs(8) pcs resource create p_nfsserver ocf:heartbeat:nfsserver \ op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"

SEE ALSO­http://clusterlabs.org/

AUTHORClusterLabs contributors (see the resource agent source for information about individual authors)
0
Johanes Gumabo
Data Size   :   18,590 byte
man-ocf_heartbeat_nfsserver.7Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 258,490
Visitor ID   :     :  
Visitor IP   :   3.141.201.92   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.