summaryrefslogtreecommitdiffstats
path: root/sampleApp/sdnc.cluster
diff options
context:
space:
mode:
authorTschaen, Brendan (bptschaen) <bt054f@att.com>2018-05-25 16:01:18 -0400
committerTschaen, Brendan (bptschaen) <bt054f@att.com>2018-05-25 16:01:18 -0400
commit4adfe22e6cc067dea88f6468efb74c3208e909bb (patch)
tree6e3a81c6b7b440f17a887583672d3b3602003da2 /sampleApp/sdnc.cluster
parent660d3c95610fd80aef58e5c9637971efe5af22b9 (diff)
Initial code commit
Change-Id: I9e82864d57a0633aeb6e0107084a80ab926bede8 Issue-ID: MUSIC-77 Signed-off-by: Tschaen, Brendan (bt054f) <bt054f@att.com> Signed-off-by: Tschaen, Brendan (bptschaen) <bt054f@att.com>
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"