Hi,
As Mark said, to be able to use the new experimental lmdb feature, you need to install
version 2.1 or greater.
After that, there is several way to enable mdb backend:
- create directly the instance with mdb:
export NSSLAPD_DB_LIB=mdb
dscreate ... - create directly the instance with mdb by using dscreate template:
create a dscreate template file containing db_lib=mdb in [slapd] section:
Here is an example:
cat /tmp/dscreate.inf [general]
[slapd]
instance_name = foo
db_lib=mdb
port = 7389
root_password = password
secure_port = 7636
[backend-userroot]
create_suffix_entry = True
sample_entries = yes
suffix = dc=example,dc=com
dscreate from-file /tmp/dscreate.inf
- create instance with bdb then migrate:
dsctl instanceName dblib bdb2mdb - Do the migration by switching the database type then restart and reimport
(that is the solution described by Mark)
Regards,
Pierre