(Replication mode)
Scenario 1 : If the main-primary were to go down in replication mode.
Switching Main and Secondary Primary Servers
In the unforeseen event where the main-primary server goes down the second-primary will take over and become the primary server and ensure that the system still runs. Once we recover the main-primary server we can then restart all the services on the main-primary server, to do that run the following command.
...