#1  
Old 7th June 2012, 21:47
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ColdDoT
Default Mirror troubles

Hello,

I've setted up a server mirror like this.
server1 (master):
install ispconfig like normal
mysql db dbispconfig
mysql user dbispconfig
set server2 as mirror of server1

server2 (mirror):
install isconfig expert and join in the remote mysql
mysql db dbispconfig2
mysql db dbisconfig2


All existing sites are not visible on server2, but as soon as i update something or create a site they are visible on server2 (interface). But the problem is that users (users perhaps directorys) are not created on server2.

Is this correct behavior or do i need to change more things for a mirror setup?

What more info do you need to figure out where this comes from?
~ColdDoT
__________________
2B or not 2B (a pro)
Reply With Quote
Sponsored Links
  #2  
Old 8th June 2012, 10:32
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
Default

Quote:
Is this correct behavior or do i need to change more things for a mirror setup?
Thats the correct behaviour as only changes get mirrored. For that reason, a mirror has to be setup before the first site is added to the master server. I guess you added the mirror server to a master that already contained websites?

What you can do is to use the resync tool avaialble since ispconfig 3.0.4.5 to resync all sites.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th June 2012, 10:34
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ColdDoT
Default

Yep that is true.

But when i create a new site on the master, the mirror picks it up and shows it in the interface. But the web user is not created.

(I also synched /etc/groups, /etc/passwd, /etc/shadow)

//EDIT
Resync tools works wonders, only to bad it does not have the email resync
__________________
2B or not 2B (a pro)

Last edited by ColdDoT; 8th June 2012 at 10:38.
Reply With Quote
  #4  
Old 8th June 2012, 10:38
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
 
Default

Quote:
But when i create a new site on the master, the mirror picks it up and shows it in the interface. But the web user is not created.
Then there must be a problem with the passwd and group files, copying them from one server to another can work but may also fail if the second server is not a exact clone of the first one.

See ispconfig faq on how to debug the creation of websites. Another problem can occur if the webs on both servers were not initially created with the connect web id tu userid option as this can cause that userid's differ on master and slave.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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


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


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