If there is any application failure and machine failure in the Master, the application automatically switches to the current Slave. The Slave server is now the Master server.
See also
Manage Servers
Disaster Recovery
Understand set of operations for Managing Failover
Forced Switch from Master to Slave
Manual Switch from Slave to Master
Modify Hot-Standby Switchover Delay