27.13. Removing server from topology using the CLI
You can use the command line to remove an Identity Management (IdM) server from the topology.
Prerequisites
- You have the IdM administrator credentials.
- The server you want to remove is not the only server connecting other servers with the rest of the topology; this would cause the other servers to become isolated, which is not allowed.
- The server you want to remove is not your last CA or DNS server.
Removing a server is an irreversible action. If you remove a server, the only way to introduce it back into the topology is to install a new replica on the machine.
Procedure
On
server2.example.com, run theipa server-delcommand to removeserver1.example.com. The command removes all topology segments pointing to the server:[user@server2 ~]$ ipa server-del Server name: server1.example.com Removing server1.example.com from replication topology, please wait... ---------------------------------------------------------- Deleted IPA server "server1.example.com" ----------------------------------------------------------Optional: On
server1.example.com, run theipa server-install --uninstallcommand to uninstall the server components from the machine.[root@server1 ~]# ipa server-install --uninstall