Can anyone provide a guide on how to mirror an existing VPS to a different host? The ideal setup would be like this:
Linux VPS at Host 1 [Master]
Linux VPS at Host 2 [Slave]
All requests go to the Master, which provides sshd, httpd, ftpd, and mail services. This server is replicated to the Slave VPS on Host 2 and kept synchronized. (rsync?)
If/When Master server/host goes down, all requests automatically get routed to the Slave VPS at Host 2 and when Master VPS at Host 1 is back up, the Slave updates the Master with files/content/db's which have changed and requests start going to the Master VPS again at Host 1.
The slave acts as a backup machine which is also the fail-over system.
I know that some hosts are now offering Mirrored VPS's, however I would like to place them at different hosts, which to me seems a much more secure, reliable and robust mirrored setup.
In all likelyhood I would be doing this on a CentOS Linux box, so instructions for that distro would be most appreciated. Anyone know of a good HOWTO or guide for this?
Thanks to everyone on WHT who provide such excellent stickies as "Secure a VPS" which is probably the first thing any VPS newbie should delve into! You provide a valuable service to the community and you *are* appreciated!!