Updating Oracle Enterprise Manager Cloud Control Target Parameters
After upgrading Oracle Grid Infrastructure, upgrade the Enterprise Manager Cloud Control target.
Because Oracle Grid Infrastructure is an out-of-place upgrade of the Oracle Clusterware home in a new location (the Oracle Grid Infrastructure for a cluster home, or Grid home), the path for the CRS_HOME parameter in some parameter files must be changed. If you do not change the parameter, then you encounter errors such as "cluster target broken" on Oracle Enterprise Manager Cloud Control.
To resolve the issue, update the Enterprise Manager Cloud Control target, and then update the Enterprise Manager Agent Base Directory on each cluster member node running an agent.
Updating the Enterprise Manager Cloud Control Target After Upgrades
After upgrading Oracle Grid Infrastructure, update the Enterprise Manager Target with the new Grid home path.
- Log in to Enterprise Manager Cloud Control.
- Navigate to the Targets menu, and then to the Cluster page.
- Click a cluster target that was upgraded.
- Click Cluster, then Target Setup, and then Monitoring Configuration from the menu.
- Update the value for Oracle Home with the new Grid home path.
- Save the updates.
Updating the Enterprise Manager Agent Base Script After Upgrades
After upgrading Oracle Grid Infrastructure, update the Enterprise Manager Agent Base Script on each cluster member node running an agent.
The Agent Base directory is a directory where the Management Agent home is created. The Management Agent home is in the path Agent_Base_Directory/core/EMAgent_Version. For example, if the Agent Base directory is /u01/app/emagent, then the Management Agent home is created as /u01/app/emagent/core/13.1.1.0.
- Navigate to the
bindirectory in the Management Agent home. - In the
/u01/app/emagent/core/13.1.1.0/bindirectory, open the fileemctlwith a text editor. - Locate the parameter
CRS_HOME, and update the parameter to the new Grid home path. - Repeat steps 1 to 3 on each node of the cluster with an Enterprise Manager agent.
Registering Resources with Oracle Enterprise Manager After Upgrades
After upgrading Oracle Grid Infrastructure, add the new resource targets to Oracle Enterprise Manager Cloud Control.
Discover and add new resource targets in Oracle Enterprise Manager after Oracle Grid Infrastructure upgrade. The following procedure provides an example of discovering an Oracle ASM listener target after upgrading Oracle Grid Infrastructure:
- Log in to Oracle Enterprise Manager Cloud Control.
- From the Setup menu, select Add Target, and then select Add Targets Manually.
The Add Targets Manually page is displayed.
- In the Add Targets page, select the Add Using Guided Process option and Target Type as
Oracle AI Database, Listener and Automatic Storage Management.For any other resource to be added, select the appropriate Target Type in Oracle Enterprise Manager discovery wizard.
- Click Add Using Guided Process.
The Target Discover wizard is displayed.
- For the Specify Host or Cluster field, click on the Search icon and search for Target Types of
Hosts, and select the corresponding Host. - Click Next.
- In the Target Discovery: Results page, select the discovered Oracle ASM Listener target, and click Configure.
- In the Configure Listener dialog box, specify the listener properties and click OK.
- Click Next and complete the discovery process.
The listener target is discovered in Oracle Enterprise Manager with the status as Down.
- From the Targets menu, select the type of target.
- Click the target name to navigate to the target home page.
- From the host, database, middleware target, or application menu displayed on the target home page, select Target Setup, then select Monitoring Configuration.
- In the Monitoring Configuration page for the listener, specify the host name in the Machine Name field and the password for the
ASMSNMPuser in the Password field. - Click OK.
Oracle ASM listener target is displayed with the correct status.
Similarly, you can add other clusterware resources to Oracle Enterprise Manager after an Oracle Grid Infrastructure upgrade.