#!/bin/ksh # @(#)83 1.9.1.4 src/avs/fs/mmfs/samples/nfscluster/nfsdefs.sample, mmfs, avs_rgpfs24, rgpfs24s006a 8/17/06 20:21:25 # ################################################################################ # nfsdefs.sample # # This is a sample for defining parameters for HA-NFS over GPFS # # Copy this sample file to /var/mmfs/etc/nfsdefs and uncomment the lines that # # specify parameters # ################################################################################ # Specify the root of the filesystem used for storing shared state required # for HA-NFS failover and failback. This is a system directory that SHOULD NOT # exported for NFS # This parameter is MANDATORY # SHARED_ROOT=/gpfs/gpfsA # Specify the IP addresses for the list of nodes belonging to the GPFS cluster # The format of this file is as follows: # GPFS_IP[:eth:mask] NFS_IP1 NFS_IP2 ... # See nfs.nodes.sample for a sample of this file. # This parameter is MANDATORY # NODELIST=/var/mmfs/etc/nfs.nodes # Specify the (virtual) DNS name used by clients to address the HA cluster. # For example, if the GPFS cluster includes the nodes with names "gpfs1", # "gpfs2", "gpfs3" and the virtual DNS name for the cluster is "gpfs", # the clients are allowed to NFS mount from "gpfs" instead of # individually from "gpfs1", etc. # This parameter is OPTIONAL # VIP=virtualname # Specify the location of the log file for HA-NFS debug messages # This parameter is OPTIONAL (default /var/mmfs/gen/mmfslog) # If specified, LOGFILE will be rotated on every (re)start (or recovery) of GPFS # LOGFILE=/tmp/ha-nfs.log # Specify the mechanism for communicating between GPFS nodes. Appropriate # configuration is required to ensure password-less access between the nodes. # This parameter is OPTIONAL (default rsh/rcp/xinetd) # GPFS_RSH=/usr/bin/ssh # GPFS_RCP=/usr/bin/scp # GPFS_RSHD=sshd # Specify whether monitoring of various daemons/processes required for correct # functioning of HA-NFS should be enabled. # This parameter is OPTIONAL (default 1) # MONITOR=0 # Specify whether extra messages should be logged for debugging. # This parameter is OPTIONAL (default 0, levels 1-2 allowed) # DEBUG=1 # SLES9 clients have a bug that prevents them from reclaiming NLM locks # correctly on node failures. If clients mount NFS shares using hostnames # (or IP addresses) OTHER THAN the virtual name (VIP above), enable the # parameter below. # This parameter is OPTIONAL (default 0) # NOTIFYFIX=1 # Autostart GPFS on boot # This parameter is OPTIONAL (default 0) # AUTOSTART=1 # Reboot node on failure # This parameter is OPTIONAL (default 0) # REBOOT=1 ################################################################################ # The following parameters are OPTIONAL and should only be changed if you know # # what you are doing :) # ################################################################################ # Specify the number of NFS server kernel threads to run # This parameter is OPTIONAL (default is 32) # NFSD_PROCS=32 # For HA-NFS to work correctly with GPFS cluster, the NLM daemons on the # different nodes MUST be bound to different port numbers. Specify the "base" # port number to be used to compute the NLM port number (Port no. is calculated # as NLM_PORT + node number). Choose a range of ports that are not used on any # node of the cluster. # This parameter is OPTIONAL (default is 10000) # NLM_PORT=10000 # For HA-NFS to work correctly with Automounter (AMD), the MOUNT daemons on the # different nodes MUST be bound to the same port numbers. # This parameter is OPTIONAL (no default) # MOUNTD_PORT="" # Specify the level of monitoring to be done on various subsystems required for # HA-NFS. # The following levels are defined: # 0 No monitoring to be done for this subsystem # 1 Monitor this subsystem and signal an alert when it is stopped # 2 Monitor this subsystem and restart it when it it stopped # (This may not be applicable for all services) # 3 Monitor this subsystem and fail the node when it is stopped # Specify the level for monitoring IP interfaces # MONITOR_NETWORK=3 # Specify the level for monitoring portmap service # MONITOR_PORTMAP=3 # Specify the level for monitoring nfsd service # MONITOR_NFSD=3 # Specify the level for monitoring mountd service # MONITOR_MOUNTD=3 # Specify the level for monitoring statd (NLM) service # MONITOR_STATD=3 # Specify the level for monitoring rsh/ssh service # MONITOR_SSHD=3 # Specify the frequency of at which subsystems are monitored in seconds (default 15) # MONITOR_INTERVAL=15