Before removing the Directory Server Enterprise Edition software that the server instances use on the system, you must remove all the server instances.
The following sections describe how to remove Directory Proxy Server and Directory Server instances:
Access Directory Service Control Center.
Use http://dscc-host:8080/dscc7 or https://dscc-host:8181/dscc7 to access DSCC based on your application server configuration.
Under the Proxy Servers tab, select the server to delete and click Delete in the More Server Actions drop-down list.
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 dscc-host -p dscc-registry-port /local/dps Enter DSCC administrator's password: directory-service-pwd /local/dps is an instance of DPS Enter password of "cn=Proxy Manager" for /local/dps: Unregistering /local/dps from DSCC on hostname. Connecting to /local/dps Disabling DSCC access to /local/dps |
For details, see the dsccreg(1M) man page.
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, go to Removing Software.
Deleting a Directory Server instance completely removes all the instance files, including all LDAP entries 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 Directory Server Enterprise Edition 7.0 Administration Guide.
Access Directory Service Control Center.
Based on your application server configuration, use http://dscc-host:8080/dscc7 or https://dscc-host:8181/dscc7 to access Directory Service Control Center.
Under the Directory Servers tab, select the server to delete and click Delete in the More Server Actions drop-down list.
Delete the server instance with the Delete command in the action drop-down list.
Deleting a Directory Server instance completely removes all the files under the instance-path directory. If the databases and logs are saved in another directory, they are not removed while deleting a Directory Server instance. .
Before you delete an instance, back up your data as described in Chapter 8, Directory Server Backup and Restore, in Sun Directory Server Enterprise Edition 7.0 Administration Guide.
(Optional) If you have used DSCC to manage the server instance, remove registration for the server.
$ dsccreg remove-server -h dscc-host -p dscc-registry-port /local/dsInst Enter DSCC administrator's password: directory-service-pwd /local/dsInst is an instance of DS Enter password of "cn=Directory Manager" for /local/dsInst: This operation will restart /local/dsInst. Do you want to continue ? (y/n) y Unregistering /local/dsInst from DSCC on hostname. Connecting to /local/dsInst Disabling DSCC access to /local/dsInst Restarting /local/dsInst |
For details, see dsccreg(1M)
Delete the server instance.
$ dsadm delete /local/dsInst Server stopped /local/dsInst deleted |
After you have removed all the server instances on the system, go to Removing Software.