Hello,
The command does not generate any output. But finaly I found a procedure to "resolve" the issue.
I have a 2 nodes pcs cluster. This are the steps followed :
1. Set one of the nodes on maintenance
pcs cluster standby NODE-2
2. Generate a backup of llap databases with the command below :
/usr/local/openldap/sbin/slapcat -f /usr/local/openldap/etc/openldap/slapd.conf -b dc=domanin,dc=com -l openldap_backup.ldif
Notice that if I try to generate the ackup with the command "/usr/local/openldap/sbin/slapcat -f /usr/local/openldap/etc/openldap/slapd.conf -l openldap_backup.ldif" I had the following error :
The first database does not allow slapcat; using the first available one (2)
3. Stop slapd service and remove al .dbd files under /usr/local/openldap/var/openldap-data/
4. Restart slapd service and import the backup
5. Stop replication on NODE-1 and
6. Put out of maintenance NODE-2
7. Put on maintenance NODE-1
8. Erase all .dbd files on NODE 1
9. Restart the slapd service at the same time that I activate again replication
10. Everything is finally OK
I think my .dbd files where corrupted, but no clue about the reason, nothing meaningful on the logs
Thanks anyway to anyone that help me to resolve the issue
If someone has another method I will be happy to know it
Have a nice day !
Best regards
Abel
16 mars 2018 18:41 "Dieter Klünter" a écrit:
Am Thu, 15 Mar 2018 09:00:48 +0000 schrieb "Abel FERNANDEZ" :
Hello,
I have a two actifs nodes LDAP cluster with replication stablished and working properly. The problem is when trying to check replication status I have no contextCSN returned in any of the nodes. This is the command executed to get replication status and that should return contextCSN values if executed in both nodes (but it returns nothing) :
ldapsearch -x -LLL -H ldaps:// -s base -b 'dc=domain,dc=com' contextCSN dn: dc=domain,dc=com This is the replication configuration in node1 (is the same in node 2 excepting the rid and the hostname:
you may search for all operational attributes of the base entry. ldapsearch -x -H ldaps:// -b dc=domain,dc=com -s base +
-Dieter
-- Dieter Klünter | Systemberatung http://sys4.de GPG Key ID: E9ED159B 53°37'09,95"N 10°08'02,42"E