#1  
Old 11th June 2010, 09:38
scandal32 scandal32 is offline
Member
 
Join Date: Mar 2009
Posts: 56
Thanks: 4
Thanked 0 Times in 0 Posts
Default Master and Slave ISP

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.
Reply With Quote
Sponsored Links
  #2  
Old 13th June 2010, 09:36
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 Posts
Default

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.
Reply With Quote
  #3  
Old 13th June 2010, 21:55
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 Posts
 
Default

If you're interested i a bit more detail, Till and Drew give some good advice in this thread:
http://howtoforge.com/forums/showthread.php?t=43909

When it comes to database replication, this guide here helps:
http://howtoforge.com/how-to-set-up-...on-ubuntu-9.10
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MyDNSConfig does not replicate master -> slave torusturtle General 4 5th November 2010 14:35
BIND as a slave for MyDNS master MooktaKiNG General 26 3rd July 2010 22:55
DNS views with Master and Slave servers howto guytools Server Operation 0 24th May 2009 00:19
offsite DNS (master and slave) solution jorizzzz Tips/Tricks/Mods 1 9th March 2009 16:04
problem with master slave nephish HOWTO-Related Questions 2 2nd May 2007 15:23


All times are GMT +2. The time now is 03:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.