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...

Complete Guide to PostgreSQL 18 Source Installation with Performance Optimization

PostgreSQL 18 brings powerful new features and performance improvements that make it an excellent choice for modern database workloads. In this comprehensive guide, I'll walk you through installing PostgreSQL 18 from source code while implementing a strategic disk layout that maximizes performance. Why Install from Source? While package managers offer convenience, building PostgreSQL from source gives you complete control over configuration and optimization options. This flexibility allows you to tailor the database precisely to your hardware and workload requirements. Prerequisites Before we begin, ensure you're working with a RHEL, CentOS, or Fedora-based system. We'll be installing several development tools and libraries needed for compilation. Installation Process 1. Download PostgreSQL 18 Source Code First, grab the latest PostgreSQL 18 source tarball: wget https://ftp.postgresql.org/pub/source/v18.0/postgresql-18.0.tar.gz 2. Install Required Dependencies Install all n...

⚡ Automating Oracle 19c Database Patching on Windows Server with PowerShell

Applying Oracle patches on Windows often feels repetitive and error-prone — stopping services, updating OPatch, applying patches, running datapatch , and restarting services. To save time ⏱ and reduce mistakes ⚠, I created a PowerShell automation script that performs the patching process end-to-end 🚀. 🔹 Why Automate Oracle Patching? ⏱ Save time by automating repetitive steps ⚙ Avoid manual errors during patching 📜 Maintain logs for auditing and troubleshooting 🛡 Ensure consistent, reliable patching 🔹 Full PowerShell Script # --- CONFIGURATION --- $oracleHome = "c:\users\administrator\downloads\v982656-01" # Change if this is not your actual Oracle Home! $patchDir = "C:\Users\Administrator\Downloads\p37962957_190000_MSWIN-x86-64\37962957" #update the Patchfile directory $opatchDir = "$oracleHome\OPatch" $opatchZip = "C:\Users\Administrator\Downloads\p6880880_190000_MSWIN-x86-64.zip" #Based on your setup update Opatch di...