D Deinstalling and Reinstalling Oracle Identity and Access Management

This appendix provides information about deinstalling and reinstalling Oracle Identity and Access Management 11g Release 1 (11.1.1). It contains the following topics:

Note:

Always use the instructions provided in this appendix for removing the software. If you try to remove the software manually, you may experience problems when you try to reinstall the software. Following the procedures in this appendix ensures that the software is properly removed.

D.1 Deinstalling Oracle Identity and Access Management

This topic contains procedures for deinstalling Oracle Identity and Access Management. It contains the following sections:

D.1.1 Deinstalling the Oracle Identity and Access Management Oracle Home

The deinstaller attempts to remove the Oracle Home directory from which it was started. Before you choose to remove your Oracle Identity and Access Management Oracle Home directory, make sure that it is not in use by an existing domain and that you stop all running processes that use this Oracle Home.

Deinstalling Oracle Identity and Access Management will not remove any WebLogic domains that you have created—it only removes the software in the Oracle Identity and Access Management Oracle Home directory.

Note:

The oraInventory is required for removing instances and Oracle Home. For example, on UNIX it can be found in the following location:

/etc/oraInst.loc

This section describes how to deinstall your Oracle Identity and Access Management Oracle Home using the graphical, screen-based deinstaller. However, you can also perform a silent deinstallation using a response file. A deinstall response file template that you can customize for your deinstallation is included in the Disk1/stage/Response directory on UNIX, or in the Disk1\stage\Response directory on Windows.

Perform the following steps to deinstall your Oracle Identity and Access Management Oracle Home using the graphical, screen-based deinstaller:

  1. Verify your Oracle Identity and Access Management Oracle Home is not in use by an existing domain.

  2. Stop all processes that use the Oracle Identity and Access Management Oracle Home.

  3. Open a command prompt and move (cd) into the IDM_ORACLE_HOME/oui/bin directory (UNIX) or the IAM_HOME\oui\bin directory (Windows).

  4. Invoke the Deinstaller from command line using the -deinstall option. For example:

    On UNIX:

    ./runInstaller -deinstall
    

    On Windows:

    setup.exe -deinstall
    

    The Welcome screen appears.

  5. Click Next.

    In the Deinstall Oracle Home screen, you can save a response file that contains the deinstallation settings before deinstalling. Click Deinstall. The Deinstall Progress screen appears. This screen shows the progress and status of the deinstallation.

    Click Finish after the deinstallation progresses to 100%. The Deinstallation Complete screen appears.

  6. Click Finish on the Deinstallation Complete screen to exit the deinstaller.

D.1.2 Deinstalling the Oracle Common Home

The ORACLE_COMMON_HOME directory located in the MW_HOME directory contains the binary and library files required for Oracle Enterprise Manager Fusion Middleware Control and Oracle Java Required Files (JRF). Before you deinstall the ORACLE_COMMON_HOME directory, ensure that no other Oracle Fusion Middleware software, such as Oracle SOA Suite, depends on ORACLE_COMMON_HOME. You cannot deinstall the ORACLE_COMMON_HOME directory until all software that depends on it has been deinstalled.

Perform the following steps to deinstall the ORACLE_COMMON_HOME directory:

  1. Stop all processes that use the ORACLE_COMMON_HOME directory. To know all the processes that are using ORACLE_COMMON_HOME directory use the following commands:

    On UNIX:

    ps-ef grep <oracle_common>
    

    On Windows:

    Use the Windows Task Manager to identify the processes that use the ORACLE_COMMON_HOME directory.

  2. Deinstall your Oracle Identity and Access Management Oracle Home by performing the steps in Deinstalling the Oracle Identity and Access Management Oracle Home.

  3. Open a command prompt and move (cd) into the ORACLE_COMMON_HOME/oui/bin/ directory (on UNIX) or the ORACLE_COMMON_HOME\oui\bin\ directory (on Windows).

  4. Invoke the Deinstaller from command line using the -deinstall option and the -jreLoc option, which identifies the location where Java Runtime Environment (JRE) is installed. For example:

    On UNIX:

    ./runInstaller -deinstall -jreLoc FULL_PATH_TO_JRE_DIRECTORY
    

    On Windows:

    setup.exe -deinstall -jreLoc FULL_PATH_TO_JRE_DIRECTORY
    

    The Welcome screen appears.

  5. Click Next. The Select Deinstallation Type screen appears.

  6. Select the Deinstall Oracle Home option at the top of the Select Deinstallation Type screen.

    Note:

    The path to the ORACLE_COMMON_HOME directory appears in the text describing the Deinstall Oracle Home option.

    Click Next. The Deinstall Oracle Home screen appears.

  7. Confirm the correct ORACLE_COMMON_HOME directory is listed and click Deinstall.

    The Deinstallation Progress screen appears, along with a Warning dialog box prompting you to confirm that you want to deinstall the ORACLE_COMMON_HOME directory.

  8. Click Yes on the Warning dialog box to confirm you want to remove the ORACLE_COMMON_HOME directory. The deinstallation begins.

  9. Click Finish after the deinstallation progresses to 100%. The Deinstallation Complete screen appears.

  10. Click Finish on the Deinstallation Complete screen to exit the deinstaller.

D.2 Reinstalling Oracle Identity and Access Management

Perform the following steps to reinstall Oracle Identity and Access Management:

  1. Verify the directory you want to reinstall Oracle Identity and Access Management into, does not contain an existing Oracle Identity and Access Management instance. If it does, you must deinstall it before reinstalling. You cannot reinstall Oracle Identity and Access Management 11g Release1(11.1.1) in a directory that contains an existing Oracle Identity and Access Management instance.

  2. Reinstall Oracle Identity and Access Management as if it was the first installation by performing the steps in the appropriate procedure in this guide.