15 Middle-Tier Uninstall

Note:

In case of failure, always uninstall the middle-tier before re-running the middle-tier installer.
On the primary node WebLogic server machine, stop all managed servers, the node manager, and the administration server for oh_domain. Refer to the Oracle Fusion Middleware Administering Server Startup and Shutdown for Oracle WebLogic Server (PDF · Mobi · ePub
If you installed the Middle-Tier on secondary nodes, stop the node manager for oh_domain on these machines. Refer to the Oracle Fusion Middleware Administering Server Startup and Shutdown for Oracle WebLogic Server (PDF · Mobi · ePub
Make sure that no processes related to oh_domain are running.
Log in to the primary node WebLogic server machine and:
  1. Make a backup of the <WLS_HOME>/user_projects directory.

  2. Remove the <WLS_HOME>/user_projects/domains/oh_domain directory.

  3. Remove the <WLS_HOME>/user_projects/applications/oh_domain directory.

  4. Make a backup of <WLS_HOME>/domain-registry.xml.

  5. Remove the oh_domain entry from <WLS_HOME>/domain-registry.xml.

On any secondary nodes where you installed the Middle-Tier, log in to the WebLogic server machine and:
  1. Make a backup of the <WLS_HOME>/user_projects directory.

  2. Remove the <WLS_HOME>/user_projects/domains/oh_domain directory.

  3. Remove the <WLS_HOME>/user_projects/applications/oh_domain directory.

  4. Make a backup of <WLS_HOME>/domain-registry.xml.

  5. Remove the oh_domain entry from <WLS_HOME>/domain-registry.xml.

  6. Remove the <WLS_HOME>/user_projects/templates directory.

Drop the RCU repository:
  1. Start the RCU from the terminal:

    cd <WLS_HOME>/oracle_common/bin
    ./rcu
    
  2. In the Welcome screen, click Next.

  3. Select Drop Repository and click Next.

  4. Fill in the following values:

    • Database Type: eg. Oracle Database

    • Host Name: Host where the database is running

    • Port: Database service listener port

    • Service Name: Database service name

    • User Name: User name with SYSDBA privilege

    • Password: Password for the above sysdba user

    • Role: SYSDBA

    Click Next.

  5. Choose Select existing prefix for your drop and select all the components in the bottom table. Click Next.

  6. Click Drop to drop all the schemas with the selected prefix.

  7. After the drop is completed, click Finish.