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

Popular posts from this blog

🚀 Automating Oracle Database Patching with Ansible: A Complete Guide

Oracle database patching has long been the bane of DBAs everywhere. It's a critical task that requires precision, expertise, and often results in extended maintenance windows. What if I told you that you could automate this entire process, reducing both risk and downtime while ensuring consistency across your Oracle estate? 💡 In this comprehensive guide, I'll walk you through a production-ready Ansible playbook that completely automates Oracle patch application using OPatch. Whether you're managing a single Oracle instance or hundreds of databases across your enterprise, this solution will transform your patch management strategy! 🎯 🔥 The Challenge: Why Oracle Patching is Complex Before diving into the solution, let's understand why Oracle patching is so challenging: 🔗 Multiple dependencies : OPatch versions, Oracle Home configurations, running processes ⚠️ Risk of corruption : Incorrect patch application can render databases unusable ⏰ Downtime requirements : Da...

Oracle RAC Switchover & Switchback: Step-by-Step Guide

 Ensuring business continuity requires regular Disaster Recovery (DR) drills. This guide covers the Switchover and Switchback process between Primary (DC) and Standby (DR) databases . Pre-checks Before Performing Switchover Before starting the activity, ensure there are no active sessions in the database. If any are found, share the session details with the application team, get their confirmation, and terminate the sessions. Primary Database Name: PRIMARY Standby Database Name: STANDBY  Identify Active Sessions set lines 999 pages 999 col machine for a30 col username for a30 col program for a30 compute sum of count on report break on report select inst_id,username,osuser,machine,program,status,count(1) "count" from gv$session where inst_id=1 and program like 'JDBC%' group by inst_id,username,osuser,machine,program,status order by 1,2; select inst_id,username,osuser,machine,program,status,count(1) "count" from gv$session where inst_id=2 and program lik...

Mastering Oracle RAC with SRVCTL Commands

Oracle Real Application Clusters (RAC) provide high availability, scalability, and manageability for databases. One of the most powerful tools for managing RAC databases is srvctl , a command-line utility that allows administrators to control various database services. This blog explores essential srvctl commands to help you efficiently manage Oracle RAC environments. 1. Checking Database Configuration and Status  List all available databases on the host:                  srvctl config database   Check the status of a specific database and its instances:                    srvctl status database -d <database_name>   Retrieve detailed status information about a database, including its instances and states:                    srvctl status database -d <database_name> -v 2. Stopping and Starting Databases   ...