Re: Replication agreements creation order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 3/13/23 01:01, William Brown wrote:
Error log test-389-ds-3
[10/Mar/2023:18:27:29.275950935 +0100] - ERR - agmt="cn=agreement-test-389-ds-3-to-test-389-ds-1" (test-389-ds-1:636) - clcache_load_buffer - Can't locate CSN 640b564d000000030000 in the changelog (DB rc=-12797). If replication stops, the consumer may need to be reinitialized.
[10/Mar/2023:18:27:29.277963218 +0100] - ERR - NSMMReplicationPlugin - changelog program - repl_plugin_name_cl - agmt="cn=agreement-test-389-ds-3-to-test-389-ds-1" (test-389-ds-1:636): CSN 640b564d000000030000 not found, we aren't as up to date, or we purged


Is there a method to know the correct sequence of definition of the agreements?

Did you do full re-inits when you create from 1 -> 2 and 1 -> 3?

I think so. I executed the following commands sequence:

# On test-389-ds-1
dsconf Sezione -D "cn=Directory Manager" replication enable --suffix="dc=test,dc=com" --role="supplier" --replica-id=1 --bind-dn="cn=replication manager,cn=config" --bind-passwd="xxxx"

# On test-389-ds-2
dsconf Sezione -D "cn=Directory Manager" replication enable --suffix="dc=test,dc=com" --role="supplier" --replica-id=2 --bind-dn="cn=replication manager,cn=config" --bind-passwd="xxxx"

# On test-389-ds-1 -> test-389-ds-2
dsconf Sezione -D "cn=Directory Manager" repl-agmt create --suffix="dc=test,dc=com" --host="test-389-ds-2.pd.infn.it" --port=636 --conn-protocol=LDAPS --bind-dn="cn=replication manager,cn=config" --bind-passwd="xxxx" --bind-method=SIMPLE --init agreement-test-389-ds-1-to-test-389-ds-2

# On test-389-ds-2 - > test-389-ds-1
dsconf Sezione -D "cn=Directory Manager" repl-agmt create --suffix="dc=test,dc=com" --host="test-389-ds-1.pd.infn.it" --port=636 --conn-protocol=LDAPS --bind-dn="cn=replication manager,cn=config" --bind-passwd="xxxx" --bind-method=SIMPLE --init agreement-test-389-ds-2-to-test-389-ds-1

# On test-389-ds-3
dsconf Sezione -D "cn=Directory Manager" replication enable --suffix="dc=test,dc=com" --role="supplier" --replica-id=3 --bind-dn="cn=replication manager,cn=config" --bind-passwd="xxxx"

# On test-389-ds-1 -> test-389-ds-3
dsconf Sezione -D "cn=Directory Manager" repl-agmt create --suffix="dc=test,dc=com" --host="test-389-ds-3.pd.infn.it" --port=636 --conn-protocol=LDAPS --bind-dn="cn=replication manager,cn=config" --bind-passwd="xxxx" --bind-method=SIMPLE --init agreement-test-389-ds-1-to-test-389-ds-3

# On test-389-ds-3 -> test-389-ds-1
dsconf Sezione -D "cn=Directory Manager" repl-agmt create --suffix="dc=test,dc=com" --host="test-389-ds-1.pd.infn.it" --port=636 --conn-protocol=LDAPS --bind-dn="cn=replication manager,cn=config" --bind-passwd="xxxx" --bind-method=SIMPLE --init agreement-test-389-ds-3-to-test-389-ds-1

# On test-389-ds-2 -> test-389-ds-3
dsconf Sezione -D "cn=Directory Manager" repl-agmt create --suffix="dc=test,dc=com" --host="test-389-ds-3.pd.infn.it" --port=636 --conn-protocol=LDAPS --bind-dn="cn=replication manager,cn=config" --bind-passwd="xxxx" --bind-method=SIMPLE --init agreement-test-389-ds-2-to-test-389-ds-3


Regards,

Alberto Crescente.



--
Sincerely,

William Brown

Senior Software Engineer,
Identity and Access Management
SUSE Labs, Australia
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux