Questions related to XDCR & SDK

"Assume there is a Couchbase Cluster 1 (Main) and Cluster 2 (XDCR). I want to operate services on Cluster 2 when Cluster 1 becomes completely inoperable. How can this be handled?(insert, select, kv operation)

Assume that Cluster 2 is continuously receiving all data from Cluster 1 through XDCR."

I am using the Python SDK

are you using a micro services if yes its easy to handle on failure try the cluster2 ip and connect and once your cluster1 comes back online it will rebalance , this is what i am doing now