Hi all,
You can consider I am fairly new to LDAP Server, let alone OPENLDAP.
But I went through most of the documentation and configured openldap for our Web Site almost year and half to 2 ago.
Now I am required to configure passive fail over for this. I am trying to understand and weigh my options.
1) What I want to configure? Two LDAP servers, with their content being in sync at all times.
2) What should I use? Slurpd or syncrepl or some other configuration.
3) What version we are running on? 2.2.13. Sadly but truly, the project does not have the time and resources to update to the latest one.
4) How are we going to use this replication configuration?
a. Currently the Web App points to server A.
b. In case of a catastrophic failure of server A (Machine down, power plug pulled, disk failure, etc), they will point the Web App to server B.
c. Fix server A.
d. Point Web App back to server A (I know there is no harm in leaving it pointed to B but that is the way they want. "Return every thing back to how it was").
I think in order to satisfy 4.b (any updates while pointed to server B while server A is down), both the servers should be Master-Master (N-Way master).
What I am trying to understand is question 2. I am currently going through chapter 14 and 15 of openldap documentation. I noticed there are some slight differences and I want to get your expert opinion so that I am on the right track and not doing my own little weird configuration.
Any help in helping me understand this and decide what to use is much appreciated.
Thanks,
-Sai
--On Monday, June 22, 2009 4:41 PM -0400 Sai bangaru.adabala@gmail.com wrote:
Any help in helping me understand this and decide what to use is much appreciated.
You need to spend the time and resources to upgrade. Syncrepl is unreliable in 2.2. N-Way MMR is not supported until 2.4. Until you can upgrade to a modern, robust, supported release, you're pretty well stuck, although certainly at least having a master/replica using slurpd is better than just a single server.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Thank you very much Quanah for the prompt response.
If I understand you correctly, I should used Syncrepl and not slurpd. And Snycrepl is not supported until 2.4
If you can confirm this, I will go ahead and make a case to update our servers to the latest stable release. We will go from there.
I did not mention my server OS details earlier.
TEST Server A: Linux serverA 2.6.9-55.EL #1 SMP Fri Apr 20 16:30:19 EDT 2007 ia64 ia64 ia64 GNU/Linux Server B: Linux serverB 2.6.9-78.0.1.ELsmp #1 SMP Tue Jul 22 18:11:48 EDT 2008 i686 i686 i386 GNU/Linux
PROD Server A: Identical to Server B in TEST. Server B: This will be different. HP-UX 64-bit on Itanium2.
Do you foresee any problems with the HP-UX 64-bit part?
-To love is to risk not being loved in return. To hope is to risk pain. To try is to risk failure, but risk must be taken because the greatest hazard in life is to risk nothing.
Thanks,
-Sai
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: Monday, June 22, 2009 4:49 PM To: Sai; openldap-technical@openldap.org Subject: Re:
--On Monday, June 22, 2009 4:41 PM -0400 Sai bangaru.adabala@gmail.com wrote:
Any help in helping me understand this and decide what to use is much appreciated.
You need to spend the time and resources to upgrade. Syncrepl is unreliable in 2.2. N-Way MMR is not supported until 2.4. Until you can upgrade to a modern, robust, supported release, you're pretty well stuck, although certainly at least having a master/replica using slurpd is better than just a single server.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
--On Monday, June 22, 2009 5:12 PM -0400 Sai bangaru.adabala@gmail.com wrote:
Thank you very much Quanah for the prompt response.
If I understand you correctly, I should used Syncrepl and not slurpd. And Snycrepl is not supported until 2.4
Syncrepl is supported in 2.3 and later. What I said is that N-Way MMR is not supported until 2.4. So depending on what your desired solution is, you need to use 2.3 or 2.4. Since you have to upgrade, I'd move to 2.4 anyway, since 2.3 is no longer a supported release.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org