Thursday, March 24, 2022

[389-users] Re: unconventional replication, alma 8 master to centos 7 slave: Unable to acquire replica: error: no such replica

Thanks Mark, please see responses below


Couple things here, are the RHEL 7 servers set up as replication
consumers? that is correct, in the 389 console under configuration >
replication > userRoot, dedicated consumer


> Yes you need the replication manager setup, but the suffix needs to be
> enabled for replication as well.  Can you do a ldapsearch on cn=config
> searching for "objectclass=nsds5replica" and share the output?
>
> heres the output of the below command, is this what you mean?

ldapsearch -x -b "dc=test,dc=co,dc=uk" -H ldaps://myserver -D
"cn=replication manager,cn=config" -W "objectclass=nsds5replica"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=test,dc=co,dc=uk> with scope subtree
# filter: objectclass=nsds5replica
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1


sidenote, If i run the below without any filtering applied by me


ldapsearch -x -b "dc=test,dc=co,dc=uk,cn=config" -H ldaps://myserver -D
"cn=replication manager,cn=config" -W
Enter LDAP Password:


i get:


# extended LDIF
#
# LDAPv3
# base <dc=test,dc=co,dc=uk,cn=config> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1





My other concern is about the error message above, is that from a RHEL 8
replica?

this is from the var/log/dirsrv/slapd-host/* logs




If so, this indicates replication is not setup properly on that suffix,
but you say all the rhel 8 replicas are working.

we only have the 1 master node on 8, apologies for any confusion.


Thanks

-Lewis

>
>
>>
>>
>> Does anyone know anything that I could check for the error to get
>> around this?
>>
>>
>> Thankyou kindly.
>>
>> _______________________________________________
>> 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
>
--
Lewis Robson
Systems Administrator
Conscious Solutions Limited

Tel: 0117 325 0200
Web: https://www.conscious.co.uk
_______________________________________________
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

No comments:

Post a Comment