----- "Stefan Tobé" <stefan.t...@gmail.com> wrote:

> Hi,
> Can somebody explain how to configure backend loadbalancing and
> failover in Powerdns ?
> 
>     • I cannot find how to explicitly configure these two functions,
> but I guess it is implicitly set by defining hostA and hostB in
> sequential order in the example below?
>     • Would it be possible to loadbalance 30% queries on hostA and 70%
> on hostB?
>     • is failover basically implemented by some kind of hunting
> mechanism (first try hostA than hostB?)
>     • is the failover trigger based on a specific timer?
> 
> I use the following config in pdns.conf
> launch=opendbx
> opendbx-backend=mysql
> opendbx-host-read=hostA hostB (where hostA and B are IP addresses)
> opendbx-host-write=hostA hostB (where hostA and B are IP addresses)
> opendbx-port=3306
> opendbx-database=dns1
> opendbx-username=pdns
> opendbx-password=pdnsuser
> 
> thanks
> Stefan
> 
> --
> 
> Mvg
> Stefan Tobé
> 

Hi

Surely that's not how you do load balancing and I'm not even sure the way 
you're describing it would actually work using openDBX.

I keep the MySQL database synchronised between each of the powerDNS servers and 
then used a VMware Appliance in front of them to provide load balancing. The 
appliance I use is this one: http://www.vmware.com/appliances/directory/300 - 
it uses minimal resources and is stable for my environment. That's just a 
convenient method for me, you can do it with the pen load balancing software 
(the link is on the page I've pointed you to).

Perhaps you'd be better asking on the powerDNS mailing list about load 
balancing and synchronising the databases, I've seen several threads on this 
topic there.

Regards

Bill

------------------------------------------------------------------------------
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to