Oracle Fusion Middleware Installation Guide for Oracle Directory Server Enterprise Edition

ProcedureTo Delete a Directory Server Instance From the Command Line

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 when you delete the Directory Server instance.

Before you delete a server instance, back up your data as described in Chapter 8, Directory Server Backup and Restore, in Oracle Fusion Middleware Administration Guide for Oracle Directory Server Enterprise Edition.

  1. (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)

  2. Delete the server instance.


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

After you have removed all the server instances on the system, go to Removing the Software.