summaryrefslogtreecommitdiffstats
path: root/sampleApp/sdnc.cluster
blob: 1734f9a8d65fea5dce45ff3393375fb3fba04d2c (plain)
1
2
3
4
5
6
7
8
9
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"