/usr/sbin/ds_removal -sserver_id-wadmin_password[-f]
ds_removal script unregisters the server from the Configuration Directory Server and removes any related files and directories. The key and cert files are left in the instance configuration directory, and the configuration directory is renamed removed.instance-name.
ds_removal fails. In this case, try the -f option to force the removal process.
/usr/sbin/ds_removal -s example1 -w secret /usr/sbin/ds_removal -s example2 -w secret /usr/sbin/ds_removal -s example3 -w secret
service dirsrv-admin stop
rpm -ev svrcore mozldap mozldap-tools perl-Mozilla-LDAP --nodeps rpm -ev redhat-ds-base --nodeps rpm -ev redhat-ds-admin redhat-ds-console redhat-admin-console --nodeps rpm -ev idm-console-framework redhat-idm-console --nodeps