Hi,
I need some clarification on replication fail-over steps.
Lets say i have replicaset of 3 nodes.
datacenter1:
1–>primary server with priorty 1(24 hours of oplog window)
2–>secondary server with priorty 1(24 hours of oplog window)
datacenter2:
3---->secondary server with priorty 0(24 hours of oplog window)
now lets say my datacenter1 went down(so both primary and secondary servers are not reachable due to network issue).
because of datacenter1 is not available and due to application critical we decided to make secondary server on datacenter2 to primary.
how do we do that? do i have to stop and start as standalone? or is there a way wihtout restarting database we can make are read wirte mode?
after 4 hours lets say datacenter1 is available, since we have 24 hours oplog how do we sync datacenter1 without doing initial sync?