Multi cluster question

Djunity

Verified User
Joined
Mar 9, 2008
Messages
243
Location
Holland
Hi All,

Got a smaal question about the multi cluster setup.

For example we got 10 da webhosting servers and we got 2 da servers for dns all 10 servers we stoped named and use the multi server to export the zones to the 2 dns servers.
The 2 dns servers are also both conected with the multi server setup.

What i want to know is for example when one dns server breaks down for what ever reason and later it comes back online are the changes that where made in the mean time automatiscly send to the dns server that was down or in this case we have to manually export all zones from all webhosting servers ? or only export the zone from the second dns server to the one that was down.
 
Hello,

are the changes that where made in the mean time automatiscly send to the dns server that was down

No


or in this case we have to manually export all zones from all webhosting servers

If you want to do it manually, of course you can do it manually. But you have not to do it manually, you can make it automatically by running

Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue

on the directadmin powered servers which host the sites.
 
Hello,

Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue

on the directadmin powered servers which host the sites.

Hi Alex,

This is what i call manualy a admin handle is needed in this case, if it would be automatic you wont have to do anything and zone exports automaticly.
I allready tought it was like this but wanted to be sure, im gona write me a script that does it automaticly for me and run it on my monitoring system.

Thanks for the response.
 
By the word "automatically" I meant, that there is no need to transfer manually zone by zone, you can set the task to directadmin with the command, and directadmin will transfer automatically all zone, that it handles. Of course it won't set the task in case one of your server fails and then later recovers, it's up to you to monitor connectivity of all servers of yours and run the task when necessary.

Note, for now I don't remember the details (you should verify it yourself), but with the commands server might (or might not) transfer only those zones which are local for that particular server on which you run the command. Please, if somebody knows it for sure, post it here.
 
Hi Alex,

I got it, one way of automation is for example then write a script and use /CMD_API_EXEC with a wrapper to execute the zone transfer i think so gone test this soon.
 
Back
Top