Advertisement

Wednesday, January 31, 2018

OEM 13cR2 - Agent Patching

Patching -
   
OEM Patches available @
Enterprise Manager 13.2 Master Bundle Patch List (Includes Plugins: 13.2.1, 13.2.2, 13.2.3) (Doc ID 2219797.1)

Ensure that you have the latest version of OPatch 13.9.0.0.0 and OMSPatcher version 13.8.0.0.2 for Enterprise Manager 13.2.0.0.0 release.

#Patch 6880880: OPatch version 13.9.2.1.0 for Nextgen OUI based homes
#Patch 19999993: OMSPatcher patch of version 13.8.0.0.2 for Enterprise Manager Cloud Control 13.2.0.0.0


We will Install Patch 27160866: EM-AGENT Bundle Patch 13.2.0.0.171231

Update Opatch in Agent HOME

[oracle@omshost agent_13.2.0.0.0]$ cd /stage_patch/6880880/
[oracle@omshost 6880880]$ export ORACLE_HOME=/opt/oracle/agent/agent13cr2/agent_13.2.0.0.0/
[oracle@omshost 6880880]$ ${ORACLE_HOME}/jdk/bin/java -jar opatch_generic.jar -silent oracle_home=${ORACLE_HOME}
Launcher log file is /tmp/OraInstall2018-01-30_07-52-09AM/launcher2018-01-30_07-52-09AM.log.
.
.
.
The install operation completed successfully.

Logs successfully copied to /opt/oracle/oraInventory/logs.


Verify current inventory details.

[oracle@omshost agent_13.2.0.0.0]$ export ORACLE_HOME=/opt/oracle/agent/agent13cr2/agent_13.2.0.0.0
[oracle@omshost agent_13.2.0.0.0]$ export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH

[oracle@omshost agent_13.2.0.0.0]$ opatch lspatches
24470104;

OPatch succeeded.


Start Patching

[oracle@omshost agent_13.2.0.0.0]$ emctl stop agent
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
Stopping agent ... stopped.


[oracle@omshost stage_patch]$ cd /stage_patch/
[oracle@omshost stage_patch]$ unzip -qq p27160866_132000_Generic.zip

[oracle@omshost stage_patch]$ cd 27160866/
[oracle@omshost 27160866]$ which opatch
/opt/oracle/agent/agent13cr2/agent_13.2.0.0.0/OPatch/opatch

[oracle@omshost 27160866]$ opatch napply
Oracle Interim Patch Installer version 13.9.2.1.0
Copyright (c) 2018, Oracle Corporation.  All rights reserved.


Oracle Home       : /opt/oracle/agent/agent13cr2/agent_13.2.0.0.0
Central Inventory : /opt/oracle/oraInventory
   from           : /opt/oracle/agent/agent13cr2/agent_13.2.0.0.0/oraInst.loc
OPatch version    : 13.9.2.1.0
OUI version       : 13.9.2.0.0
Log file location : /opt/oracle/agent/agent13cr2/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-01-30_12-35-53PM_1.log


OPatch detects the Middleware Home as "/opt/oracle/agent/agent13cr2"

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   25610702  27160866

Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Backing up files...
Applying interim patch '25610702' to OH '/opt/oracle/agent/agent13cr2/agent_13.2.0.0.0'

Patching component oracle.sysman.agent.ic, 13.2.0.0.0...
Applying interim patch '27160866' to OH '/opt/oracle/agent/agent13cr2/agent_13.2.0.0.0'

Patching component oracle.sysman.top.agent, 13.2.0.0.0...
Patches 25610702,27160866 successfully applied.
Log file location: /opt/oracle/agent/agent13cr2/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-01-30_12-35-53PM_1.log

OPatch succeeded.

Start the Agent
[oracle@omshost 27160866]$ emctl start agent
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
Starting agent ......................................... started.


Verify the Patch Install
[oracle@omshost 27160866]$ opatch lspatches
27160866;EM-AGENT Bundle Patch 13.2.0.0.171231
25610702;   
24470104;

4 comments:
Write comments
  1. need to apply agent patch through oem 13c on multiple targtes.

    ReplyDelete
    Replies
    1. I have been under the hood for some time. Do you still need it? (I doubt it though)

      Delete
  2. I would. Even with a small Oracle footprint (about 25 Oracle servers) it would be useful to be able to push patches to all remote agents centrally from the OMS

    ReplyDelete
  3. agreed, but can be helpful in one off patches.

    ReplyDelete