May 2018
Intermediate to advanced
576 pages
30h 25m
English
Switchover is a controlled switch from the master to the standby. If performed correctly, there will be no data loss. To be safe, simply shut down the master node cleanly, using either the smart or fast shutdown modes. Do not use the immediate mode shutdown because you will almost certainly lose data that way.
Failover is a forced switch from the master node to a standby because of the loss of the master. So, in that case, there is no action to perform on the master; we presume it is not there anymore.
Next, we need to promote one of the standby nodes to be the new master. A standby node can be triggered into becoming a master node in one of two ways: