Introduce configurable rid ("Replica ID"?) per database. This is needed for multi DB replication.
This commit is contained in:
parent
a1b6379b9a
commit
d23e9995d6
2 changed files with 12 additions and 3 deletions
|
@ -29,14 +29,14 @@ overlay syncprov
|
|||
syncprov-checkpoint 100 10
|
||||
syncprov-sessionlog 100
|
||||
|
||||
# The database directory MUST exist prior to running slapd AND
|
||||
# The database directory MUST exist prior to running slapd AND
|
||||
# should only be accessible by the slapd and slap tools.
|
||||
# Mode 700 recommended.
|
||||
directory /srv/ldap/<%= name %>
|
||||
|
||||
<% if master != "" -%>
|
||||
# replication
|
||||
syncrepl rid=2
|
||||
syncrepl rid=<%= rid_real %>
|
||||
provider=<%= master %>
|
||||
type=refreshAndPersist
|
||||
retry="10 10 60 +"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue