You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially server is deployed with host OS SLES SP4 with 389 ds 2.0.17 and created replication successfully. After upgrading host OS as SLES SP5 with 389-ds 2.2.8 replication got broken.
Before upgrade:
sudo zypper info 389-ds
Information for package 389-ds:
Repository : hostos_sp4
Name : 389-ds
Version : 2.0.17git91.37da5ec-150400.3.34.1
Arch : x86_64
Vendor : SUSE LLC < https://www.suse.com/>
Support Level : unknown
Installed Size : 15.1 MiB
Installed : Yes
Status : up-to-date
Source package : 389-ds-2.0.17git91.37da5ec-150400.3.34.1.src
Upstream URL : https://pagure.io/389-ds-base
Summary : 389 Directory Server
After upgrade
zypper info 389-ds
Information for package 389-ds:
Repository : hostos_sp5
Name : 389-ds
Version : 2.2.8git65.347aae6-150500.3.17.1
Arch : x86_64
Vendor : SUSE LLC https://www.suse.com/
Support Level : unknown
Installed Size : 13.3 MiB
Installed : Yes
Status : up-to-date
Source package : 389-ds-2.2.8git65.347aae6-150500.3.17.1.src
Upstream URL : https://pagure.io/389-ds-base
Summary : 389 Directory Server
After upgrade, when I run
sudo dsconf -Z -D cn=admin -w ***************** infra1 repl-agmt get --suffix=ou=,o=******** agreement_with_infra3_*********
last poke(infra2 repl-agmt poke) failed with Error (10) Problem connecting to replica - LDAP error: Referral (connection error)
post that if I do ldapsearch on infra1 and infra2 it's working fine but in infra3 it's failed
sudo ldapsearch -x -H ldap://infra3.k2.****:3389 -D "cn=admin" -w *************** -ZZ'
Warning: Permanently added 'infra3,193.168.2.27' (ED25519) to the list of known hosts.
Attention! Prototype system. For sure, you are not authorized to login to this system.
After each poke command, verifying repl-agmt get command to see replication status, if it green we are continuing with next one...
dsconf -Z -D cn=admin -w ******** infra3 repl-agmt poke --suffix=ou=cee,o=**** agreement_with_infra2_k2_****
But when I run the same repl-agmt get command
nsds5replicaLastUpdateStatusJSON: {"state": "red", "ldap_rc": "-5", "ldap_rc_text": "Timed out", "repl_rc": "16", "repl_rc_text": "connection error", "date": "2024-10-19T08:43:54Z", "message": "Error (-5) Problem connecting to replica - LDAP error: Timed out (connection error)"
almost after 1minute 45 seconds replication status became red..... Initially it shown as green and then turned as red.
Is this correct approach to verify replication status?
Is there any way effectively I can verify replication status?
Initially server is deployed with host OS SLES SP4 with 389 ds 2.0.17 and created replication successfully. After upgrading host OS as SLES SP5 with 389-ds 2.2.8 replication got broken.
Before upgrade:
sudo zypper info 389-ds
Information for package 389-ds:
Repository : hostos_sp4
Name : 389-ds
Version : 2.0.17
git91.37da5ec-150400.3.34.1git91.37da5ec-150400.3.34.1.srcArch : x86_64
Vendor : SUSE LLC <
https://www.suse.com/>
Support Level : unknown
Installed Size : 15.1 MiB
Installed : Yes
Status : up-to-date
Source package : 389-ds-2.0.17
Upstream URL :
https://pagure.io/389-ds-base
Summary : 389 Directory Server
After upgrade
zypper info 389-ds
Information for package 389-ds:
Repository : hostos_sp5
Name : 389-ds
Version : 2.2.8
git65.347aae6-150500.3.17.1git65.347aae6-150500.3.17.1.srcArch : x86_64
Vendor : SUSE LLC https://www.suse.com/
Support Level : unknown
Installed Size : 13.3 MiB
Installed : Yes
Status : up-to-date
Source package : 389-ds-2.2.8
Upstream URL : https://pagure.io/389-ds-base
Summary : 389 Directory Server
After upgrade, when I run
sudo dsconf -Z -D cn=admin -w ***************** infra1 repl-agmt get --suffix=ou=,o=******** agreement_with_infra3_*********
I am seeing the following error intermittently:
nsds5replicaLastUpdateStatus: Error (10) Problem connecting to replica - LDAP error: Referral (connection error)
nsds5replicaLastUpdateStatusJSON: {"state": "red", "ldap_rc": "10", "ldap_rc_text": "Referral", "repl_rc": "16", "repl_rc_text": "connection error", "date": "2024-10-20T03:19:40Z", "message": "Error (10) Problem connecting to replica - LDAP error: Referral (connection error)"}
nsds5replicaUpdateInProgress: FALSE
The steps followed post upgrade are
`we are goint repl-agmt init with names agreement_with_infra2_k2_**** and agreement_with_infra3_k2_****
dsconf -Z -D cn=admin -w ******** infra1 repl-agmt init --suffix=ou=cee,o=**** agreement_with_infra2_k2_****
dsconf -Z -D cn=admin -w ******** infra1 repl-agmt init --suffix=ou=cee,o=**** agreement_with_infra3_k2_****
post that executing poke command as below
infra3 node
dsconf -Z -D cn=admin -w ******** infra3 repl-agmt poke --suffix=ou=cee,o=**** agreement_with_infra2_k2_****
infra1 node
dsconf -Z -D cn=admin -w ******** infra1 repl-agmt poke --suffix=ou=cee,o=**** agreement_with_infra2_k2_****
infra1 node
dsconf -Z -D cn=admin -w ******** infra1 repl-agmt poke --suffix=ou=cee,o=**** agreement_with_infra3_k2_****
infra2 node
dsconf -Z -D cn=admin -w ******** infra2 repl-agmt poke --suffix=ou=cee,o=**** agreement_with_infra3_k2_****
last poke(infra2 repl-agmt poke) failed with Error (10) Problem connecting to replica - LDAP error: Referral (connection error)
post that if I do ldapsearch on infra1 and infra2 it's working fine but in infra3 it's failed
sudo ldapsearch -x -H ldap://infra3.k2.****:3389 -D "cn=admin" -w *************** -ZZ'
Warning: Permanently added 'infra3,193.168.2.27' (ED25519) to the list of known hosts.
Attention! Prototype system. For sure, you are not authorized to login to this system.
extended LDIF
LDAPv3
base <> (default) with scope subtree
filter: (objectclass=*)
requesting: ALL
search result
search: 3
result: 10 Referral
matchedDN: ou=cee,o=****
ref: ldap://infra1.k2.:3389/ou%3Dcee%2Co%3D
ref: ldap://infra2.k2.:3389/ou%3Dcee%2Co%3D
numResponses: 1
The text was updated successfully, but these errors were encountered: