...
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 and, therefore, whether it's desirable to invoke a manual fail-over.
On the Kubernetes master, run the script:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ubuntu@k8s-s1-master:/dockerdata-nfs/cluster/script$ ./sdnc.cluster active ubuntu@k8s-s1-master:/dockerdata-nfs/cluster/script$ |
If an operator has been made aware of a fault in, say, Site 1, they should run the sdnc.cluster command on Site 1 to determine whether Site 1 is 'active'. If the site is, instead, 'standby', there is no reason to perform a fail-over. The operator can proceed with resolving the fault on site 1.