[SCM] CTDB repository - branch 1.0.112 updated - ctdb-1.0.111-40-g883f8be
Ronnie Sahlberg
sahlberg at samba.org
Thu Feb 11 19:26:07 MST 2010
The branch, 1.0.112 has been updated
via 883f8befc27a9d66c9dc707edaf92edd69790c25 (commit)
from 9fa818afe0ccc1117a972a603b223f67c87eb00b (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=1.0.112
- Log -----------------------------------------------------------------
commit 883f8befc27a9d66c9dc707edaf92edd69790c25
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Fri Feb 12 13:19:57 2010 +1100
try to restart rpc-rquotad if it is not running
bz60317
-----------------------------------------------------------------------
Summary of changes:
config/events.d/60.nfs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/config/events.d/60.nfs b/config/events.d/60.nfs
index 1eca005..2115d46 100755
--- a/config/events.d/60.nfs
+++ b/config/events.d/60.nfs
@@ -103,6 +103,16 @@ case "$1" in
rpc.mountd $RPCMOUNTDOPTS &
exit 1
}
+ # rquotad needs special handling since it is sometimes not started
+ # correctly on RHEL5
+ # this is not a critical service so we dont flag the node as unhealthy
+ rpcinfo -u localhost 100011 1 > /dev/null || {
+ echo "ERROR: RQUOTAD is not running. Trying to restart it."
+ RPCRQUOTADOPTS=""
+ [ -n "$RQUOTAD_PORT" ] && RPCRQUOTADOPTS="$RPCRQUOTADOPTS -p $RQUOTAD_PORT"
+ killall -q -9 rpc.rquotad
+ rpc.rquotad $RPCRQUOTADOPTS &
+ }
;;
*)
--
CTDB repository
More information about the samba-cvs
mailing list