I would go with master / slave replication. If the master and slave can be on the same subnet, I would also add a new IP address to the wizard, changing clients to the new IP address. Then, when you are going to switch to a subordinate, simply:
Clients will simply connect to the new wizard without any reconfiguration of the client. Then you do the same when you return to the original master (if you switch back).
I recommend that the slave always be the equivalent hardware for its master, so that when it takes over for the master, you donβt find it so slow that it cannot keep up, and your whole system fails. If you do this, you only need to switch once (from the current master to the new master).
source share