Oracle Enterprise Manager 12c – Clean-up agents (cleanup after agent upgrade)
We can clear our system and remove old installations…
After agent upgrade old agents home are not removed automatically.
You must delete it “manually” by clean-up operation.
002. Clean-up operation
Come to Setup ==> Manage Cloud Control ==> Upgrade Agents
Click on “Post Agent Upgrade Tasks” tab.
Click on “Add” button to add one (using Ctrl key) or more agents to be cleared.
Info window will appear.
You will be switched to “Clean-up Agent Result” – click on job name for more info or just wait few minutes to complete.
Status will change from “Running” to “Succeeded” (if no errors will be spotted).
Example of details displayed .
Example what will change on filesystem (OraInventory xml will be changed too).
Old agent home are removed.
[oracle@localhost core]$ pwd /u01/app/oracle/agent/core # before clean-up [oracle@localhost core]$ du -sk * 567556 18.104.22.168.0 587128 22.214.171.124.0 # after clean-up [oracle@localhost core]$ du -sk * 587132 126.96.36.199.0
.Tags: agent, agent 12c, linux, oem12c, oms, oracle, Oracle Enterprise Manager 12c, upgrade