summaryrefslogtreecommitdiffstats
path: root/sampleApp/sdnc.cluster
diff options
context:
space:
mode:
Diffstat (limited to 'sampleApp/sdnc.cluster')
-rwxr-xr-xsampleApp/sdnc.cluster10
1 files changed, 10 insertions, 0 deletions
diff --git a/sampleApp/sdnc.cluster b/sampleApp/sdnc.cluster
new file mode 100755
index 0000000..1734f9a
--- /dev/null
+++ b/sampleApp/sdnc.cluster
@@ -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 "ACTIVE"