I would like to mirror a Standalone server so when the standalone goes down for updating, fault recovery or even fails, that the mirror would take over showing web sites, emails , database, ftp and act as secondary DNS. New users should not make changes to the ispconfig until the main server comes back online but the web site,email and database should sync when the main server comes online. Any ideas or guides to do this ? Maybe someone can share there setup
Try reading this tutorial: https://www.howtoforge.com/tutorial...abase-cluster-on-debian-8.4-with-ispconfig-3/
This tutorial is outdated. See https://www.howtoforge.com/tutorial/ispconfig-multiserver-setup-debian-ubuntu/ for a up-to-date tutorial. Such failover setups have been discussed often, search around the forum for some threads. E.g. https://www.howtoforge.com/community/threads/multiserver-setup.86820/ and https://www.howtoforge.com/community/threads/using-lets-encrypt-with-mirror-setup.86402/
I have been going at it for a couple of days and i am really impressed with the tutorial, there where a few problems because it is a bit outdated but i managed to get through it. How do you manage the switch over to the mirror server do you use the DNS and both IP addresses per DNS entry ? example : A Record mail 10.0.0.1 A Record mail 10.0.0.2 Or would you use floating IP and assign it to the mirror server ?
Is there a way to automate adding the mirror IP , so when a client adds a record to DNS with the primary IP that an automatic record is inserted with the mirror IP and also for deleting and editing so that the client does not insert the Primary IP then no need to create duplicate record
I strongly recommend using the newer guide I shared in #3. For high-availability setups, see the other links I shared in #3.
Why would you recommend against this setup ? I have read through you guide quickly but i do not seem to get that there are no replication of the web server or database ? The guide ahrasis shared is there a newer guide ? I really like the fact of two servers, main and mirror.
The guide you used is oudated, the one I shared and wrote is up to date. You can easily add a mirror, it's already described how to do this for mailservers. I shared 2 links and a hint on where to find more on high-availablity setups.