Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th July 2010, 19:07
studiox studiox is offline
Junior Member
 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mirror of.. - Function

Hi,
First: I have been using ISPConfig the last four years (2x) and the upgrade to 3x was a BIG upgrade in a pleasant way

Now. I have been trying to figure out what the purpose of "mirror server" is. By reading different threads there its not obvious for me the purpose and I was hoping that someone could explain it a bit.

For example:

* Should it be seen as a copy of the ISP config DB?
* Should it be seen as a slave to DNS functions? (Transfer)
* Should it been seen as a "hot stand-by" to the http/mysql functions?
* Should it be considered as an slave to Mail functions (Alternative MX)

This would help me setup my infrastructure. My original planning included for example external DNS servers (not part of ISP config) as well as additional webservers (part of isp config)

I have been trying to replicate DNS zones on the "mirror server" without success. But i'm not sure how its handled in the background (rsync, xfer etc)

Any guidance would be helpful

Regards
//Anders
Reply With Quote
Sponsored Links
  #2  
Old 5th July 2010, 21:14
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,473
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

The "is mirror of" function does what its name say, it makes one server a mirror of another server. So this function can be used for all the scenarios that you listed above. It mirrors the configuration and not data so that 2 servers are configured identically.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th July 2010, 22:25
studiox studiox is offline
Junior Member
 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, that has of course already been obvious for me!

So, if the option mirrors the config but not the data how is the data transferred?
Reply With Quote
  #4  
Old 5th July 2010, 22:57
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

That is up to you to decide. Gluster, nfs or rsync. DNS part is handled by mysql mirror (Master/Slave).
Reply With Quote
  #5  
Old 6th July 2010, 16:05
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 Posts
 
Default

If you're like me and adding a slave mirror sometime after the master installation, I found it only writes changes to the mirror from that point on. That may explain why your dns zones aren't added to the slave.

On the master, edit a dns zone by changing the zone's admin email. Give it a couple of minutes and the zone should also be written to the slave.

The same is also true for sites. Make a change to the site such as quota and you'll then find the vhost will be added to the mirror.

As explained in other posts, this doesn't copy your content to the slave. You find that only default index files to the mirror.

I used rsync to copy the content.

This tutorial works well:
http://www.howtoforge.com/mirroring_with_rsync
But be careful not to ask it to copy files it doesn't have rights for that don't exist. Change the example exclusions.
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
Need help setting up domainpop with postfix kameelperdza Installation/Configuration 6 15th June 2009 07:49
cyrus-sasl won't install on my ubuntu9.04 kameelperdza Installation/Configuration 1 13th June 2009 10:28
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
SuSE Enterprise, PHP binary coming with ISPConfig does not work properly NexusTechUS Installation/Configuration 1 26th April 2007 20:03
installing Perl module GD - ran into problems Ovidiu Installation/Configuration 6 19th September 2006 09:32


All times are GMT +2. The time now is 15:51.


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