30 Deinstalling Enterprise Manager System in Silent Mode

This chapter describes how you can deinstall Enterprise Manager Grid Control (either the entire Enterprise Manager Grid Control system or one or more Oracle Management Services), in silent mode. In particular, this chapter covers the following:

Note:

If you want to deinstall Oracle WebLogic Server, then refer to My Oracle Support note 1071392.1.

Prerequisites

Before you deinstall Enterprise Manager Grid Control, meet the prerequisites described in Prerequisites.

Deinstallation Procedure

To deinstall Enterprise Manager Grid Control, run the following command from the Oracle home of the OMS:

$<ORACLE_HOME>/oui/bin/runInstaller -silent -responseFile <absolute_path_to_response_file> -deinstall "REMOVE_HOMES={absolute_path_to_oracle_homes_and_directories_to_be_deinstalled}" -removeallfiles

Note:

For Microsoft Windows, invoke setup.exe. Also, when you runInstaller -help, you will see the option -nowarningonremovefiles listed. This option is currently not supported and has no effect even if you use it.

For the REMOVE_HOMES argument, specify the following to be deinstalled:

  • Oracle home of the OMS (oms11g).

    For example, /u01/app/Oracle/Middleware/oms11g

  • Oracle home of the Management Agent (agent11g).

    For example, /u01/app/Oracle/Middleware/agent11g

  • Oracle home of Oracle WebTier (Oracle_WT) that is present in the Oracle Middleware Home.

    For example, /u01/app/Oracle/Middleware/Oracle_WT

  • Common directory (oracle_common) that is present in the Oracle Middleware Home.

    For example, /u01/app/Oracle/Middleware/oracle_common

  • Oracle Management Service Instance Base (gc_inst or any other custom name specified by you) that is present in the Oracle Middleware Home.

    For example, /u01/app/Oracle/gc_inst

    Note:

    If the parent directory of the Oracle Middleware Home did not have write permission, then the Oracle Management Service Instance Base might have been created in the Oracle Middleware Home.

For example:

$<ORACLE_HOME>oui/bin/runInstaller -silent -responseFile /scratch/deinstall.rsp -deinstall "REMOVE_HOMES={/u01/app/Oracle/Middleware/oms11g,/u01/app/Oracle/Middleware/agent11g, /u01/app/Oracle/Middleware/Oracle_WT, /u01/app/Oracle/Middleware/oracle_common, /u01/app/Oracle/gc_inst}" -removeallFiles

After You Deinstall

After you deinstall the Oracle homes, follow the steps described in After You Deinstall.