#1  
Old 2nd March 2012, 20:49
mkreder mkreder is offline
Junior Member
 
Join Date: Mar 2012
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default Issues with dummy slave

Hi,

I've installed ispconfig 3.0.4.3 as master/slave in Centos 6.2. Master was installed first, I've created a couple of DBs, sites, and DNS records.
Then, I installed the same version on the slave node, gave it the master root mysql password and the installation went just fine.
In both cases, I used root mysql users as indicated in the HowTo during the setup.
Now the issues is that if I create a site in the master panel but using the slave server as server, it does nothing, it appears in the master panel as green but it never shows up in the slave server nginx configuration.
If I log into the slave web panel, I don't see this site create neither any other site in the master it looks like an empty server.
If I go to the DNS sync tool in the slave server it doesn't find any record to replicate.
Looks like the slave server is not pulling the information from the master mysql database.

I tried to find errors in /var/log/ispconfig/ispconfig.log but they are empty..
any idea?
Reply With Quote
Sponsored Links
  #2  
Old 3rd March 2012, 11:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Are there any errors in ISPConfig's Monitor module?

It works fine for me (also with nginx, but on Debian Wheezy).

Did you disable SELinux?
__________________
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
  #3  
Old 5th March 2012, 20:53
mkreder mkreder is offline
Junior Member
 
Join Date: Mar 2012
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Nothing in the monitor module:

For the slave node it shows:

Code:
CPU Info (Server : lglass.example.com)

Data from: ????-??-?? ??:??

No data about the CPU available at the moment. Please check again later.
from both the master and the slave. And nothing in the "system-log"

SELinux is disabled for me, I running both the master and slave in OpenVZ containers.
Reply With Quote
  #4  
Old 5th March 2012, 22:14
mkreder mkreder is offline
Junior Member
 
Join Date: Mar 2012
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Issue looks solved by following this:
http://www.howtoforge.com/forums/arc...p/t-48659.html

the key was: "Login to ispconfig on the master server, go to the server settings of the slave server and select that this server is a slave server of the master. The settings is named "is mirror of". This new setting will only affect new created domains or updated domains."

Haven't find that before
Reply With Quote
  #5  
Old 5th March 2012, 22:49
mkreder mkreder is offline
Junior Member
 
Join Date: Mar 2012
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Well, this is a little bit confusing... Now I cannot create sites in the slave because it is mirrored with the master.. But I don't get the mirror concept here.

The mirror only mirrors the conf? not the database or the web directory?
In some forums it says that the master/slave conf was to manage all the servers from 1 sigle panel. I would like this feature more that mirroring just the conf.

I just need DNS mirroring...

Could someone clarify please?
Reply With Quote
  #6  
Old 6th March 2012, 10:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
 
Default

Quote:
The mirror only mirrors the conf? not the database or the web directory?
Yes. For the mirroring configuration that includes the database and the web directory see mirro setup guides.

http://www.howtoforge.com/installing...th-ispconfig-3

Quote:
In some forums it says that the master/slave conf was to manage all the servers from 1 sigle panel. I would like this feature more that mirroring just the conf.
Thats the default and you disabled it by switching to mirror mode. So to get the faeture back, disable mirroring under system > server services.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig, master, nginx, replication, slave

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
Master failed -promote slave Toucan General 5 17th May 2011 09:31
MySQL Database Replication Problem black_magik HOWTO-Related Questions 11 6th July 2010 14:16
Slave DNS issues wadoo99 Installation/Configuration 6 24th October 2007 21:11
SuSE as master DNS server and Centos as slave DNS server... sthompson Server Operation 3 17th September 2006 13:24
Pri & Slave DNS HOWTO (FC4) ppettigrew Suggest HOWTO 0 1st April 2006 15:35


All times are GMT +2. The time now is 11:08.


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