Web, Email & MySQL Database Cluster question

Discussion in 'HOWTO-Related Questions' started by mattltm, Jun 22, 2013.

  1. mattltm

    mattltm Member

    Re: http://www.howtoforge.com/installin...tabase-cluster-on-debian-6.0-with-ispconfig-3

    Can someone explain to me how this works, as in the failover part?

    I understand that I will end up with 2 servers with the same content on both but I don't understand how the failover part will work.

    Ie, if the primary server goes down do I have to do a dns update to ensure that all websites are still served as the IP address of the secondary server will obviously be different to to primary one.

    Can someone give me an idiots guide as to how it all works together?
  2. anvarit

    anvarit New Member

    you will have 2 servers with the same content, this without a active failover (this means that are manual steps involved).

    For example web server 1 fails, if you use external dns / nameservers then you will have to modify the dns records off websites to the IP address of web server 2.
    If you use the NS / dns in ISPConfig, then you will have to modify the settings in ispconfig on web server 2.

    If you want an active failover you will need a load balancer before your webservers, the balancer will stop sending requests to one webserver of this one is down.

    summary, ispconfig only copies data to another server and if you are using a x tier setup then the slaves only read out the database of the master.
    ispconfig is not a failover solution
  3. mattltm

    mattltm Member

    Thats what I thought. Thanks for confirming. :)

Share This Page