[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Fedora-directory-users] How to make application connect to multi-master set-up?



That is a viable option as well. I am always partial to using network wide solutions rather then client specific ones. We have had this problem before. Some applications are capable us talking the active backup protocal some applications are not. You get lulled into a false sence of security and you think the application is completely load balanced. Then you realized some other little app someone wrote somewhere is not configured the same way when one server goes out.

Using multiple A records is an option as well. However the failover involves making DNS changes. Based on your DNS settings that might take 20 minutes to propagate. Plus the time to actually get a DNS change through.

Load balancers and other HA solutions have a faster, sometimes almost instantanious recovery time. You manage them as a unit. There is no settings confusion. Point everythign at ldap_vip.domain.com and go. They offer niec options like 8 choices of algorithms Round robin, Weighted round robin, least connection. etc.


Edward



On 2/19/07, David Boreham <david_list boreham org> wrote:
Ankur Agarwal wrote:

> We have a weblogic app server based application which talks to RedHat
> LDAP through weblogic's security provider APIs.
>
> On Production env we have set-up master-master LDAP servers i.e. there
> are two master LDAP servers. How should i make my application connect
> to these 2 servers?
>
> Should there be a front-end load balancer to which my application will
> make request and then load balancer will handle requests to one of the
> LDAP servers?
>
> Also note that we have weblogic cluster in Prod with 2 instances. So
> should i make each instance point to one LDAP server? But in that case
> how will automatic failover work if one of the LDAP servers go down?
>
> Would be great if people can suggest any standard solution to deal
> with such situations.
>

Typically this functionality is built in to the client (or in fact the
LDAP client library).
Interposed proxies or load balancers are possible with LDAP but not
normally needed.
I'm not sure about weblogic specifically but usually you get to
configure two or more
LDAP servers, or you can use multiple A records in the DNS. I'd ask BEA
-- they
should be able to tell you.





--
Fedora-directory-users mailing list
Fedora-directory-users redhat com
https://www.redhat.com/mailman/listinfo/fedora-directory-users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]