Apart from the Failover setup, which uses a single database and dual Application Server, we also support a failover with dual database and Application Server. Failover support requires you to configure Applications Manager Secondary (Standby server) and keep monitoring the Applications Manager Primary server.
In case of failure in the Primary server, the Standby server automatically starts monitoring the network. The transition is so quick and smooth that the end user does not feel the impact of the failure of the Primary server or the subsequent taking over by Standby. In parallel, the Standby server also triggers an email alert about the Primary's failure.
Once the Primary server is restored back to operation, the Standby server automatically goes back to standby mode. We use MySql’s built-in replication feature to sync the data from the primary to secondary database.
For steps to set up the failover with dual database, please refer this PDF.