(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Configuration : (Category) SLAPD Configuration : (Answer) Can I put the SLAPD database on an NFS filesystem?
Using NFS to hold database files is not wise. Databases need to grab and release locks and this is very inefficient across a network filesystem. In some implementations it does not work at all.

NFS will not give you resilience against machine failure either: the NFS server is still a single-point-of-failure.

If you want to run more than one instance of SLAPD with the same data, you should set up replication as described in the Admin Guide. This avoids using NFS to store the databases and also allows you to build a system that is resilient to machine failures.

Always store SLAPD databases on local disks (and choose the fastest ones available if performance is important to you).

See also http://www.sleepycat.com/docs/ref/env/remote.html
See also archived mailing-list message RE: multiple slapd Accessing one data area
[Append to This Answer]
Previous: (Answer) How to configure slapd(8) with LDAPv2 support (for legacy clients)?
Next: (Answer) What should the "threads" configuration parameter be set to?
This document is: http://www.openldap.org/faq/index.cgi?file=766
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org