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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 5th July 2010, 20: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

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

Reply With Quote
Sponsored Links
Old 5th July 2010, 22:14
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

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
Old 5th July 2010, 23:25
studiox studiox is offline
Junior Member
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

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
Old 5th July 2010, 23:57
damir damir is offline
Senior Member
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts

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

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:
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


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 08:49
cyrus-sasl won't install on my ubuntu9.04 kameelperdza Installation/Configuration 1 13th June 2009 11:28
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 10:29
SuSE Enterprise, PHP binary coming with ISPConfig does not work properly NexusTechUS Installation/Configuration 1 26th April 2007 21:03
installing Perl module GD - ran into problems Ovidiu Installation/Configuration 6 19th September 2006 10:32

All times are GMT +2. The time now is 10:33.

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