[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-directory-users
Subject:    =?utf-8?q?=5B389-users=5D?= Re: Replication Problem
From:       Marc Sauton <msauton () redhat ! com>
Date:       2022-02-01 6:51:58
Message-ID: CA+ixxb3XWn1fK1AOr+W3oTBHBaB2h87J5p6H_wxJKjX88vnBiA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


that looks like the errors log from 1 / A doing an init of 2 / B

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


On Mon, Jan 31, 2022 at 9:38 PM Mansoor Raeesi <mansour.raisee@gmail.com>
wrote:

> Server A is ldapserver1 & Server B is ldapserver2
>
>
> this is log of server B:
>
>
> https://pastebin.ubuntu.com/p/f8SRb6kYn9/
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure
>

[Attachment #5 (text/html)]

<div dir="ltr">that looks like the errors log from 1 / A doing an init of 2 / B  \
<div><br></div><div><div>there should be some activity about &quot;NOTICE - \
NSMMReplicationPlugin - changelog program - _cl5ConstructRUV&quot; \
between</div><div>[31/Jan/2022:13:01:38.997721794 +0000] - INFO - \
NSMMReplicationPlugin - repl5_tot_run - Beginning total update of replica \
&quot;agmt=&quot;cn=ldapserver1-to-ldapserver2&quot; \
(ldapserver2:389)&quot;.<br></div><div>and</div><div>[31/Jan/2022:13:04:38.633566100 \
+0000] - DEBUG - NSMMReplicationPlugin - close_connection_internal - \
agmt=&quot;cn=ldapserver1-to-ldapserver2&quot; (ldapserver2:389) - Disconnected from \
the consumer<br></div><div>there is like a heartbeat every 30 seconds, but nothing \
during 3 minutes?<br></div><div><br></div><div>verify the errors log on the replica \
being initialized, 2 / B</div><div>it   should have matching events \
about</div><div>NOTICE - NSMMReplicationPlugin - \
multimaster_be_state_change<br></div><div>INFO - bdb_instance_start - \
Import<br></div><div>INFO - bdb_import_main - import<br></div><div>INFO - \
bdb_get_nonleaf_ids - import</div><div>...etc...</div><div>and with debug, some \
progress with a rate of entry per seconds</div><div><br></div><div>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:</div><div>either</div><div>grep &quot;NOTICE \
- ldbm_back_start&quot; \
/var/log/dirsrv/slapd-ldapserver2/errors<br></div><div>or</div><div>ldapsearch -xLLLD \
&quot;cn=directory manager&quot; -W -b &quot;cn=bdb,cn=config,cn=ldbm \
database,cn=plugins,cn=config&quot; nsslapd-cache-autosize \
nsslapd-cache-autosize-split nsslapd-import-cache-autosize \
nsslapd-import-cachesize<br></div><div><br></div></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 31, 2022 at 9:38 PM \
Mansoor Raeesi &lt;<a \
href="mailto:mansour.raisee@gmail.com">mansour.raisee@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Server A is \
ldapserver1 &amp; Server B is ldapserver2<br> <br>
<br>
this is log of server B:<br>
<br>
<br>
<a href="https://pastebin.ubuntu.com/p/f8SRb6kYn9/" rel="noreferrer" \
target="_blank">https://pastebin.ubuntu.com/p/f8SRb6kYn9/</a><br> \
_______________________________________________<br> 389-users mailing list -- <a \
href="mailto:389-users@lists.fedoraproject.org" \
target="_blank">389-users@lists.fedoraproject.org</a><br> To unsubscribe send an \
email to <a href="mailto:389-users-leave@lists.fedoraproject.org" \
target="_blank">389-users-leave@lists.fedoraproject.org</a><br> Fedora Code of \
Conduct: <a href="https://docs.fedoraproject.org/en-US/project/code-of-conduct/" \
rel="noreferrer" target="_blank">https://docs.fedoraproject.org/en-US/project/code-of-conduct/</a><br>
 List Guidelines: <a href="https://fedoraproject.org/wiki/Mailing_list_guidelines" \
rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
 List Archives: <a href="https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org" \
rel="noreferrer" target="_blank">https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org</a><br>
 Do not reply to spam on the list, report it: <a \
href="https://pagure.io/fedora-infrastructure" rel="noreferrer" \
target="_blank">https://pagure.io/fedora-infrastructure</a><br> </blockquote></div>


[Attachment #6 (text/plain)]

_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic