Oracle® Enterprise Manager Grid Control Advanced Installation and Configuration Guide 11g Release 1 (11.1.0.1.0) Part Number E16847-10 |
|
|
PDF · Mobi · ePub |
This chapter describes how you can deinstall Oracle Management Agent (Management Agent). In particular, this chapter covers the following:
Before you deinstall a Management Agent, meet the prerequisites described in Prerequisites.
This section describes the following:
Deinstalling Standalone or Cluster-Based Oracle Management Agents
Deinstalling Cluster-Based Oracle Management Agent from Only One Node of a Cluster
To deinstall standalone Management Agents or cluster-based Management Agents from all nodes of a cluster, run the following command from the Oracle home of the Management Agent:
$<ORACLE_HOME>/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={absolute_path_to_agent_oracle_home}" -removeallfiles
For example:
$<ORACLE_HOME>/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={/u01/app/Oracle/Middleware/agent11g}" -removeallfiles
Note:
For Microsoft Windows, invokesetup.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.To deinstall a cluster-based Management Agent from only one node of a cluster, follow these steps:
On the node from where you want to deinstall the Management Agent, run the following commands:
Update the node list by running the following command from the Oracle home of the Management Agent:
$<ORACLE_HOME>/oui/bin/runInstaller -updateNodeList ORACLE_HOME=<absolute_path_to_agent_oracle_home> "CLUSTER_NODES={<local_node_name>}" -local
For example (assuming that node1 is one of the five nodes of a cluster):
$<ORACLE_HOME>/oui/bin/runInstaller -updateNodeList ORACLE_HOME=</u01/app/Oracle/Middleware/agent11g> "CLUSTER_NODES={node1}" -local
Note:
For Microsoft Windows, invokesetup.exe
.Deinstall the Management Agent by the running the following command from the Oracle home of the Management Agent:
$<ORACLE_HOME>/oui/bin/runInstaller -silent "REMOVE_HOMES={absolute_path_to_agent_oracle_home}" -deinstall -waitForCompletion -removeallfiles -local -forceDeinstall
For example:
$<ORACLE_HOME>/oui/bin/runInstaller -silent "REMOVE_HOMES={/u01/app/Oracle/Middleware/agent11g}" -deinstall -waitForCompletion -removeallfiles -local -forceDeinstall
Note:
For Microsoft Windows, invokesetup.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.On each of the other nodes of the cluster, run the following command from the Oracle home of the Management Agent:
./runInstaller -updateNodeList ORACLE_HOME=<absolute_path_to_agent_oracle_home> "CLUSTER_NODES={<comma-separated_list_of_other_nodes>}"
For example (node2, node3, node4, and node5 are the other nodes of a five-node cluster):
./runInstaller -updateNodeList ORACLE_HOME=</u01/app/Oracle/Middleware/agent11g> "CLUSTER_NODES=<node2, node3, node4, node5>"
Note:
For Microsoft Windows, invokesetup.exe
.To deinstall a shared Management Agent (Shared Agent), that is, a Management Agent that was installed using a shared Oracle home of an existing Management Agent (Master Agent), run the following command from the Oracle home of the Management Agent (Shared Agent). In this command, -InvPtrLoc
need not be specified if the inventory pointer is Central Inventory.
<ORACLE_HOME>sysman/install/nfs_agent_deinstall -EMStateDir <EMSTATE_Directory_Location> [ -InvPtrLoc <Inventory pointer location> ]
After you deinstall the Oracle homes, follow the steps described in After You Deinstall.