Skip to main content

🚀 Applying Oracle Management Agent 13.5 RU25: A Step-by-Step Patch Guide

🛠️ Applying OEM Agent Patch - Step-by-Step Guide

Applying Oracle Enterprise Manager (OEM) Agent patches ensures your monitoring infrastructure stays up-to-date and secure. Below is a structured guide for patching the OEM Agent, particularly for:

Agent Home: /opt/app/agent13c/agent_13.5.0.0.0

🔍 Prerequisites

🔹 Step 1: Verify AgentPatcher Version

Ensure you have AgentPatcher version 13.9.5.10.0 or later installed.

📄 Refer to MOS Doc ID 2810322.1: "13.5: How to Upgrade AgentPatcher to the Latest Version"

🔹 Step 2: Patch OMS First

Ensure that Patch 37057635 (Enterprise Manager 13c Release 5 Update 25) or its latest version has been applied on the OMS.

🔹 Step 3: Set Environment Variables

Before proceeding, export the necessary environment variables:

export ORACLE_HOME=/opt/app/agent13c/agent_13.5.0.0.0
export PATH=$ORACLE_HOME/AgentPatcher:$PATH
export AGENT_HOME=/opt/app/agent13c/agent_13.5.0.0.0/
export PATH=$PATH:$AGENT_HOME/bin:$AGENT_HOME/OPatch

🔹 Step 4: Download and Unzip the Patch

Download the OMA patch and move into the patch directory:

cd /acfs02/oem_patch/
ls -lrt  
# Example output:
# -rw-r--r-- 1 oracle oinstall 272723044 Feb 11 07:36 p37057643_135000_Generic.zip
unzip p37057643_135000_Generic.zip

🔍 Step 5: Run Patch Analysis

cd /acfs02/oem_patch/37057643
agentpatcher apply -analyze
⚠️ If any errors occur, stop and contact Oracle Support before proceeding.

⛔ Step 6: Stop the Agent

Before applying the patch, stop the Management Agent:

emctl stop agent

🚀 Applying the Patch

🔹 Step 1: Navigate to Patch Directory

cd /acfs02/oem_patch/37057643

🔹 Step 2: Apply the Patch

agentpatcher apply

🔹 Step 3: Start the Agent

emctl start agent

✅ Conclusion

You have now successfully applied the latest OEM Agent patch. Keep your infrastructure secure and up-to-date by regularly reviewing MOS patch updates and applying them systematically. Happy Patching! 🚀

Comments