source: gpfs_3.1_ker2.6.20/lpp/mmfs/samples/nfscluster/nfsdefs.sample @ 91

Last change on this file since 91 was 16, checked in by rock, 17 years ago
File size: 4.6 KB
Line 
1#!/bin/ksh
2# @(#)83  1.9.1.4  src/avs/fs/mmfs/samples/nfscluster/nfsdefs.sample, mmfs, avs_rgpfs24, rgpfs24s006a 8/17/06 20:21:25
3#
4
5################################################################################
6# nfsdefs.sample                                                               #
7# This is a sample for defining parameters for HA-NFS over GPFS                #
8# Copy this sample file to /var/mmfs/etc/nfsdefs and uncomment the lines that  #
9# specify parameters                                                           #
10################################################################################
11
12# Specify the root of the filesystem used for storing shared state required
13# for HA-NFS failover and failback. This is a system directory that SHOULD NOT
14# exported for NFS
15# This parameter is MANDATORY
16# SHARED_ROOT=/gpfs/gpfsA
17
18# Specify the IP addresses for the list of nodes belonging to the GPFS cluster
19# The format of this file is as follows:
20# GPFS_IP[:eth:mask] NFS_IP1 NFS_IP2 ...
21# See nfs.nodes.sample for a sample of this file.
22# This parameter is MANDATORY
23# NODELIST=/var/mmfs/etc/nfs.nodes
24
25# Specify the (virtual) DNS name used by clients to address the HA cluster.
26# For example, if the GPFS cluster includes the nodes with names "gpfs1",
27# "gpfs2", "gpfs3" and the virtual DNS name for the cluster is "gpfs",
28# the clients are allowed to NFS mount from "gpfs" instead of
29# individually from "gpfs1", etc.
30# This parameter is OPTIONAL
31# VIP=virtualname
32
33# Specify the location of the log file for HA-NFS debug messages
34# This parameter is OPTIONAL (default /var/mmfs/gen/mmfslog)
35# If specified, LOGFILE will be rotated on every (re)start (or recovery) of GPFS
36# LOGFILE=/tmp/ha-nfs.log
37
38# Specify the mechanism for communicating between GPFS nodes. Appropriate
39# configuration is required to ensure password-less access between the nodes.
40# This parameter is OPTIONAL (default rsh/rcp/xinetd)
41# GPFS_RSH=/usr/bin/ssh
42# GPFS_RCP=/usr/bin/scp
43# GPFS_RSHD=sshd
44
45# Specify whether monitoring of various daemons/processes required for correct
46# functioning of HA-NFS should be enabled.
47# This parameter is OPTIONAL (default 1)
48# MONITOR=0
49
50# Specify whether extra messages should be logged for debugging.
51# This parameter is OPTIONAL (default 0, levels 1-2 allowed)
52# DEBUG=1
53
54# SLES9 clients have a bug that prevents them from reclaiming NLM locks
55# correctly on node failures. If clients mount NFS shares using hostnames
56# (or IP addresses) OTHER THAN the virtual name (VIP above), enable the
57# parameter below.
58# This parameter is OPTIONAL (default 0)
59# NOTIFYFIX=1
60
61# Autostart GPFS on boot
62# This parameter is OPTIONAL (default 0)
63# AUTOSTART=1
64
65# Reboot node on failure
66# This parameter is OPTIONAL (default 0)
67# REBOOT=1
68
69################################################################################
70# The following parameters are OPTIONAL and should only be changed if you know #
71# what you are doing :)                                                        #
72################################################################################
73
74# Specify the number of NFS server kernel threads to run
75# This parameter is OPTIONAL (default is 32)
76# NFSD_PROCS=32
77
78# For HA-NFS to work correctly with GPFS cluster, the NLM daemons on the
79# different nodes MUST be bound to different port numbers. Specify the "base"
80# port number to be used to compute the NLM port number (Port no. is calculated
81# as NLM_PORT + node number). Choose a range of ports that are not used on any
82# node of the cluster.
83# This parameter is OPTIONAL (default is 10000)
84# NLM_PORT=10000
85
86# For HA-NFS to work correctly with Automounter (AMD), the MOUNT daemons on the
87# different nodes MUST be bound to the same port numbers.
88# This parameter is OPTIONAL (no default)
89# MOUNTD_PORT=""
90
91# Specify the level of monitoring to be done on various subsystems required for
92# HA-NFS.
93# The following levels are defined:
94# 0   No monitoring to be done for this subsystem
95# 1   Monitor this subsystem and signal an alert when it is stopped
96# 2   Monitor this subsystem and restart it when it it stopped
97# (This may not be applicable for all services)
98# 3   Monitor this subsystem and fail the node when it is stopped
99
100# Specify the level for monitoring IP interfaces
101# MONITOR_NETWORK=3
102# Specify the level for monitoring portmap service
103# MONITOR_PORTMAP=3
104# Specify the level for monitoring nfsd service
105# MONITOR_NFSD=3
106# Specify the level for monitoring mountd service
107# MONITOR_MOUNTD=3
108# Specify the level for monitoring statd (NLM) service
109# MONITOR_STATD=3
110# Specify the level for monitoring rsh/ssh service
111# MONITOR_SSHD=3
112
113# Specify the frequency of at which subsystems are monitored in seconds (default 15)
114# MONITOR_INTERVAL=15
Note: See TracBrowser for help on using the repository browser.