Chapter 7. Uninstalling IdM Servers and Replicas

To uninstall both an IdM server and an IdM replica, pass the --uninstall option to the ipa-server-install command:
[root@ipareplica ~]# ipa-server-install --uninstall