C Applying Patches to Oracle Management Agents While Deploying or Upgrading Them
Starting with Enterprise Manager Cloud Control 13c Release 3, you can combine Management Agent binaries with Management Agent patches and plug-in patches, so that you do not have to apply these patches every time you deploy or upgrade a Management Agent. You can save the Management Agent one-off patches that you want to apply on a particular version of the Management Agent software, such that these patches are automatically applied on the software whenever a new Management Agent of the same version is deployed, or an old Management Agent is upgraded to that version. This is a one-time operation, that is, you do not have to perform this action every time you deploy or upgrade a Management Agent.
If you save the Management Agent one-off patches on the OMS host as described in this appendix, any Management Agent deployment or upgrade activity will automatically pick up these patches for the respective Management Agent versions and platforms. Hence, this feature saves you a considerable amount of time and effort.
For information on applying patches on a plug-in and ensuring that the patched plug-in is deployed on all the new Management Agents that you deploy, and all the old Management Agents that you upgrade, see Oracle Enterprise Manager Cloud Control Administration Guide.
Ensure that you follow the steps mentioned in this appendix and the section referenced in the previous para before scheduling a Management Agent deployment or upgrade session, so that the patches that you want to apply on the Management Agent and plug-ins are applied automatically after the Management Agent deployment or upgrade.
This appendix contains the following sections:
Saving Management Agent Patches to an OMS Host
To save Management Agent one-off patches to your OMS host, such that they are applied whenever a new Management Agent is deployed, or a Management Agent is upgraded, follow these steps:
Verifying Patch Application After Management Agent Deployment or Upgrade
You can use these methods to verify whether the Management Agent one-off patches that you saved to your OMS host (described in Saving Management Agent Patches to an OMS Host) have been applied on a Management Agent that you deployed or upgraded:
-
Run the following command from the Management Agent home:
$<AGENT_HOME>/OPatch/opatch lsinventory -oh <AGENT_HOME> -invPtrLoc <AGENT_HOME>/oraInst.loc
This command displays all the patches applied on the Management Agent.
-
In the Cloud Control console, from the Setup menu, select Manage Cloud Control, then select Agents. Click the name of the required Management Agent to navigate to its home page. In the Configuration section, click Oracle Home and Patch Details. The patches applied on the Management Agent are displayed in the Patches Applied section.