there should be some activity about "NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUV" between
[31/Jan/2022:13:01:38.997721794 +0000] - INFO - NSMMReplicationPlugin - repl5_tot_run - Beginning total update of replica "agmt="cn=ldapserver1-to-ldapserver2" (ldapserver2:389)".
and
[31/Jan/2022:13:04:38.633566100 +0000] - DEBUG - NSMMReplicationPlugin - close_connection_internal - agmt="cn=ldapserver1-to-ldapserver2" (ldapserver2:389) - Disconnected from the consumer
there is like a heartbeat every 30 seconds, but nothing during 3 minutes?
verify the errors log on the replica being initialized, 2 / B
it should have matching events about
NOTICE - NSMMReplicationPlugin - multimaster_be_state_change
INFO - bdb_instance_start - Import
INFO - bdb_import_main - import
INFO - bdb_get_nonleaf_ids - import
...etc...
and with debug, some progress with a rate of entry per seconds
may eventually need to check and/or tune the cache and import cache parameters, and find out what is the amount of free RAM for ns-slapd:
either
grep "NOTICE - ldbm_back_start" /var/log/dirsrv/slapd-ldapserver2/errors
or
ldapsearch -xLLLD "cn=directory manager" -W -b "cn=bdb,cn=config,cn=ldbm database,cn=plugins,cn=config" nsslapd-cache-autosize nsslapd-cache-autosize-split nsslapd-import-cache-autosize nsslapd-import-cachesize