diff options
author | Ronnie Sahlberg <sahlberg@ronnie> | 2007-09-07 12:20:48 +1000 |
---|---|---|
committer | Ronnie Sahlberg <sahlberg@ronnie> | 2007-09-07 12:20:48 +1000 |
commit | d0dd8df75298da91145a78d4b692551e91331cee (patch) | |
tree | f9b0fbaaac57042af078e287e11acc4513c995ac /ctdb/web | |
parent | eb7a15730e3529a9b22be4dcd5a9854d139d2309 (diff) | |
download | samba-d0dd8df75298da91145a78d4b692551e91331cee.tar.gz |
update web nfs with the new NFS_HOSTNAME variable we need to be able to
stat notify using the correct hostname
(This used to be ctdb commit 1498e33e48a4654e02b74a00ef7473fed3225d69)
Diffstat (limited to 'ctdb/web')
-rw-r--r-- | ctdb/web/nfs.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ctdb/web/nfs.html b/ctdb/web/nfs.html index a732370c2f2..4634e67dcee 100644 --- a/ctdb/web/nfs.html +++ b/ctdb/web/nfs.html @@ -41,14 +41,15 @@ This file should look something like : <pre> CTDB_MANAGES_NFS=yes NFS_TICKLE_SHARED_DIRECTORY=/gpfs0/nfs-tickles + STATD_SHARED_DIRECTORY=/gpfs0/nfs-state + NFS_HOSTNAME=ctdb STATD_PORT=595 STATD_OUTGOING_PORT=596 MOUNTD_PORT=597 RQUOTAD_PORT=598 LOCKD_TCPPORT=599 LOCKD_UDPPORT=599 - STATD_SHARED_DIRECTORY=/gpfs0/nfs-state - STATD_HOSTNAME="ctdb -H /etc/ctdb/statd-callout -p 97" + STATD_HOSTNAME="$NFS_HOSTNAME -H /etc/ctdb/statd-callout -p 97" </pre> The CTDB_MANAGES_NFS line tells the events scripts that CTDB is to manage startup and shutdown of the NFS and NFSLOCK services.<br> @@ -75,6 +76,11 @@ The reason to do this is to improve the speed at which a client will detect that the tcp connection for NFS needs to be reestablished and to speed up recovery in the client.<br> +NFS_HOSTNAME is the dns name for the ctdb cluster and which is used when clients map nfs shares. This name must be in DNS and resolve back into the public ip addresses of the cluster.<br> +Always use the same name here as you use for the samba hostname. + + + <h2>chkconfig</h2> Since CTDB will manage and start/stop/restart the nfs and the nfslock services, you must disable them using chkconfig. |