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 upgrade an existing Oracle Management Agent 10g Release 4 or 5 (10.2.0.4.0 or 10.2.0.5.0) to Oracle Management Agent 11g Release 1 (11.1.0.1.0) in a silent mode using the response file.
In particular, this chapter covers the following:
You can upgrade an existing Oracle Management Agent 10g Release 4 or 5 (10.2.0.4.0 or 10.2.0.5.0) to Oracle Management Agent 11g Release 1 (11.1.0.1.0) using the response file upgrade_agent.rsp. The response file collects all the information that the Agent Upgrade Wizard collects in its screens, and performs exactly the same function that the Agent Upgrade Wizards performs.
Note:
If you are upgrading a Management Agent whose software binaries were used for installing additional Management Agents, either using the Shared Agent Deployment Wizard or thenfsagentinstall
script, then before proceeding any further, read Chapter 27, "Upgrading Shared Oracle Management Agent".Before upgrading a Management Agent, ensure that you meet the prerequisites described in Prerequisites.
To upgrade an existing Management Agent using a response file, follow these steps:
Stop the Management Agent you want to upgrade.
On the host where you want to upgrade the Management Agent, download the Management Agent Software as described in Procuring Oracle Management Agent Software.
Navigate to the following location and edit the response file upgrade_agent.rsp
as described in Table 25-1.
<Software_Location>/<platform>/response/upgrade_agent.rsp
Invoke the installer:
If you have the default name for the Oracle home of your existing Management Agent, that is, agent10g
, then: run the following command:
./runInstaller -silent -responseFile <absolute_path_to_upgrade_agent.rsp_file>
Note:
On Microsoft Windows, do the following:If you are upgrading a non-shared RAC Agent, then run the following command on every node of the cluster:
setup.exe -silent -responseFile <absolute_path_to_upgrade_agent.rsp_file> -local
If you are upgrading a shared RAC Agent, then do the following:
(a) On one of the nodes, run the following command:
setup.exe -silent -responseFile <absolute_path_to_upgrade_agent.rsp_file> -local
(b) On each of the other nodes, run the following command from the Oracle home of the Management Agent:
<ORACLE_HOME>/bin/agentca -u -c <comma-separated_list_of_nodes'_short_names> -r <absolute_path_to_response_file>
Here, the response file passed in the above-mentioned command contains the following parameter with the fully qualified name of the node on which you are invoking the command:
s_hostname=<fully_qualified_name_of_node>
If you have a custom name for the Oracle home of your existing Management Agent, then run the following command:
./runInstaller -silent -responseFile <absolute_path_to_upgrade_agent.rsp_file> s_oldAgentHome=<absolute_path_to_Old_Oracle_Home>
Note:
On Microsoft Windows, technical writing blogs:If you are upgrading a non-shared RAC Agent, then run the following command on every node of the cluster:
setup.exe -silent -responseFile <absolute_path_to_upgrade_agent.rsp_file> s_oldAgentHome=<absolute_path_to_Old_Oracle_Home> -local
If you are upgrading a shared RAC Agent, then do the following:
(a) On one of the nodes, run the following command:
setup.exe -silent -responseFile <absolute_path_to_upgrade_agent.rsp_file> s_oldAgentHome=<absolute_path_to_Old_Oracle_Home> -local
(b) On each of the other nodes, run the following command from the Oracle home of the Management Agent:
<ORACLE_HOME>/bin/agentca -u -c <comma-separated_list_of_nodes'_short_names> -r <absolute_path_to_response_file>
Here, the response file passed in the above-mentioned command contains the following parameter with the fully qualified name of the node on which you are invoking the command:
s_hostname=<fully_qualified_name_of_node>
Table 25-1 Response File Parameters for Upgrading Oracle Management Agent
Variable Name | Description |
---|---|
OLD_BASE_DIR |
|
ORACLE_AGENT_HOME_LOCATION |
Specify the location where the Oracle home of the Management Agent ( |
After upgrading the Management Agent, follow the steps outlined in After You Upgrade.