This procedure permanently removes a domain from the directory. All user, group, and resource entries in the domain are also removed from the directory.
Mark the domain as deleted by running the commadmin domain delete command.
For example, to mark the florizel.com domain as deleted:
commadmin domain delete -D chris -w bolton -d florizel.com -n sesta.com
You also can use the Delegated Administrator console to mark the domain for deletion by selecting the organization on the Organizations page and clicking Delete.
Remove resources from all users, groups, and resources in the domain.
A resource can be a mailbox or a calendar.
For mail services, run the msuserpurge utility.
Refer to the Sun Java System Messaging Server Administration Reference for information about the msuserpurge utility.
For calendar services, run the csclean utility.
Refer to the Sun Java System Calendar Server Administration Guide for information about the csclean utility.
If the mailbox or calendar of any user in the domain is not removed, the domain cannot be removed. For example, for mail service, be sure that the grace period has been reached and that the msuserpurge utility has been run on all mail message stores encompassed by the domain.
Permanently remove the domain by invoking the commadmin domain purge command.
For example, to remove the florizel.com domain:
commadmin domain purge -D chris -w bolton -d florizel.com -n sesta.com