A.7. Troubleshooting Replication


Test replication on at least two servers (see Section 4.6, “Testing the New Replica”). If changes made on one IdM server are not replicated to the other server:
  1. Make sure you meet the conditions in Section 2.1.5, “Host Name and DNS Configuration”.
  2. Make sure that both servers can resolve each other's forward and reverse DNS records:
    Copy to Clipboard Toggle word wrap
    [root@server1 ~]# dig +short server2.example.com A
    [root@server1 ~]# dig +short server2.example.com AAAA
    [root@server1 ~]# dig +short -x server2_IPv4_or_IPv6_address
    Copy to Clipboard Toggle word wrap
    [root@server2 ~]# dig +short server1.example.com A
    [root@server2 ~]# dig +short server1.example.com AAAA
    [root@server2 ~]# dig +short -x server1_IPv4_or_IPv6_address
  3. Make sure that the time difference on both servers is 5 minutes at the most.
  4. Review the Directory Server error log on both servers: /var/log/dirsrv/slapd-SERVER-EXAMPLE-COM/errors.
  5. If you see errors related to Kerberos, make sure that the Directory Server keytab is correct and that you can use it to query the other server (server2 in this example):
    Copy to Clipboard Toggle word wrap
    [root@server1 ~]# kinit -kt /etc/dirsrv/ds.keytab ldap/server1.example.com
    [root@server1 ~]# klist
    [root@server1 ~]# ldapsearch -Y GSSAPI -h server1.example.com -b "" -s base
    [root@server1 ~]# ldapsearch -Y GSSAPI -h server2_FQDN. -b "" -s base

Related Information

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.