Fail over website and database.
I'm interested in using postgresql replication. The primary data server and website on one site. And the slave data, and secondary webserver setup miles away.
If the primary shuts off and its dns is unreachable then the secondary dns takes over and points the website to it. and the slave replicator can automatically take over and start allowing writes to it.
Where I'm stuck is if the whole primary server doesn't go down how can the secondary take over.
I'm interested in using postgresql replication. The primary data server and website on one site. And the slave data, and secondary webserver setup miles away.
If the primary shuts off and its dns is unreachable then the secondary dns takes over and points the website to it. and the slave replicator can automatically take over and start allowing writes to it.
Where I'm stuck is if the whole primary server doesn't go down how can the secondary take over.