1# OpenLDAP: pkg/openldap-guide/admin/config.sdf,v 1.14.2.8 2010/04/13 20:22:33 kurt Exp
2# Copyright 1999-2010 The OpenLDAP Foundation, All Rights Reserved.
3# COPYING RESTRICTIONS APPLY, see COPYRIGHT.
4H1: The Big Picture - Configuration Choices
5
6This section gives a brief overview of various {{TERM:LDAP}} directory
7configurations, and how your Standalone LDAP Daemon {{slapd}}(8)
8fits in with the rest of the world.
9
10
11H2: Local Directory Service
12
13In this configuration, you run a {{slapd}}(8) instance which provides
14directory service for your local domain only. It does not interact
15with other directory servers in any way. This configuration is shown
16in Figure 3.1.
17
18!import "config_local.png"; align="center"; title="Local service via slapd(8) configuration"
19FT[align="Center"] Figure 3.1: Local service configuration.
20
21Use this configuration if you are just starting out (it's the one the
22quick-start guide makes for you) or if you want to provide a local
23service and are not interested in connecting to the rest of the world.
24It's easy to upgrade to another configuration later if you want.
25
26
27H2: Local Directory Service with Referrals
28
29In this configuration, you run a {{slapd}}(8) instance which provides
30directory service for your local domain and configure it to return
31referrals to other servers capable of handling requests.  You may
32run this service (or services) yourself or use one provided to you.
33This configuration is shown in Figure 3.2.
34
35!import "config_ref.png"; align="center"; title="Local service with referrals"
36FT[align="Center"] Figure 3.2: Local service with referrals
37
38Use this configuration if you want to provide local service and
39participate in the Global Directory,  or you want to delegate
40responsibility for {{subordinate}} entries to another server.
41
42
43H2: Replicated Directory Service
44
45slapd(8) includes support for {{LDAP Sync}}-based replication, called
46{{syncrepl}}, which may be used to maintain shadow copies of directory
47information on multiple directory servers.   In its most basic
48configuration, the {{master}} is a syncrepl provider and one or more
49{{slave}} (or {{shadow}}) are syncrepl consumers.  An example
50master-slave configuration is shown in figure 3.3. Multi-Master
51configurations are also supported.
52
53!import "config_repl.png"; align="center"; title="Replicated Directory Services"
54FT[align="Center"] Figure 3.3: Replicated Directory Services
55
56This configuration can be used in conjunction with either of the
57first two configurations in situations where a single {{slapd}}(8)
58instance does not provide the required reliability or availability.
59
60H2: Distributed Local Directory Service
61
62In this configuration, the local service is partitioned into smaller
63services, each of which may be replicated, and {{glued}} together with
64{{superior}} and {{subordinate}} referrals.
65!if 0
66An example of this configuration is shown in Figure 3.4.
67
68!import "config_dist.gif"; align="center"; title="Distributed Local Directory Services"
69FT[align="Center"] Figure 3.4: Distributed Local Directory Services
70!endif
71