[Date Prev][Date Next]
Re: syncrepl problem - nothing updated after initial syncronisation
Rein Tollevik <rein@OpenLDAP.org> writes:
> Dieter Kluenter wrote:
>> "Carl Johnstone" <email@example.com> writes:
>>> Trying to get 2 slapd servers setup for multi-master replication -
>>> they will eventually be in different physical locations. Once I've got
>>> the 2 servers running OK, I'll be adding in a 3rd location. I've
>>> followed the admin guide, using cn=config and have attached a LDIF
>>> dump of the config (with schemas removed).
>>> When I bring up the second server, with a minimal config. It correctly
>>> replicates across cn=config and sets up the main DB. It then correctly
>>> copies across all the data in the main DB to bring itself up-to-date
>>> with the server that's already setup. However from the point I bring
>>> it online it doesn't replicate any further changes to the first
>>> server. If I restart the second server the contextCSN is updated,
>>> however no other changes are replicated across.
>>> Is there anything obviously wrong with my config? Or have I hit a
>>> known problem?
>> remove the URI part from serverID.
> No! This is required when using a common config, which again is
> implied by a replicated cn=config. Each server in a multi-master
> configuration *must* have separate serverIDs, and using the URI
> version of the serverID is the only way multiple servers with the same
> config can achieve that.
> The URI part of the serverID must match (one of the) listeners slapd
> uses (its -h arguments). Start the servers with "-d config" and
> verify that they report different and non-zero SID= values.
This will lead to a contextCSN with a serverID 000 reference and will
disable any synchronization.
Dieter KlÃnter | Systemberatung
GPG Key ID:8EF7B6C6