aboutsummaryrefslogtreecommitdiffstats
path: root/sampleApp/sdnc.cluster.standby
diff options
context:
space:
mode:
Diffstat (limited to 'sampleApp/sdnc.cluster.standby')
-rwxr-xr-xsampleApp/sdnc.cluster.standby10
1 files changed, 10 insertions, 0 deletions
diff --git a/sampleApp/sdnc.cluster.standby b/sampleApp/sdnc.cluster.standby
new file mode 100755
index 0000000..8ed0566
--- /dev/null
+++ b/sampleApp/sdnc.cluster.standby
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# SDNC Resiliency project
+# SHELL script to determine whether cluster is the active SDNC cluster or the GeoR Stanby SDNC cluster.
+# The status of the cluster is determined by examining the response data obtained from jolokia calls to the ODL nodes.
+# return values:
+# ACTIVE - cluster is the active cluster
+# STANDBY - cluster is the standby cluster
+#
+echo "STANDBY"