Master and Slave ISP

Discussion in 'Installation/Configuration' started by scandal32, Jun 11, 2010.

  1. scandal32

    scandal32 New Member

    I'm going to configure ISPConfigon 2 sercers. Oen will be MASTER (email, domains, mysql etc.) and second will be SLAVE (different then MASTER email, domains, mysql). I know the database can be replicated. My question is if mail, ftp and other configuration can also replicate from MASTER to SLAVE and also SLAVE to MASTER. If ie SLAVE is broken - does MASTER takes over ie. email tasks from master) also if MASTER fails does SLAVE can work with his configuration and replicated configuration from MASTER.
     
  2. Toucan

    Toucan Member

    I've been working on something similar. You'll have to decide if your slave server is going to be an additional server in your setup, controlled by your one ISPconfig3 panel with it's own websites, email domains and sql or will it be an mirror or your master server.

    If it's going to be a mirror you again have to make some more decisions. Setting it up as a mirror is fairly simple. Take the expert set up, I'd advise giving it the same route password as the master and then on the master make a new mysql root user, but with the slave's host details and IP instead. This will then give you two servers wih the same configuration (same vhost files etc). But then content is handled separately, and when I say content I mean /var/www/ and databases etc. I've used rsync top copy content. I'm also using master slave database replication in mysql to copy certain databases across. There are other methods such as shared file systems on a SAN for example which is where both servers could access the content from, but for me that mean there would be another single point of failure... the SAN.
     
  3. Toucan

    Toucan Member

Share This Page