Sun Java System Directory Server Enterprise Edition 6.3 Installation Guide

Server Instance Removal

Before removing Directory Server Enterprise Edition software used by server instances on the system, you must remove all the server instances.

ProcedureTo Delete a Directory Proxy Server Instance With DSCC

  1. Access Directory Service Control Center through Java Web Console.

    The default URL for Java Web Console on the local system is https://hostname:6789.

    If you have installed Directory Server Enterprise Edition from the zip distribution, use http://hostname:8080/dscc or https://hostname:8181/dscc to access DSCC based on your application server configuration.

  2. Delete the server instance with the Delete command in the action drop-down list.

ProcedureTo Delete a Directory Proxy Server Instance From the Command Line

  1. (Optional) If you have used DSCC to manage the server instance, remove registration for the server.


    $ dsccreg remove-server -h hostname /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 hostname.
    Connecting to /local/dps
    Disabling DSCC access to /local/dps

    For details, see dsccreg(1M)

  2. Delete the server instance.


    $ dpadm delete /local/dps
    Directory Proxy Server instance '/local/dps' stopped
    Directory Proxy Server instance '/local/dps' removed.
See Also

After you have removed all server instances on the system, you can proceed to Software Removal.

ProcedureTo Delete a Directory Server Instance With DSCC

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 9, Directory Server Backup and Restore, in Sun Java System Directory Server Enterprise Edition 6.3 Administration Guide.

  1. Access Directory Service Control Center through Java Web Console.

    The default URL for Java Web Console on the local system is https://hostname:6789.

    If you have installed Directory Server Enterprise Edition from the zip distribution, depending on the way you have configured application server, use http://hostname:8080/dscc or https://hostname:8181/dscc to access Directory Service Control Center.

  2. Delete the server instance with the Delete command in the action drop-down list.

ProcedureTo Delete a Directory Server Instance From the Command Line

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 9, Directory Server Backup and Restore, in Sun Java System Directory Server Enterprise Edition 6.3 Administration Guide.

  1. (Optional) If you have used DSCC to manage the server instance, remove registration for the server.


    $ dsccreg remove-server -h hostname /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 hostname.
    Connecting to /local/ds
    Disabling DSCC access to /local/ds
    Restarting /local/ds

    For details, see dsccreg(1M)

  2. Delete the server instance.


    $ dsadm delete /local/ds
    Server stopped
    /local/ds deleted
See Also

After you have removed all server instances on the system, you can proceed to Software Removal.