[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: syncrepl + rid



--On Wednesday, November 28, 2018 2:37 PM +0100 "A. Schulze" <sca@andreasschulze.de> wrote:


Hello,

I run a N-Way Multi-Master setup (N=4) and multiple read-only syncrepl.
I like to make sure I understand the "rid" correct.

According to http://www.openldap.org/doc/admin24/guide.html#olcSyncrepl,
the "rid" has to be unique per "slapd"

So I would configure on /every host/ (4x Multi-Master and multiple
read-only syncrepl)
rid=1..4 to identify the other servers.
The 4 Multi-Master server get 4 additional "ServerID 1..4
ldaps://multimaster1..4.example"

Are you replicating cn=config? If no, then serverID can just be single valued (1-4), no URI required. In any case, that's a separate question from the RID one.

As documented, RIDs only need to be unique within a single slapd instance. So yes, all of your slapds can use the same RIDs. Only the serverIDs need to be unique across a cluster.

--Quanah



--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>