LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Bind not listening on new ip after failover

To: Stefan.Poeter@xxxxxx, "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Bind not listening on new ip after failover
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Sun, 17 May 2009 15:29:36 +0100
On Sun, 2009-05-17 at 12:29 +0200, Stefan Pöter wrote:
> Is there any possibility that i can tell heartbeat or the ldirectord to 
> restart bind9 on a failover? Or is there any other option i can choose?

You don't need to - you need to tell BIND to scan for new interfaces
periodically as per the BIND v9 Administrator's Reference Manual:

> interface-interval
> The server will scan the network interface list every
> interface-interval minutes. The default is 60 minutes. The maximum
> value is 28 days (40320 minutes). If set to 0, interface scanning will
> only occur when the configuration file is loaded. After the scan, the
> server will begin listen-ing for queries on any newly discovered
> interfaces (provided they are allowed by the listen-on configuration),
> and will stop listening on interfaces that have gone away.

Alternatively, have all the VIPs on the loopback adapter so BIND can,
erm, bind to them; then when heartbeat brings up a VIP on the ethernet
interface, BIND is already listening and will pick up straight away.

Graeme


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>