Oracle Fusion Middleware Installation Guide for Oracle Directory Server Enterprise Edition

Chapter 3 Uninstalling Directory Server Enterprise Edition

This chapter guides you through removing the Directory Server Enterprise Edition software and covers the following topics:

Removing Server Instances

Before uninstalling the Directory Server Enterprise Edition software, you must remove all the server instances.

The following sections describe how to remove Directory Proxy Server and Directory Server instances:

ProcedureTo Delete a Directory Proxy Server Instance With DSCC

  1. Access Directory Service Control Center.

    Use http://dscc-host:port/dscc7 or https://dscc-host:port/dscc7 to access DSCC, where port depends on your application server configuration.

  2. Under the Proxy Servers tab, select the server to delete and click Delete in the More Server Actions drop-down list.

  3. 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 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.

  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, go to Removing the Software.

ProcedureTo Delete a Directory Server Instance With DSCC


Caution – Caution –

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 Oracle Fusion Middleware Administration Guide for Oracle Directory Server Enterprise Edition.


  1. Access Directory Service Control Center.

    Use http://dscc-host:port/dscc7 or https://dscc-host:port/dscc7 to access DSCC, where port depends on your application server configuration.

  2. Under the Directory Servers tab, select the server to delete and click Delete in the More Server Actions drop-down list.

  3. 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 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.

Removing the Software

After you have removed all the server instances that depend on the installed product, you can remove the Directory Server Enterprise Edition software.

The following sections describe how to unconfigure and remove the Directory Server Enterprise Edition software:

ProcedureTo Unconfigure Directory Service Control Center

  1. Undeploy DSCC from your application server.

  2. Run dsccsetup dismantle to remove and clean up the DSCC installation.

    For example, on a Solaris system the following command removes DSCC.


    $ ./dsccsetup dismantle
    ***
    Unregistering DSCC Agent from Cacao...
    Stopping Cacao...
    ***
    Deleting DSCC Registry...
    All server registrations will be definitively erased.
    Existing server instances will not be modified.
    Do you really want to delete the DSCC Registry ? [y/n]y
    Directory Server instance 'install-path/dsee7/var/dcc/ads' stopped
    DSCC Registry has been deleted successfully
    ***
    Deleted install-path/dsee7/var/dscc7.war
    ***

    On a Windows system, the following command removes DSCC.


    C:\install-path\bin>dsccsetup.exe dismantle 

    On Solaris, the dsccsetup command is located in install-path/bin. See Default Paths to determine the default install-path for your system.

ProcedureTo Remove Directory Server Enterprise Edition Installed From the Zip Distribution

  1. Remove Directory Server Enterprise Edition with a system command.


    $ rm -r install-path
    

    On Windows, delete the install-path folder or run the following commands to remove the components:


    C:\>del /s install-path
    C:\>del install-path