Changes

stoney cloud: OpenLDAP directory set-up

671 bytes added, 11:30, 26 September 2014
/* Adding an index */
= Abstract =
This document describes the set-up of the OpenLDAP directory of the stoney cloud. This directory contains the data of [[:Category:Self-Service Modules|modulesSelf-Service Modules]] (services) like [[:Category:stoney core|stoney core]], [[:Category:stoney conductor|stoney conductor]], [[:Category:stoney vm|stoney vm]], [[:Category:stoney safebackup|stoney safebackup]] and more.
= Directory set-up =
grep bdb_equality_candidates /var/log/syslog/slapd.log
Oct 2 13:39:19 fossstoney-cloud-node-01 slapd[19508]: <= bdb_equality_candidates: (dhcpHWAddress) not indexed
=== Adding an index ===
tail -f /var/log/syslog/slapd.log
Oct 2 14:49:49 fossstoney-cloud-node-02 slapd[15191]: @(#) $OpenLDAP: slapd 2.4.30 (Feb 4 2013 16:01:35) $
@kvm-060:/var/tmp/portage/net-nds/openldap-2.4.30/work/openldap-2.4.30/servers/slapd
Oct 2 14:49:49 fossstoney-cloud-node-02 slapd[15192]: slapd starting
ps auxf | grep slapd
cd /root
time ldapsearch -H ldaps://ldapm.tombstonestoney-cloud.ch org -b "ou=services,dc=fossstoney-cloud,dc=org" -s sub -x -D "cn=Manager,dc=fossstoney-cloud,dc=org" "(objectclass=*)" -v -w admin > gugus.ldif
ldap_initialize( ldaps://ldapm.tombstonestoney-cloud.chorg:636/??base )
filter: (objectclass=*)
requesting: All userApplication attributes
=== slapd-mdb ===
The mdb backend to slapd(8) is the upcoming primary backend for a normal slapd database. It uses OpenLDAP's own Lightning Memory-Mapped Database (LMDB) library to store data and is intended to replace the Berkeley DB backends.
 
It supports indexing like the BDB backends, but it uses no caching and requires no tuning to deliver maximum search performance. Like hdb, it is also fully hierarchical and supports subtree renames in constant time.
 
[http://www.openldap.org/software/man.cgi?query=slapd-mdb&apropos=0&sektion=0&manpath=OpenLDAP+2.4-Release&format=html slapd-mdb] - Memory-Mapped DB backend to slapd
cd /root
time ldapsearch -H ldaps://ldapm.tombstonestoney-cloud.ch org -b "ou=services,dc=fossstoney-cloud,dc=org" -s sub -x -D "cn=Manager,dc=fossstoney-cloud,dc=org" "(objectclass=*)" -v -w admin > gugus.ldif
ldap_initialize( ldaps://ldapm.tombstonestoney-cloud.chorg:636/??base )
filter: (objectclass=*)
requesting: All userApplication attributes
SLB, editor, reviewer
3,368
edits