Difference between revisions of "2 Server Redundant Solution"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 8: Line 8:
** When S1 fails - S2 sees that and after 10s (default) will take main IP, e.g. will start to serve calls, it is done automatically
** When S1 fails - S2 sees that and after 10s (default) will take main IP, e.g. will start to serve calls, it is done automatically
** When S1 is back up - S2 returns main IP to S1 and system starts to function in normal work flow (done automatically).
** When S1 is back up - S2 returns main IP to S1 and system starts to function in normal work flow (done automatically).
* VPN is necessary between servers if they are not on the same LAN
* '''VPN''' is necessary between servers if they are not on the same LAN

Revision as of 15:26, 19 January 2010

2serverredundant withlinuxha.png


  • Both servers (S1 and S2) are identical.
  • Both of them have two network interfaces - one for Main IP which is visible from outside, and one for local IP for interconnection (heartbeat monitoring, MySQL Replication)
  • DB are synchronized over MySQL Replication
  • LinuxHA heartbeat monitors servers, e.g.
    • When S1 fails - S2 sees that and after 10s (default) will take main IP, e.g. will start to serve calls, it is done automatically
    • When S1 is back up - S2 returns main IP to S1 and system starts to function in normal work flow (done automatically).
  • VPN is necessary between servers if they are not on the same LAN