In order to detect the current role of the local SDN-C site within the pair of sites, the 'sdnc.cluster' script can be used.
It is important for the operator to determine what role a site is playing so that they may know whether the site is currently handling incoming messaging.
On the Kubernetes master, run the script:
sdnc.cluster
ubuntu@k8s-s1-master:/dockerdata-nfs/cluster/script$ ./sdnc.cluster