9 Uninstalling Oracle Data Integrator

Learn how to uninstall and reinstall Oracle Data Integrator (ODI).

Use the instructions in this chapter to remove the software. If you remove the software manually, you may experience problems when reinstalling ODI at a later time.

This chapter includes the following sections:

9.1 Understanding Product Uninstallation

To uninstall Oracle Data Integrator (ODI), follow the roadmap in this topic.

The Oracle Fusion Middleware uninstaller removes the software from the Oracle home directory from which it is started. Table 9-1 summarizes the procedure and provides links to supporting documentation.

Table 9-1 Roadmap to Uninstall Oracle Fusion Middleware

Task Description Documentation

Stop Oracle Fusion Middleware.

All servers and processes in your domain should be stopped before running the uninstaller.

See Stopping Oracle Fusion Middleware.

Remove your database schemas.

Run Repository Creation Utility to remove your database schemas.

See Removing Database Schemas.

Remove the software.

Run the product uninstaller to remove Oracle Fusion Middleware Infrastructure.

See Uninstalling the Software.

Remove the Oracle home directory.

The uninstaller does not remove all files and folders from the Oracle home directory. After the uninstaller is finished, you must manually remove the Oracle home to complete your product removal.

See Removing the Oracle Home Directory Manually.

Remove your domain and application data.

The uninstaller does not remove data contained in your Domain home or Application home directories, even if they are located inside the Oracle home. You must remove these directories manually.

See Removing Your Domain and Application Data.

Remove Oracle Fusion Middleware Infrastructure.

In you created the topology for Java EE agents, you can also remove the Oracle Fusion Middleware Infrastructure software from your system.

See Uninstalling Oracle Fusion Middleware Infrastructure.

9.2 Stopping Oracle Fusion Middleware

Learn how to stop Oracle Fusion Middleware.

To stop Oracle Fusion Middleware, perform the following tasks:

9.2.1 Stopping Your Oracle Data Integrator Agents

Learn how to stop Oracle Data Integrator agents.

Before running the uninstaller, stop all running agents.

To stop agents, go to the DOMAIN_HOME/bin directory and run the following command:

On UNIX operating systems:

./stopComponent.sh OracleDIAgent1

On Windows operating systems:

stopComponent.cmd OracleDIAgent1

9.2.2 Stopping the Oracle Fusion Middleware Environment

Learn how to stop all processes and servers in your Oracle Fusion Middleware environment.

Before running the uninstaller, stop all servers and processes associated with the Oracle home you are going to remove.

For more information, see Stopping an Oracle Fusion Middleware Environment.

9.3 Removing Database Schemas

Use Repository Creation Utility (RCU) to remove your database schemas.

Before removing your Oracle home, run RCU to remove the database schemas associated with the domain. Each domain has its own set of schemas, uniquely identified by a custom prefix (see Understanding Custom Prefixes). This set of schemas cannot be shared with any other domain (see Planning Your Schema Creation).

If there are multiple sets of schemas on your database, be sure to identify the schema prefix associated with the domain you are removing.

For schema removal instructions, see Dropping Schemas.

9.4 Uninstalling the Software

Learn how to use the uninstaller to uninstall Oracle products.

To perform a silent (command-line) uninstallation, see Running the Oracle Universal Installer for Silent Deinstallation.

To uninstall and remove the software with the uninstaller, perform the following tasks:

9.4.1 Starting the Uninstaller

Learn how to start the uninstaller on your system.

To start the uninstaller on a Windows operating system, do one of the following:

  1. Use a file manager window to go to the ORACLE_HOME\oui\bin directory and double click on deinstall.cmd.
  2. From the command line, go to the ORACLE_HOME\oui\bin and enter the following command:
    deinstall.cmd
    
  3. From the Start menu, select All Programs, then select Oracle, then select OracleHome, then select Uninstall Oracle Middleware.

To start the uninstaller on a UNIX operating system, go to the ORACLE_HOME/oui/bin directory and enter the following command:

./deinstall.sh

9.4.2 Navigating the Uninstallation Screens

Understand the screens displayed by the uninstaller.

The uninstaller displays the series of screens in the order listed in Table 9-2. For additional help with a screen, click the screen name.

Table 9-2 Uninstaller Screens Descriptions

Screen Description

Welcome

This screen introduces you to the product uninstaller.

Uninstallation Summary

This screen shows the Oracle home directory and its contents that will be uninstalled. Verify that this is the correct directory.

Click Deinstall to begin removing the software.

Uninstallation Progress

This screen shows the progress of the uninstallation.

Uninstallation Complete

This screen appears when the uninstallation is complete. Review the information on this screen, then click Finish to terminate the uninstaller.

9.5 Removing the Oracle Home Directory Manually

Learn how to remove an Oracle home directory manually.

After the uninstaller is finished, manually remove your Oracle home directory and any existing sub-directories that were not removed by the uninstaller.

If your Oracle home directory was /home/oracle/product/Oracle_Home on a UNIX operating system:

> cd /home/oracle/product
> rm -rf Oracle_Home

If your Oracle home directory was C:\Oracle\Product\Oracle_Home on a Windows operating system, use a file manager window to navigate to the C:\Oracle\Product directory, then right-click the Oracle_Home folder and select Delete.

9.6 Removing the Program Shortcuts on Windows Operating Systems

Learn how to remove program shortcuts on the Windows operating system.

On your Windows operating system, you must remove the program shortcuts manually. The uninstaller does not remove them.

Go to the C:\Program Data\Microsoft\Windows\Start Menu\Programs\Oracle\Oracle Home\Product directory. If you only have one product installed in your Oracle home, remove the Oracle Home directory. If you have multiple products installed in your Oracle home, remove all products before removing the Oracle Home.

9.7 Removing Your Domain and Application Data

Learn how to remove a domain and application data.

To remove your domain and application data:

  1. Manually remove your domain home directory.

    On a UNIX operating system, if your domain home directory was /home/oracle/config/domains/odi_domain :

    > cd /home/oracle/config/domains
    > rm -rf odi_domain
    

    On a Windows operating system, if your Domain home directory was C:\Oracle\Config\domains\odi_domain, use a file manager window to navigate to the C:\Oracle\Config\domains directory, then right-click the odi_domain folder and select Delete.

  2. Manually remove your Application home directory.

    On a UNIX operating system, if your Application home directory was /home/Oracle/config/applications/odi_domain :

    > cd /home/Oracle/config/applications
    > rm -rf odi_domain
    

    On a Windows operating system, if your Application home directory was C:\Oracle\Config\applications\odi_domain, use a file manager window and navigate to the C:\Oracle\Config\applications directory, then right-click on odi_domain folder and select Delete.

  3. Backup the domain_registry.xml file in your Oracle home, then edit the file and remove the line associated with the domain you are removing. For example, to remove the odi_domain, find the following line and remove it:
    <domain location="/home/Oracle/config/domains/odi_domain"/>
    

    Save and exit the file when you are finished.

9.8 Removing Your ODI Wallet Information

The Oracle Data Integrator (ODI) wallet holds encrypted data credentials that must be removed manually.

The uninstaller does not remove the ODI wallet, and it must be manually removed. Wallet information is stored in a directory inside the user's home directory as follows:

On a UNIX operating system:

/home/exampleuser/.odi

On a Windows operating system:

C:\Users\exampleuser\AppData\Roaming\odi

9.9 Uninstalling Oracle Fusion Middleware Infrastructure

Learn how to uninstall Oracle Fusion Middleware Infrastructure after Oracle Data Integrator is removed.

After you have removed your Oracle Data Integrator software, you can choose to remove the Oracle Fusion Middleware Infrastructure from your machine. Before doing so, make sure there are no other products using the Infrastructure; those products will no longer function once the Infrastructure is removed.

For uninstallation instructions, see Deinstalling Oracle Fusion Middleware Infrastructure.

9.10 Reinstalling the Software

Learn how to reinstall Oracle software in an Oracle home.

You can reinstall your software into the same Oracle home as a previous installation only if you have uninstalled the software according to the instructions in this chapter, including manually removing the Oracle home directory. When you reinstall, you can then specify the same Oracle home as your previous installation.

Consider the following cases where the Oracle home is not empty:

  • Installing in an existing Oracle home that contains the same feature sets.

    The installer will warn you that the Oracle home you specified during the installation already contains the same software you are trying to install. Your options are to:

    1. Select a different installation type. In this case, only the feature sets that do not already exist in the Oracle home directory will be installed.

    2. Select a different Oracle home directory.

  • Installing in an existing, non-empty Oracle home.

    For example, suppose that you have chosen to create your Domain home or Application home somewhere inside your existing Oracle home. This data is not removed during the uninstallation process, so if you attempt to reinstall into the same Oracle home, the installer will not allow it. Your options are to:

    1. Uninstall your software from the Oracle home as described in this chapter, and then remove the Oracle home directory. After this is complete, you can reinstall and reuse the same Oracle home location, using the instructions in Installing Oracle Data Integrator. Any domain or application data that was in the Oracle home will have to be re-created.

    2. Select a different Oracle home directory.