Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th November 2010, 04:09
Keith Keith is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default ISPConfig Mirror Server

I followed the document and manual for build up two Debian Mirror server with ISPConfig. Under my test with mirror, I found slave server does not pickup the backup role.

What I test ?
Bring down the master server and try to login to access slave server ISPConfig admin console. It does not found the page. I read the manual again, it is because "Install ISPConfig Web-Interface (y,n) [y]: <--n" does not install on slave server.

How can I active the slave server when master server go down ??

I want to ask that how many poeple install mirror server successful ?? Can anyone share the step or succesful story.
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2010, 00:30
Keith Keith is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default

All,
I was subscribed for download manual that hope for help to solve mirror issue. The manual is great but it really not work.

I hope someone to help me for build a good mirror ISPconfig Server.
Reply With Quote
  #3  
Old 18th November 2010, 14:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
Default

Can you check if the configuration files got copied to the slave?

Do you have a failover IP that switches to the slave when the master fails?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 18th November 2010, 16:32
Keith Keith is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default

Falko,
I am following 3.3 Mirror setup on Manual. I am no failover IP added. After I bring down the master server, I use slave server IP to access. But it is no response. I checked server does not listen 8080 port.

And other is it correct step to "rm -f /var/www/ispconfig" after secondary server installed ISPCONFIG ??
Reply With Quote
  #5  
Old 18th November 2010, 16:35
Keith Keith is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default

falko,
I forgot tell you that the mounted volume is in sync but the configuration files doesn not copy to the slave? I check monitor tools in master ISPCONFIG, it cannot get the information from slave. It only show running for slave server.
Reply With Quote
  #6  
Old 18th November 2010, 17:17
jtheed jtheed is offline
Member
 
Join Date: Jul 2007
Posts: 70
Thanks: 12
Thanked 3 Times in 3 Posts
Default

Keith brings up 2 very good questions.

1. Has ANYONE got this to work? I've tried unsuccessfully 5 times now :-(

2. How to you access ISPCONFIG if the MASTER Fails?

I would be just as Keith is, if my master fails, I want to be able to just switch my router to point to the new IP address of the slave while I repair/replace the master, or better yet, if the slave can become the master and then a new slave put in place.
Reply With Quote
  #7  
Old 18th November 2010, 20:38
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
Default

I think you have the idea of the mirror slightly wrong.

I do have a mirror working. And yes, I can log into the console on the mirror, but here is the really big but, you should never log into the console on the slave as if you make changes, the master will be out of sync. This is why the guide says not to install the console on the slave.

The idea of the mirror is supposed to act as a mirror server not mirror ispconfig console.

A better way to think of it is to think bigger. You have one ispconfig control panel server and a load of other servers being controlled as slaves. Some of those slaves may be mirrors of each other. If one goes down the other can stil be used if you adjust some ip settings.

If the control panel server goes down, never mind. The other slaves don't need a master to function.

If you want to make a backup master that's a different story.

When Falko talks about a failover ip there are tutorials to help you achieve a system where a second server will take over the services if the first fails.

Hope this helps - unless I have the concept all wrong myself! in which case we're all in trouble !
Reply With Quote
  #8  
Old 18th November 2010, 21:08
jtheed jtheed is offline
Member
 
Join Date: Jul 2007
Posts: 70
Thanks: 12
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by Toucan View Post
I think you have the idea of the mirror slightly wrong.

I do have a mirror working. And yes, I can log into the console on the mirror, but here is the really big but, you should never log into the console on the slave as if you make changes, the master will be out of sync. This is why the guide says not to install the console on the slave.
Ok, you have a mirror working . Did you install it as per the ispconfig 3.03 manual using Glusterfs and all other steps associated with it?
Reply With Quote
  #9  
Old 18th November 2010, 21:58
Keith Keith is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks jtheed and Toucan for reply on this post.

From Toucan replied that the mirror setting is only for service mirror. When the master goes down, smtp/pop3/ftp/webhost are still running on slave for service. Only ISPCONFIG console will not be available.

Is that right ??

If really want to mirror completely, how can I do ?? I really want to have secondary or mirror for ispconfig if master fail.
Reply With Quote
  #10  
Old 19th November 2010, 00:00
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
 
Wink

You got it - the mirror will replicate services, apache etc will keep running on the mirror. What it doesn't do is mirror the contents. Personally, I achieve this using rsync. It copies the content of sites to the slave, usually no more than a minute after it is written on the master.

This is a good guide:
http://howtoforge.com/mirroring_with_rsync

If you want the console on the mirror as backup, I just have previously just said yes when it asked to install it or not from what I remember. But as I said, there'll be no going back to the master if you make use of the slave console. I'd probably seek some other advice before going down this route as I'm not sure of any other implications.
Reply With Quote
The Following 2 Users Say Thank You to Toucan For This Useful Post:
jtheed (19th November 2010), vaio (26th November 2010)
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
ISPconfig setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 13:13
Install a Comodo InstantSSL Certificate for ISPconfig Apache, Postfix, Imap & Pop gwa7 Tips/Tricks/Mods 1 30th September 2009 18:08
Install a Comodo InstantSSL Certificate for ISPconfig Apache, Postfix, Imap & Pop gwa7 Installation/Configuration 0 10th April 2009 04:54
ISPConfig 2.3.1-dev released till General 0 8th May 2006 22:18
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 05:40.


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