On Wed, Dec 17, 2025 at 11:44:03AM -0500, Brendan Kearney wrote:
> I don't have any explicit size limits on identities.  DB size limits are
> "unlimited" for cn=config, 25 GB on DIT.

It's not about DB size (although yes, worth monitoring olmMDBPagesUsed
etc.) but about search size limits which AFAIK tend to default to 500
for non-root users unless changed by olcLimits.

>> Reusing serverids is a misconfiguration, each provider **has** to have a
>> unique non-zero serverID. The replication logic relies on it to decide
>> where changes are coming from and where (not) to route them. This is why
>> the serverID option has a second form of "serverID <id> <listen URL from
>> slapd -h ...>" so that you can replicate cn=config but have every server
>> maintain its own identity.
>> 
>> Everyone else apart from providers can keep their serverid at default
>> (="0") but they can also have one assigned if you want to be able to
>> promote them to providers easily, your choice.
>
> so, the olcServerID and rid used in the replication configs should both be
> incremented when rolling over / upgrading a box?

Upgrading in-place is fine, because there's never two servers with the
same sid. But when adding a new provider, add another olcServerID: value
to cn=config with a unique serverID and its URI.

Regards,

-- 
Ondřej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP

Reply via email to