[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP performance and slapindex



--On Wednesday, December 14, 2016 9:36 PM +0000 "Real, Elizabeth (392K)" <Elizabeth.Real@jpl.nasa.gov> wrote:



Thank you for the quick response.



I have spent a lot of time configuring version 2.4.40. Is there a guide
on how to upgrade to 2.4.44 and switch to back-mdb? we rolled out 2.4.40
today and would need to plan the next upgrade.

As long as it is linked to the same BDB libraries as your 2.4.40 build, it is simply a drop in binary upgrade.

What tool do you recommend for monitoring ldap performance?

I suggest applying the operation duration patch:
<https://github.com/Zimbra/packages/blob/master/thirdparty/openldap/patches/ITS8054.patch>

That will tell you exactly how long each operation is taking in slapd, as long as you have "stats" logging enabled. Then you can tell if the issue is at the slapd server, or if there is something else in between that is causing the delay that you see. My suspicion would be that there is something else interfering.

As for migrating from hdb to mdb, it's generally straight forward. You'd need to export your data database to LDIF, and then export cn=config, and change the HDB specific bits to MDB, and drop the parameters specific to HDB that aren't required for MDB.

If you want to see a basic cn=config templated configuration, you can look at:

<http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob_plain;f=tests/data/regressions/its8521/slapd-provider.ldif;hb=HEAD>

where @BACKEND@ can be any of bdb/hdb/mdb, and tweak as necessary from there.

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>