
23rd July 2010, 19:01
|
|
Member
|
|
Join Date: Aug 2007
Location: Romania
Posts: 30
Thanks: 20
Thanked 2 Times in 2 Posts
|
|
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?
__________________
Proudly using ISPConfig on Debian servers.
|

23rd July 2010, 21:14
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,249 Times in 3,261 Posts
|
|
Quote:
|
Is the mirror server option working?
|
Yes.
Quote:
|
Also, can DNS be mirrored as in server2 becoming a secondary nameserver?
|
Yes.
Enable debugging and then check the ispconfig log file. Most likely you have a problem with mysql permissions.
|

23rd July 2010, 23:25
|
|
Senior Member
|
|
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 36 Times in 30 Posts
|
|
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.
|

24th July 2010, 11:15
|
|
Member
|
|
Join Date: Aug 2007
Location: Romania
Posts: 30
Thanks: 20
Thanked 2 Times in 2 Posts
|
|
Quote:
Originally Posted by till
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.
|

24th July 2010, 11:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,249 Times in 3,261 Posts
|
|
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.
|
|
The Following User Says Thank You to till For This Useful Post:
|
|

24th July 2010, 11:46
|
|
Member
|
|
Join Date: Aug 2007
Location: Romania
Posts: 30
Thanks: 20
Thanked 2 Times in 2 Posts
|
|
Quote:
Originally Posted by till
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 04:19.
|
Recent comments
11 hours 54 min ago
12 hours 54 min ago
16 hours 41 min ago
17 hours 55 min ago
21 hours 31 min ago
1 day 4 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 6 hours ago
2 days 8 hours ago