git.samba.org
/
autocluster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9869b4f
)
scripts: Stop redirecting output of onnode command
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 21 Aug 2012 02:11:27 +0000
(12:11 +1000)
committer
Amitay Isaacs
<amitay@gmail.com>
Tue, 21 Aug 2012 02:11:27 +0000
(12:11 +1000)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
base/all/root/scripts/setup_cluster.sh
patch
|
blob
|
history
diff --git
a/base/all/root/scripts/setup_cluster.sh
b/base/all/root/scripts/setup_cluster.sh
index 74a108cea659e390acc686b1f2f42c53705b3e5d..5294de45b45a3394839a0377d0ac5f8af7269f74 100755
(executable)
--- a/
base/all/root/scripts/setup_cluster.sh
+++ b/
base/all/root/scripts/setup_cluster.sh
@@
-93,14
+93,14
@@
case "$auth_type" in
esac
echo "Restarting ctdb"
-onnode -p all "service ctdb restart
> /dev/null
"
+onnode -p all "service ctdb restart"
# let's hit this with a big hammer...
for i in $(seq 1 5) ; do
echo "Waiting until healthy"
wait_until_healthy 60 && break
echo "Nope, restart ctdb..."
- onnode -p all "service ctdb restart
> /dev/null
"
+ onnode -p all "service ctdb restart"
done
echo "Waiting for cluster to become healthy"