#1  
Old 23rd July 2010, 19:01
minimalist minimalist is offline
Member
 
Join Date: Aug 2007
Location: Romania
Posts: 30
Thanks: 20
Thanked 3 Times in 3 Posts
Default Mirroring Servers

Is the mirror server option working? Also, can DNS be mirrored as in server2 becoming a secondary nameserver?

See the attached screenshots for my current (not working) setup. What could be wrong?
Attached Images
  
__________________
Proudly using ISPConfig on Debian servers.
Reply With Quote
Sponsored Links
  #2  
Old 23rd July 2010, 21:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,077
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Quote:
Is the mirror server option working?
Yes.

Quote:
Also, can DNS be mirrored as in server2 becoming a secondary nameserver?
Yes.

Quote:
What could be wrong?
Enable debugging and then check the ispconfig log file. Most likely you have a problem with mysql permissions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd July 2010, 23:25
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
Default

I don't know if it's worth mentioning, or even the cause of it, but when i set up a mirror, the configurations were only mirrored when changes were written to the master: So I changed the email address on each of the Zone records then they were copied to the mirror.
Reply With Quote
  #4  
Old 24th July 2010, 11:15
minimalist minimalist is offline
Member
 
Join Date: Aug 2007
Location: Romania
Posts: 30
Thanks: 20
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Enable debugging and then check the ispconfig log file. Most likely you have a problem with mysql permissions.
This is what I get:
Code:
2010-07-24 12:13	server2.minimalist.ro	Debug	Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:13	server2.minimalist.ro	Debug	No Updated records found, starting only the core.	
2010-07-24 12:13	server1.minimalist.ro	Debug	Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:13	server2.minimalist.ro	Debug	Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:13	server1.minimalist.ro	Debug	No Updated records found, starting only the core.	
2010-07-24 12:13	server1.minimalist.ro	Debug	Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:12	server1.minimalist.ro	Debug	Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:12	server1.minimalist.ro	Debug	No Updated records found, starting only the core.	
2010-07-24 12:12	server1.minimalist.ro	Debug	Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:12	server2.minimalist.ro	Debug	Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:12	server2.minimalist.ro	Debug	No Updated records found, starting only the core.	
2010-07-24 12:12	server2.minimalist.ro	Debug	Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:11	server2.minimalist.ro	Debug	Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock	
2010-07-24 12:11	server2.minimalist.ro	Debug	No Updated records found, starting only the core.	
2010-07-24 12:11	server2.minimalist.ro	Debug	Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
and some that seem to be from the sync:
Code:
2010-07-24 12:22	server2.minimalist.ro	Debug	Replicated from master: REPLACE INTO dns_soa (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`origin`,`ns`,`mbox`,`serial`,`refresh`,`retry`,`expire`,`minimum`,`ttl`,`active`,`xfer`,`also_notify`,`update_acl`) VALUES ('2','2','2','riud','riud','','1','minimalist.ro.','ns1.minimalist.ro.','domenii.minimalist.ro.','2010072402','28800','7200','604800','86400','86400','Y','81.196.XXX.XX,81.196.XX.XX','','')	
2010-07-24 12:22	server2.minimalist.ro	Debug	Found 1 changes, starting update process.
Back on ns2 (server2) I only have the ns2.minimalist.ro (A) record synced.

And another question: do I have to specify in the zone record the IP of server2 to be allowed in zone transfers?

Thanks for your help!

UPDATE: I think it works now! If I go through every record and save it on the master it gets synced on the secondary. Any idea on how to force a global update?
__________________
Proudly using ISPConfig on Debian servers.

Last edited by minimalist; 24th July 2010 at 11:36. Reason: Fixed it... I think.
Reply With Quote
  #5  
Old 24th July 2010, 11:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,077
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

You have to login to ispcongig on the master server, then add a dns record on the amster server and then check the log on the slave again afetr a minute or two to see which messages are listed there.

And as Toucan pointed out, the mirror setup mirrors only new or updated records that have been added after you added the slave server. It will not mirror existing records.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
minimalist (24th July 2010)
  #6  
Old 24th July 2010, 11:46
minimalist minimalist is offline
Member
 
Join Date: Aug 2007
Location: Romania
Posts: 30
Thanks: 20
Thanked 3 Times in 3 Posts
 
Default

Quote:
Originally Posted by till View Post
And as Toucan pointed out, the mirror setup mirrors only new or updated records that have been added after you added the slave server. It will not mirror existing records.
That was exactly the case. Thanks a lot, updating them all right now.
__________________
Proudly using ISPConfig on Debian servers.
Reply With Quote
Reply

Bookmarks

Tags
dns, ispconfig, mirror

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
Help:two isp3 servers primary and secondary dns u4david Installation/Configuration 6 17th June 2010 20:53
DNS data from Standalone servers to Primary DNS server SamTzu Tips/Tricks/Mods 7 15th November 2009 13:38
mirroring with rsync (mulitple servers) edpatterson HOWTO-Related Questions 14 15th April 2009 18:16
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52


All times are GMT +2. The time now is 14:28.


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