mirror of
https://github.com/samba-team/samba.git
synced 2025-01-18 06:04:06 +03:00
ctdb-scripts: Improve documentation
Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
5176b43da7
commit
7b24cc032e
@ -5,16 +5,18 @@
|
||||
|
||||
# statd must be configured to use this script as its high availability call-out.
|
||||
#
|
||||
# In most Linux versions this can be done using something like the following...
|
||||
# Modern NFS utils versions use /etc/nfs.conf:
|
||||
#
|
||||
# [statd]
|
||||
# name = mycluster
|
||||
# ha-callout = /etc/ctdb/statd-callout
|
||||
#
|
||||
# Older Linux versions may use something like the following...
|
||||
#
|
||||
# /etc/sysconfig/nfs (Red Hat) or /etc/default/nfs-common (Debian):
|
||||
# NFS_HOSTNAME=myhostname
|
||||
# NFS_HOSTNAME=mycluster
|
||||
# STATD_HOSTNAME="${NFS_HOSTNAME} -H /etc/ctdb/statd-callout"
|
||||
#
|
||||
# Newer Red Hat Linux variants instead use /etc/nfs.conf:
|
||||
# [statd]
|
||||
# name = myhostname
|
||||
# ha-callout = /etc/ctdb/statd-callout
|
||||
|
||||
[ -n "$CTDB_BASE" ] ||
|
||||
CTDB_BASE=$(d=$(dirname "$0") && cd -P "$d" && echo "$PWD")
|
||||
|
Loading…
x
Reference in New Issue
Block a user