summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepti Kulkarni <deepti@vyatta.com>2012-02-28 03:36:10 -0800
committerDeepti Kulkarni <deepti@vyatta.com>2012-02-28 03:36:10 -0800
commitb44357936e9c6e12ee19341df6bb5a20af5c9a92 (patch)
treee24d8bdeb081ad22e6818c070e9924ab1d70c29c
parente11dce7a1c64e257b159274950332a267df617cd (diff)
downloadvyatta-cluster-b44357936e9c6e12ee19341df6bb5a20af5c9a92.tar.gz
vyatta-cluster-b44357936e9c6e12ee19341df6bb5a20af5c9a92.zip
fix 3238 - Removed auto-failback configuration warning.
-rw-r--r--templates-op/force/cluster/active/node.def5
1 files changed, 0 insertions, 5 deletions
diff --git a/templates-op/force/cluster/active/node.def b/templates-op/force/cluster/active/node.def
index fc91fc7..79ae5d0 100644
--- a/templates-op/force/cluster/active/node.def
+++ b/templates-op/force/cluster/active/node.def
@@ -1,12 +1,7 @@
help: Attempt to take over cluster resources and become the active node
run: local -a grp ;
- local -a params ;
eval "grp=($(cli-shell-api listActiveNodes cluster group))"
if [ -n "$grp" ]; then
- params=($(cli-shell-api returnActiveValue cluster group $grp auto-failback))
- if [ "$params" == "true" ]; then
- echo "Warning: Auto-failback is configured."
- fi
sudo /usr/share/heartbeat/hb_takeover >&/dev/null
echo "Requesting to take over cluster resources"
else