Hello, This sort of a setup would be very simple to implement by creating an LVS cluster (http://www.linuxvirtualserver.org/). I am currently using LVS with great success, to balance load between four machines that run the pdns_recursor. There are projects under LVS which allow you to also setup failover directors using vrrpv2, which also monitor and dynamically adjust the cluster nodes based on availability (http://www.keepalived.org/).
I thoroughly recommend you give it a shot. Feel free to drop me a line if you require any further input on this subject. Regards, Daniel Jean Chiappini-2 wrote: > > Thank you, I will try with a hardware solution. > > Regards > > Jean > >>>> Darren Gamble <[EMAIL PROTECTED]> 08/15/07 6:32 >>> > Good day, > > You will not be able to implement this with just pdns. There is no way > for the DNS server to know which servers are online or offline on its > own. The "failover" you read about is likely that for the DNS server > itself. > > As Kenneth noted, if you have any tools that can identify the status of > the services, they can issue the appropriate commands to your DNS > server. Note that this would require a very low TTL value on the RR to > be effective. > > Note that the most common business solution to this problem is to use > load-balancing technology- either a hardware server pair in front of the > servers, or software on both web servers to manage a VIP. But, this is > just the most common solution, not the only one. > > FYI, > > ============================ > Darren Gamble > Systems Architect, Regional Services > Shaw Cablesystems GP > 630 - 3rd Avenue SW > Calgary, Alberta, Canada > T2P 4L4 > (403) 781-4948 > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:pdns-users- >> [EMAIL PROTECTED] On Behalf Of Jean Chiappini >> Sent: Wednesday, August 15, 2007 7:55 AM >> To: [EMAIL PROTECTED] >> Cc: [email protected] >> Subject: Re: [Pdns-users] fail over for web server >> >> Thank you for your response. Yes it is one possiblity, we use > zabbix, >> but I prefered a mechanism based on pdns directly... >> >> Regards >> >> Jean >> >> >>> Kenneth Marshall <[EMAIL PROTECTED]> 08/15/07 3:24 PM >>> >> Jean, >> >> One typical way to implement this is to use Nagios to monitor >> your web servers. Then if one goes offline, issue the appropriate >> update to the PDNS database. >> >> Ken >> >> On Wed, Aug 15, 2007 at 01:43:28PM +0200, Jean Chiappini wrote: >> > Hello, >> > >> > I setup a pdns with approximately 90 domains. For all domains we > have >> > two web servers. Now, if a web server is down, 50% of the request >> failed >> > because the web server is not available due to down time. >> > >> > I read in the documentation that it is possible to make fail over > with >> > pdns, but I don't fin how make this... >> > Someone has tested the failover with pdsn ? In case of yes, could > you >> > explain me how I need to setup my pdns please ? >> > >> > Regards >> > >> > Jean >> > ___________________________________________________________ >> > Le contenu de ce courriel est uniquement r??serv?? ?? la personne > ou >> > l'organisme ?? qui il est destin??. Si vous n'??tes pas le >> destinataire >> > pr??vu, veuillez nous en informer au plus vite et d??truire le >> pr??sent >> > courriel. Dans ce cas, il ne vous est pas permis de copier ce >> courriel, >> > de le distribuer ou de l'utiliser de quelque mani??re que ce soit. >> > >> > The content of this e-mail is intended only and solely for the use >> > of the named recipient or organisation. If you are not the named >> > recipient, please inform us immediately and delete the present > e-mail. >> >> > In this case, you are nor allowed to copy, distribute or use this >> > e-mail in any way. >> > ___________________________________________________________ >> > _______________________________________________ >> > Pdns-users mailing list >> > [email protected] >> > http://mailman.powerdns.com/mailman/listinfo/pdns-users >> > >> >> ___________________________________________________________ >> Le contenu de ce courriel est uniquement réservé à la personne ou >> l'organisme à qui il est destiné. Si vous n'êtes pas le destinataire >> prévu, veuillez nous en informer au plus vite et détruire le présent >> courriel. Dans ce cas, il ne vous est pas permis de copier ce > courriel, >> de le distribuer ou de l'utiliser de quelque manière que ce soit. >> >> The content of this e-mail is intended only and solely for the use >> of the named recipient or organisation. If you are not the named >> recipient, please inform us immediately and delete the present > e-mail. >> In this case, you are nor allowed to copy, distribute or use this >> e-mail in any way. >> ___________________________________________________________ >> _______________________________________________ >> Pdns-users mailing list >> [email protected] >> http://mailman.powerdns.com/mailman/listinfo/pdns-users > > ___________________________________________________________ > Le contenu de ce courriel est uniquement réservé à la personne ou > l'organisme à qui il est destiné. Si vous n'êtes pas le destinataire > prévu, veuillez nous en informer au plus vite et détruire le présent > courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel, > de le distribuer ou de l'utiliser de quelque manière que ce soit. > > The content of this e-mail is intended only and solely for the use > of the named recipient or organisation. If you are not the named > recipient, please inform us immediately and delete the present e-mail. > In this case, you are nor allowed to copy, distribute or use this > e-mail in any way. > ___________________________________________________________ > _______________________________________________ > Pdns-users mailing list > [email protected] > http://mailman.powerdns.com/mailman/listinfo/pdns-users > > -- View this message in context: http://www.nabble.com/fail-over-for-web-server-tf4272591.html#a12464256 Sent from the PowerDNS mailing list archive at Nabble.com. _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
