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

List:       fedora-directory-users
Subject:    =?utf-8?q?=5B389-users=5D?= Re: how to remove a replication agreement
From:       Marc Sauton <msauton () redhat ! com>
Date:       2019-10-15 21:30:02
Message-ID: CA+ixxb3qBeS0LTHENMqnqpdOb5LZhPnPceEVqAYMm1Jn=GibOw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Only when the LDAP service is stopped:
With a manual edit of the dse.ldif configuration file after it is
saved/duplicated.

Look and "carefully" select entries with definitions for
objectClass: nsds5replicationagreement
similar to for example
dn:
cn=meTods2.example.test,cn=replica,cn=dc\3Dexample\2Cdc\3Dtest,cn=mapping
tree,cn=config
and remove the corresponding paragraph.

Also review the entry similar to this example:
dn: cn=replica,cn=dc\3Dexample\2Cdc\3Dtest,cn=mapping tree,cn=config
with a definition for
objectClass: nsds5replica
remove the nsState
or eventually remove the whole paragraph if not longer needed

Also review the paragraph with definition for
nsslapd-backend: xx
similar to this example
dn: cn=dc\3Dexample\2Cdc\3Dtest,cn=mapping tree,cn=config
nsslapd-backend: userRoot
nsslapd-state: backend
and review the  nsslapd-referral: attribute value

If there are more than 2 servers, the corresponding nsds50ruv would need to
be cleaned up on the other systems.

it may be "easier" to run the DS console, and faster to create a new
replica from "scratch" (that seem urgent if this now a single point of
failure scenario)
and it may be interesting to collect a core file and stack trace if the
version is current on the crashed system.

Thanks,
Marc S.

On Tue, Oct 15, 2019 at 12:49 PM I M <isabella.ghiurea@nrc-cnrc.gc.ca>
wrote:

> Hi All
> we are facing some critical decisions, we have 2 server in multimaster
> replication , one of DS master is off-line/crashed
>   how can we removed the replication agreement for  the online DS  master
> to the  off-line  DS master  ?
>
> thank you
> Isabella
> _______________________________________________
> 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
>

[Attachment #5 (text/html)]

<div dir="ltr">Only when the LDAP service is stopped:<div>With a manual edit of the \
dse.ldif configuration file after it is saved/duplicated.</div><div><br><div>Look and \
&quot;carefully&quot; select entries with definitions for</div><div>objectClass: \
nsds5replicationagreement<br></div><div>similar to for example</div><div>dn: \
cn=meTods2.example.test,cn=replica,cn=dc\3Dexample\2Cdc\3Dtest,cn=mapping \
tree,cn=config<br></div><div>and remove the corresponding \
paragraph.</div><div><br></div><div>Also review the entry similar to this \
example:</div><div>dn: cn=replica,cn=dc\3Dexample\2Cdc\3Dtest,cn=mapping \
tree,cn=config<br></div><div>with a definition for</div><div>objectClass: \
nsds5replica<br></div><div>remove the  nsState</div><div>or eventually remove the \
whole paragraph if not longer needed</div><div><br></div><div>Also review the \
paragraph with definition for</div><div>nsslapd-backend: xx<br></div><div>similar to \
this example</div><div>dn: cn=dc\3Dexample\2Cdc\3Dtest,cn=mapping \
tree,cn=config<br></div>nsslapd-backend: userRoot<br><div>nsslapd-state: \
backend<br></div><div>and review the    nsslapd-referral: attribute \
value</div><div><br></div><div>If there are more than 2 servers, the corresponding  \
nsds50ruv would need to be cleaned up on the other \
systems.</div><div><br></div><div>it may be &quot;easier&quot; to run the DS console, \
and faster to create a new replica from &quot;scratch&quot; (that seem urgent if this \
now a single point of failure scenario)</div><div>and it may be interesting to \
collect a core file and stack trace if the version is current on the crashed \
system.</div><div><br></div><div>Thanks,</div><div></div><div>Marc \
S.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On \
Tue, Oct 15, 2019 at 12:49 PM I M &lt;<a \
href="mailto:isabella.ghiurea@nrc-cnrc.gc.ca">isabella.ghiurea@nrc-cnrc.gc.ca</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">Hi All<br> we are \
facing some critical decisions, we have 2 server in multimaster replication , one of \
DS master is off-line/crashed<br>  how can we removed the replication agreement for   \
the online DS   master to the   off-line   DS master   ?<br> <br>
thank you<br>
Isabella<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>
 </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


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

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