summaryrefslogtreecommitdiff
path: root/templates-op/force/cluster
diff options
context:
space:
mode:
Diffstat (limited to 'templates-op/force/cluster')
-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