Hot swapping for Linux web/database servers
Posted
by Art
on Server Fault
See other posts from Server Fault
or by Art
Published on 2010-04-15T02:23:14Z
Indexed on
2010/04/15
2:33 UTC
Read the original article
Hit count: 325
Is there a way to perform the following under Linux:
- There are two web servers, main and backup
- There are two database servers (postgres), main and backup
- Web Servers are in sync with each other, ie. configuration/content/applications are the same
- Backup database is continuously synced up with main database.
- If either of main servers goes down, it's being replaced with backup one on the fly.
- When main database server goes back up, all the data from backup server is uploaded to it.
Essentially, I need the hot swapping working automatically with no or minimal user intervention, if possible. Recovery procedure is preferably automatic but can include some manual steps.
© Server Fault or respective owner