|
haproxy + 389 dir srv master/slave setup questions
So.. I don't have prior experience w/ either of these concepts.. this is a project that i'm working on to get familiar.. here's my question:
I've got a vip (ldap-lb-vip) setup for two servers acting as load balancers, lb1 and lb2 and i'm using keepalived to bounce the vip between the two load balancers in the event of a failure, and it's doing this successfully so the communication between lb1 and lb2 is functioning.. The primary load balancer is to round robin traffic between two ldap servers, ldap1 and ldap2.. the secondary load balancer is just in case the primary fails.. at this point, i'm trying to test if the communication between a client and the ldap servers is working correctly, but I think that there may be an issue w/ haproxy taking the request and forwarding it to the ldap servers..
I have edited the /etc/ldap.conf file on a test server, and pointed the uri parameter to the load balancer vip like: "uri ldap://ldap.vip.local".
When I do this, however, I start getting messages in the error log that the test box can no longer connect to ldap, and of course I can no longer ssh to the box.
I can ping the vip, the load balancers and both of the ldap servers from the test box. Anybody have any insight as to what log files to check or how I can find out where the disconnect is occurring? The OS is centos 5
Thanks
|