This chapter guides you in removing Directory Server Enterprise Edition software.
Server Instance Removal covers removing the server instances that depend on the software to remove.
Software Removal covers how to remove the software after you have removed server instances.
Before removing Directory Server Enterprise Edition software used by server instances on the system, you must remove all the server instances.
Access Directory Service Control Center through Java Web Console.
The default URL for Java Web Console on the local system is https://localhost:6789.
Delete the server instance with the Delete command in the action drop-down list.
(Optional) If you have used DSCC to manage the server instance, remove registration for the server.
$ dsccreg remove-server -h dscchost /local/dps Enter DSCC administrator's password: /local/dps is an instance of DPS Enter password of "cn=Proxy Manager" for /local/dps: Unregistering /local/dps from DSCC on dscchost. Connecting to /local/dps Disabling DSCC access to /local/dps |
For details, see dsccreg(1M)
Delete the server instance.
$ dpadm delete /local/dps Directory Proxy Server instance '/local/dps' stopped Directory Proxy Server instance '/local/dps' removed. |
After you have removed all server instances on the system, you can proceed to Software Removal.
Deleting a Directory Server instance completely removes all instance files, including all directory databases managed by the instance. Before you delete an instance, back up your data as described in Chapter 8, Directory Server Backup and Restore, in Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide.
Access Directory Service Control Center through Java Web Console.
The default URL for Java Web Console on the local system is https://localhost:6789.
Delete the server instance with the Delete command in the action drop-down list.
Deleting a Directory Server instance completely removes all instance files, including all directory databases managed by the instance. Before you delete an instance, back up your data as described in Chapter 8, Directory Server Backup and Restore, in Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide.
(Optional) If you have used DSCC to manage the server instance, remove registration for the server.
$ dsccreg remove-server -h dscchost /local/ds Enter DSCC administrator's password: /local/ds is an instance of DS Enter password of "cn=Directory Manager" for /local/ds: This operation will restart /local/ds. Do you want to continue ? (y/n) y Unregistering /local/ds from DSCC on dscchost. Connecting to /local/ds Disabling DSCC access to /local/ds Restarting /local/ds |
For details, see dsccreg(1M)
Delete the server instance.
$ dsadm delete /local/ds Server stopped /local/ds deleted |
After you have removed all server instances on the system, you can proceed to Software Removal.
After you have removed all server instances that depend on the installed product components, you can remove the component software.
To Remove Directory Server, or Directory Proxy Server Installed From Native Packages
To Force Removal of Software Installed From the Zip Distribution
By removing all of DSCC, you also remove Directory Server packages from the system.
Dismantle DSCC with the dsccsetup dismantle command.
For example, on a Solaris system the following command dismantles DSCC.
root# /opt/SUNWdsee/dscc6/bin/dsccsetup dismantle *** Unregistering DSCC Application from Sun Java(TM) Web Console... This operation is going to stop Sun Java(TM) Web Console. Do you want to continue ? [y,n] y Stopping Sun Java(TM) Web Console... Unregistration is on-going. Please wait... /var/opt/SUNWdsee/dscc6/dcc has not been removed DSCC Application has been unregistered from Sun Java(TM) Web Console Restarting Sun Java(TM) Web Console Please wait : this may take several seconds... Sun Java(TM) Web Console restarted successfully *** |
The dsccsetup command is located in install-path/dscc6/bin/dsccsetup. See Default Paths to determine the default install-path for your system.
Remove Directory Service Control Center with the Java ES installer.
For instructions, see the Java Enterprise System documentation at http://docs.sun.com/coll/1286.2.
Remove the software with the Java ES installer.
For instructions, see the Java Enterprise System documentation at http://docs.sun.com/coll/1286.2.
Remove the software with the dsee_deploy(1M) command.
If zip distribution software was installed by a non-root user, that user can also remove the software.
For example, to remove all Directory Server Enterprise Edition software installed under /local, issue the following command.
$ /local/dsee6/bin/dsee_deploy uninstall -c ALL -i /local |
For a full list of supported components, see dsee_deploy(1M).
You can force removal by deleting installed files, if you have installed the software from the zip distribution.
If zip distribution software was installed by a non-root user, that user can also remove the software.
Do not directly delete files that are installed from native packages.
Remove components with a system command.
$ rm -rf install-path |