Web, Email & MySQL Database Cluster

Discussion in 'Installation/Configuration' started by xzibiz, Mar 30, 2012.

  1. xzibiz

    xzibiz New Member

    I've configured an web, email, mysql, dns cluster on debian 6.
    The servers I used is on to different computer centers.
    And my question is, with a domain like example.com -> server1
    But if server1 doesent respond, can you get redirected to server2 ?
    same goes for email, webmail ?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

  3. xzibiz

    xzibiz New Member

    Thx :)
    I've read alot about heartbeat, and keapalived.
    As far as I can see, it works under a LAN.

    GW(headrtbeat) --> switch --> WEB1 and WEB2


    It should work.
    But my two servers is on different datacenters. With sepperated WAN addresses.
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    You should consider one of the oter options like a loadbalancer which redirects the incoming http requests to the working servers only or you switch the dns records and use a very short ttl. The dns switching is the easiest method but may cause a short downtime depending on the caching time of the dns servers.
     

Share This Page