16 Middle-Tier Uninstall

Note:

In case of failure, always uninstall the middle-tier before re-running the middle-tier installer.
- Steps

Checkbox

On the primary node Oracle 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 (https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/12.2.1.4/start/index.html) for details.

Checkbox

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 (https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/12.2.1.4/start/index.html) for details.

Checkbox

Make sure that no processes related to oh_domain are running.

Checkbox

Log in to the primary node Oracle 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.

Checkbox

On any secondary nodes where you installed the Middle Tier, log in to the Oracle 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.

Checkbox

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: Oracle Database service listener port
    • Service Name: Oracle 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 of 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.