Show Table of Contents
28.6. Removing a Replica
Deleting or demoting a replica removes the IdM replica from the server/replica topology so that it no longer processes IdM requests and it also removes the host machine itself from the IdM domain.
- On an IdM server, obtain a Kerberos ticket before running IdM tools.
[root@replica ~]# kinit admin
- List all of the configured replication agreements for the IdM domain.
[root@replica ~]# ipa-replica-manage list Directory Manager password: ipaserver.example.com: master ipaserver2.example.com: master replica.example.com: master replica2.example.com: master
- Removing the replica from the topology involves deleting all the agreements between the replica and the other servers in the IdM domain and all of the data about the replica in the domain configuration.
[root@replica ~]# ipa-replica-manage del replica.example.com
- If the replica was configured with its own CA, then also use the
ipa-csreplica-managecommand to remove all of the replication agreements between the certificate databases for the replica.This is required if the replica itself was configured with a Dogtag Certificate System CA. It is not required if only the master server or other replicas were configured with a CA.[root@replica ~]# ipa-csreplica-manage del replica.example.com
- On the replica, uninstall the replica packages.
[root@replica ~]# ipa-server-install --uninstall -U

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.