From 4adfe22e6cc067dea88f6468efb74c3208e909bb Mon Sep 17 00:00:00 2001 From: "Tschaen, Brendan (bptschaen)" Date: Fri, 25 May 2018 16:01:18 -0400 Subject: Initial code commit Change-Id: I9e82864d57a0633aeb6e0107084a80ab926bede8 Issue-ID: MUSIC-77 Signed-off-by: Tschaen, Brendan (bt054f) Signed-off-by: Tschaen, Brendan (bptschaen) --- sampleApp/sdnc.cluster.standby | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 sampleApp/sdnc.cluster.standby (limited to 'sampleApp/sdnc.cluster.standby') 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" -- cgit