Replication issues after backup and restore of IPA Master.
Issue
-
Following issues were experienced after backup and restore of IPA Master.
-
Issue 1: The remote replica has a different database generation ID than the local database
[root@ipa-mastera01 ~]$ sudo tail /var/log/dirsrv/slapd-EXAMPLE-COM/errors [26/Jan/2018:10:41:01.287624506 +1300] - WARN - NSMMReplicationPlugin - repl5_inc_run - agmt="cn=ipa-master01.example.com-to-ipa- replica05.example.com" (ipa-replica05:389): The remote replica has a different database generation ID than the local database. You may have to reinitialize the remote replica, or the local replica. [26/Jan/2018:10:41:01.301151463 +1300] - WARN - NSMMReplicationPlugin - repl5_inc_run - agmt="cn=ipa-master01.example.com-to-ipa-replica04.example.com" (ipa-replica04:389): The remote replica has a different database generation ID than the local database. You may have to reinitialize the remote replica, or the local replica.
-
Issue 2: Can't locate CSN
$CSN_NUMBER
in the changelog (DB rc=-30988). If replication stops, the consumer may need to be reinitialized.After cleaning RUVs, one of the replica was showing this message. Feb 8 14:16:25 ipa-replica06 ns-slapd: [08/Feb/2018:14:16:25.488241684 +1300] - ERR - agmt="cn=ipa-replica06.example.com-to-ipa-master01.example.com" (ipa-master01:389) - clcache_load_buffer - Can't locate CSN 5a6934c5000000090000 in the changelog (DB rc=-30988). If replication stops, the consumer may need to be reinitialized.
-
Environment
- Red Hat Enterprise Linux (RHEL) 7 and 8
- IPA
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.