Hii List, We need to set up an environment where we will have two LDAP servers that work in primary-secondary mode ie,.. if primary goes down ,secondary should serve as primary(as it is like a master ie,... it should have all the capabilities as a primary server) Please tell me if this is possible with openLDAP as in master-slave architecture,when master goes down slave can serve in read only mode(as far as my understanding) Also tell me from where i can get some additional info about these topics.... Thanx a lot, Regards,padma
=====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Padmavathi Dt wrote:
Hii List, We need to set up an environment where we will have two LDAP servers that work in primary-secondary mode ie,.. if primary goes down ,secondary should serve as primary(as it is like a master ie,... it should have all the capabilities as a primary server) Please tell me if this is possible with openLDAP as in master-slave architecture,when master goes down slave can serve in read only mode(as far as my understanding) Also tell me from where i can get some additional info about these topics....
http://www.openldap.org/doc/admin24/replication.html
WBR Dmitriy
Dmitriy Kirhlarov skrev, on 08-04-2008 15:57:
Padmavathi Dt wrote:
Hii List, We need to set up an environment where we will have two LDAP servers that work in primary-secondary mode ie,.. if primary goes down ,secondary should serve as primary(as it is like a master ie,... it should have all the capabilities as a primary server) Please tell me if this is possible with openLDAP as in master-slave architecture,when master goes down slave can serve in read only mode(as far as my understanding) Also tell me from where i can get some additional info about these topics....
As the above doesn't cover standard ldap /clients/ with simple syncrepl slaves, it's worth pointing out that uri in /etc/openldap/ldap.conf (or wherever you have it) can give a failover uri to be attempted if the first isn't available; the same with /etc/ldap.conf:
uri ldapi://%2fvar%2frun%2fslapd%2fldapi ldap://oikos.leerlingen/
My experience is that, if allowed (can be configured in /etc/ldap.conf, don't know about the other), failover is almost instantaneous.
Best,
--Tonni
openldap-software@openldap.org