How to upgrade oem12c agents to new version?
001. Introduction
When new version of agent is released we can upgrade existing agent to new release.
Entire process are fast and secure.
Example:
https://www.youtube.com/watch?v=pAGmW4YNkI0
002. Preparation
Go to Setup ==> Manage Cloud Control ==> Upgrade Agents
Click on “Agent Upgrade Tasks” and “Upgrade Agents” option.
Next click on “Add” to select agents what you want upgrade.
From agent list select one (or more using Shift / Ctrl) agent to upgrade.
You can select more than one. If upgrade process fail on one of them, this will not break entire process – just this one will be skipped. You can see result later and repair this one what is broken.
Agent selected. Click “Submit” to start upgrade process
If sudo are not configured, you see info page like this one (this not a problem).
At end of upgrade process you just must start one script from root account.
Agent upgrade started. Wait few minutes until it finish.
Agent upgrade is done.
Everything go fine.
003. Last step – run root.sh script
Now is time to run root.sh script located inside newly installed agent (as root user).
[root@localhost oracle]# /u01/app/oracle/agent/core/12.1.0.4.0/root.sh
Finished product-specific root actions.
/etc exist
And this is end of the installation.
If you not remind what is correct path to the new agent location, you can try:
ps ex | grep agent | grep 12.1.0.4.0
– will thown a lot of agent processes with path 😀
or:
go to Setup ==> Manage Cloud Control ==> Agents
Change displayed column – Add “Oracle Home”
Oracle Home will be displayed.
Also, when you click on agent and click on small “info” button you also see agent home.
004. Conclusion
Agent are installed. Will be automatically run after upgrade.
If you manually run agent, change path to new one.
You can also prepare agent post-upgrade operation to remove old agent home.
.