Category Archives: EM

Apply Patch on Agent 13.1

Apply Patch on Oracle Management Agent 13c Release 1 (13.1.0.0.0)

Table of Contents
_________________________________________________________________________________________________

1. Environment
2. Download the patch from MOS
3. Verify OPatch Version
4. List Patches
5. Stop EM Agent
6. Unzip Patch
7. Apply Patch
8. List Patches
9. Start Agent
10. Status Agent
_________________________________________________________________________________________________


1. Environment

Platform   	: Linuxx86_64
Server IP 	: 192.168.2.101
OEM Version     : 13c Release 1 
OMS Home	: /u01/app/oracle/mwroem131
Agent Home	: /u01/app/oracle/agent131/agent_13.1.0.0.0


2. Download the patch from MOS


3. Verify OPatch Version

[oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/OPatch/opatch version
OPatch Version: 13.6.0.0.0 <-----

OPatch succeeded.
[oracle@rac1 ~]$


4. List Patches

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/agent131/agent_13.1.0.0.0
[oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/OPatch/opatch lsinv -oh /u01/app/oracle/agent131/agent_13.1.0.0.0
Oracle Interim Patch Installer version 13.6.0.0.0
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/agent131/agent_13.1.0.0.0
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/agent131/agent_13.1.0.0.0/oraInst.loc
OPatch version    : 13.6.0.0.0
OUI version       : 13.6.0.0.0
Log file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/opatch2019-06-02_20-49-49PM_1.log


OPatch detects the Middleware Home as "/u01/app/oracle/agent131"

Lsinventory Output file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/lsinv/lsinventory2019-06-02_20-49-49PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: rac1.rajasekhar.com
ARU platform id: 226
ARU platform description:: Linux_AMD64


Interim patches (1) :

Patch  18421945     : applied on Sat Jun 01 23:17:55 SGT 2019
Unique Patch ID:  18724707
   Created on 12 Aug 2015, 02:07:32 hrs PST8PDT
   Bugs fixed:
     18421945



--------------------------------------------------------------------------------

OPatch succeeded.
[oracle@rac1 ~]$ 


5. Stop EM Agent

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/agent131/agent_13.1.0.0.0/
[oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 13.1.0.0.0
OMS Version            : 13.1.0.0.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent131/agent_inst
Agent Log Directory    : /u01/app/oracle/agent131/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent131/agent_13.1.0.0.0
Core JAR Location      : /u01/app/oracle/agent131/agent_13.1.0.0.0/jlib
Agent Process ID       : 2330
Parent Process ID      : 1941
Agent URL              : https://rac1.rajasekhar.com:3872/emd/main/
Local Agent URL in NAT : https://rac1.rajasekhar.com:3872/emd/main/
Repository URL         : https://rac1.rajasekhar.com:4903/empbs/upload
Started at             : 2019-06-02 14:59:50
Started by user        : oracle
Operating System       : Linux version 4.1.12-112.16.4.el7uek.x86_64 (amd64)
Number of Targets      : 33
Last Reload            : (none)
Last successful upload                       : 2019-06-02 21:13:01
Last attempted upload                        : 2019-06-02 21:13:01
Total Megabytes of XML files uploaded so far : 0.55
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 44.50%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2019-06-02 21:13:28
Last successful heartbeat to OMS             : 2019-06-02 21:13:28
Next scheduled heartbeat to OMS              : 2019-06-02 21:14:28

---------------------------------------------------------------
Agent is Running and Ready
[oracle@rac1 ~]$


[oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl stop agent
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Stopping agent ... stopped.
[oracle@rac1 ~]$

[oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent is Not Running
[oracle@rac1 ~]$


6. Unzip Patch

[oracle@rac1 ~]$ cp p25686936_131000_Generic.zip /u01/app/backup/MWPSU/AGENT

[oracle@rac1 ~]$ cd /u01/app/backup/MWPSU/AGENT
[oracle@rac1 AGENT]$ ls -ltr
total 19520
-rw-r--r--. 1 oracle oinstall 19985332 Jun  2 21:19 p25686936_131000_Generic.zip
[oracle@rac1 AGENT]$
[oracle@rac1 AGENT]$ unzip p25686936_131000_Generic.zip

[oracle@rac1 AGENT]$ ls -ltr
total 19520
drwxr-xr-x. 4 oracle oinstall       67 Apr  4  2017 25686936
-rw-r--r--. 1 oracle oinstall 19985332 Jun  2 21:19 p25686936_131000_Generic.zip
[oracle@rac1 AGENT]$


7. Apply Patch

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/agent131/agent_13.1.0.0.0
[oracle@rac1 25686936]$ cd /u01/app/backup/MWPSU/AGENT/25686936
[oracle@rac1 25686936]$ ls -ltr
total 28
drwxr-x---. 3 oracle oinstall    37 Apr  4  2017 files
drwxr-x---. 3 oracle oinstall    20 Apr  4  2017 etc
-rw-rw-r--. 1 oracle oinstall    24 Apr 18  2017 README.txt
-rw-rw-r--. 1 oracle oinstall 23830 Apr 18  2017 README.html
[oracle@rac1 25686936]$

[oracle@rac1 25686936]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/OPatch/opatch apply -oh /u01/app/oracle/agent131/agent_13.1.0.0.0
Oracle Interim Patch Installer version 13.6.0.0.0
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/agent131/agent_13.1.0.0.0
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/agent131/agent_13.1.0.0.0/oraInst.loc
OPatch version    : 13.6.0.0.0
OUI version       : 13.6.0.0.0
Log file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/25686936_Jun_02_2019_21_23_51/apply2019-06-02_21-23-45PM_1.log


OPatch detects the Middleware Home as "/u01/app/oracle/agent131"

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

Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Backing up files...
Applying interim patch '25686936' to OH '/u01/app/oracle/agent131/agent_13.1.0.0.0'

Patching component oracle.sysman.top.agent, 13.1.0.0.0...
Patch 25686936 successfully applied.
Log file location: /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/25686936_Jun_02_2019_21_23_51/apply2019-06-02_21-23-45PM_1.log

OPatch succeeded.
[oracle@rac1 25686936]$


8. List Patches

[oracle@rac1 25686936]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/OPatch/opatch lsinv -oh /u01/app/oracle/agent131/agent_13.1.0.0.0
Oracle Interim Patch Installer version 13.6.0.0.0
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/agent131/agent_13.1.0.0.0
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/agent131/agent_13.1.0.0.0/oraInst.loc
OPatch version    : 13.6.0.0.0
OUI version       : 13.6.0.0.0
Log file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/opatch2019-06-02_21-31-30PM_1.log


OPatch detects the Middleware Home as "/u01/app/oracle/agent131"

Lsinventory Output file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/lsinv/lsinventory2019-06-02_21-31-30PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: rac1.rajasekhar.com
ARU platform id: 226
ARU platform description:: Linux_AMD64


Interim patches (2) :

Patch  25686936     : applied on Sun Jun 02 21:24:03 SGT 2019
Unique Patch ID:  21169532
Patch description:  "EM-AGENT Bundle Patch 13.1.0.0.170418"
   Created on 4 Apr 2017, 00:39:32 hrs PST8PDT
   Bugs fixed:
     24437699, 25101457, 23478148, 21779343, 22616051, 23759799, 23013302
     22988508, 23089106, 23581450, 22046370, 24667762, 23079593, 24933541
     24450644, 23268700, 22823268, 19802080, 24447221, 22201508, 18197723
     22720511, 23724816, 24672237, 22568679, 23638365, 25686936, 23593972
     22847565, 24697787, 23592254, 22892276, 25289023, 22565184, 22684160
     22928984, 24842780, 22918272, 24456370, 25297713, 23208577, 24415605
     23292275, 22384903, 22304248, 24308442, 23030165, 25113676, 25136887
     23561531, 22542388, 25286373, 24934732, 23507445, 22448575, 23511066
     22293781, 22099911, 21449788, 21755932

Patch  18421945     : applied on Sat Jun 01 23:17:55 SGT 2019
Unique Patch ID:  18724707
   Created on 12 Aug 2015, 02:07:32 hrs PST8PDT
   Bugs fixed:
     18421945



--------------------------------------------------------------------------------

OPatch succeeded.
[oracle@rac1 25686936]$


9. Start Agent

[oracle@rac1 25686936]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl start agent
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Starting agent ................................................................ started.
[oracle@rac1 25686936]$


10. Status Agent

[oracle@rac1 25686936]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 13.1.0.0.0
OMS Version            : 13.1.0.0.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent131/agent_inst
Agent Log Directory    : /u01/app/oracle/agent131/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent131/agent_13.1.0.0.0
Core JAR Location      : /u01/app/oracle/agent131/agent_13.1.0.0.0/jlib
Agent Process ID       : 2277
Parent Process ID      : 2051
Agent URL              : https://rac1.rajasekhar.com:3872/emd/main/
Local Agent URL in NAT : https://rac1.rajasekhar.com:3872/emd/main/
Repository URL         : https://rac1.rajasekhar.com:4903/empbs/upload
Started at             : 2019-06-02 21:39:25
Started by user        : oracle
Operating System       : Linux version 4.1.12-112.16.4.el7uek.x86_64 (amd64)
Number of Targets      : 33
Last Reload            : (none)
Last successful upload                       : 2019-06-02 21:41:05
Last attempted upload                        : 2019-06-02 21:41:05
Total Megabytes of XML files uploaded so far : 0.02
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 44.40%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2019-06-02 21:40:10
Last successful heartbeat to OMS             : 2019-06-02 21:40:10
Next scheduled heartbeat to OMS              : 2019-06-02 21:41:22

---------------------------------------------------------------
Agent is Running and Ready
[oracle@rac1 25686936]$

Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

Thank you,
Rajasekhar Amudala
Email: br8dba@gmail.com
WhatsApp : +65-94693551
Linkedin: https://www.linkedin.com/in/rajasekhar-amudala/

Apply Patch on OMS

Apply Oracle Enterprise Manager 13c Release 1 Patch Set Update 13.1.0.0.170718 for Oracle Management Service

Table of Contents
_________________________________________________________________________________________________

0. Overview
1. Environment
2. Download the patch from MOS
3. Upgrade OMSPatcher
4. List patches which were applied
5. Unzip patch
6. Patch Verification using analyze
7. Stop OMS
8. Apply Patch
9. List Patches
10. Start OMS
_________________________________________________________________________________________________


0. Overview

Goal: We are going to apply PSU 25904755 (Enterprise Manager 13c Release 1 Patch Set Update 13.1.0.0.170718)

[oracle@rac1 ~]$ /u01/app/oracle/mwroem131/bin/emctl status oms -details
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :  <--- Enter password
Console Server Host        : rac1.rajasekhar.com
HTTP Console Port          : 7788
HTTPS Console Port         : 7803
HTTP Upload Port           : 4889
HTTPS Upload Port          : 4903
EM Instance Home           : /u01/app/oracle/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://rac1.rajasekhar.com:7803/em
Upload URL: https://rac1.rajasekhar.com:4903/empbs/upload

WLS Domain Information
Domain Name            : GCDomain
Admin Server Host      : rac1.rajasekhar.com
Admin Server HTTPS Port: 7102
Admin Server is RUNNING

Oracle Management Server Information
Managed Server Instance Name: EMGC_OMS1
Oracle Management Server Instance Host: rac1.rajasekhar.com
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up

BI Publisher Server Information
BI Publisher Managed Server Name: BIP
BI Publisher Server is Up

BI Publisher HTTP Managed Server Port   : 9701
BI Publisher HTTPS Managed Server Port  : 9803
BI Publisher HTTP OHS Port              : 9788
BI Publisher HTTPS OHS Port             : 9851
BI Publisher is locked.
BI Publisher Server named 'BIP' running at URL: https://rac1.rajasekhar.com:9851/xmlpserver
BI Publisher Server Logs: /u01/app/oracle/gc_inst/user_projects/domains/GCDomain/servers/BIP/logs/
BI Publisher Log        : /u01/app/oracle/gc_inst/user_projects/domains/GCDomain/servers/BIP/logs/bipublisher/bipublisher.log
[oracle@rac1 ~]$

Prerequisites:

weblogic admin server URL(t3s://rac1.rajasekhar.com:7102):>
weblogic admin server username(weblogic):>
weblogic admin server password:>


1. Environment

Platform   	: Linuxx86_64
Server IP 	: 192.168.2.101
OEM Version     : 13c Release 1 
OMS Home	: /u01/app/oracle/mwroem131


2. Download the patch from MOS


3. Upgrade OMSPatcher


4. List patches which were applied

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/mwroem131
[oracle@rac1 ~]$ /u01/app/oracle/mwroem131/OMSPatcher/omspatcher lspatches -oh /u01/app/oracle/mwroem131
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation.  All rights reserved.


OMSPatcher version : 13.6.0.0.4
OUI version        : 13.6.0.0.0
Running from       : /u01/app/oracle/mwroem131
Log file location  : /u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/opatch2019-06-02_18-55-36PM_1.log

Component Name/Version                            Component Type      System Patch        (Sub)-Patches       Patch Description
------------------------                          -------------       -------------       --------------      ------------------
oracle.jrf.adfrt/12.1.3.0.0                       Core                N/A                 22065592            One-off

oracle.webcenter.pageeditor/12.1.3.0.0            Core                N/A                 20882747            One-off

oracle.bi.xdo/12.1.3.0.0                          Core                N/A                 21839888            One-off

oracle.wls.clients/12.1.3.0.0                     Core                N/A                 19953516            One-off

oracle.xdk.jrf.jaxp/12.1.3.0.0                    Core                N/A                 19345252            One-off

oracle.wls.libraries/12.1.3.0.0                   Core                N/A                 21252292            One-off
                                                                      N/A                 21243471            One-off
                                                                      N/A                 18836900            One-off
                                                                      N/A                 19879223            One-off
                                                                      N/A                 19730967            One-off
                                                                      N/A                 20758863            One-off
                                                                      N/A                 19953516            One-off

oracle.xdk.jrf.xmlparserv2/12.1.3.0.0             Core                N/A                 19345252            One-off

oracle.fmwconfig.common.wls.shared/12.1.          Core                N/A                 18974665            One-off
3.0.0

oracle.bali.cabo/12.1.3.0.0                       Core                N/A                 18814458            One-off

oracle.ldap.rsf/12.1.3.0.0                        Core                N/A                 20022048            One-off

oracle.fmwconfig.common.shared/12.1.3.0.          Core                N/A                 18974665            One-off
0

oracle.ohs2/12.1.3.0.0                            Core                N/A                 19901079            One-off
                                                                      N/A                 20222451            One-off

oracle.wlsplugins/12.1.3.0.0                      Core                N/A                 20442348            One-off

oracle.wls.core.app.server/12.1.3.0.0             Core                N/A                 19982906            One-off

oracle.wls.workshop.code.completion.supp          Core                N/A                 19953516            One-off
ort/12.1.3.0.0


NOTE: N/A indicates that the subpatch mentioned in the Subpatches column was applied as a one-off patch and not as part of any system patch.

OMSPatcher has saved inventory details for the above component at below location.
"/u01/app/oracle/mwroem131"

For more details on installed patch(es), Please do "/u01/app/oracle/mwroem131/OPatch/opatch lsinventory -details"

OMSPatcher succeeded.
[oracle@rac1 ~]$

-- Looks like no PSU applied on OMS home.


5. Unzip patch

[oracle@rac1 MWPSU]$ pwd
/u01/app/backup/MWPSU
[oracle@rac1 MWPSU]$
[oracle@rac1 MWPSU]$ unzip p25904755_131000_Generic.zip
[oracle@rac1 MWPSU]$ ls -ltr
total 36076
drwxr-x---. 4 oracle oinstall       95 Jun 12  2017 25904755
-rw-r--r--. 1 oracle oinstall 36940116 Jun  2 18:50 p25904755_131000_Generic.zip
[oracle@rac1 MWPSU]$


6. Patch Verification using analyze

-- No need to shutdown OMS

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/mwroem131
[oracle@rac1 ~]$ /u01/app/oracle/mwroem131/OMSPatcher/omspatcher apply /u01/app/backup/MWPSU/25904755 -analyze
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation.  All rights reserved.


OMSPatcher version : 13.6.0.0.4
OUI version        : 13.6.0.0.0
Running from       : /u01/app/oracle/mwroem131
Log file location  : /u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/opatch2019-06-02_19-05-18PM_1.log

OMSPatcher log file: /u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/25904755/omspatcher_2019-06-02_19-06-05PM_analyze.log

Please enter OMS weblogic admin server URL(t3s://rac1.rajasekhar.com:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>



Configuration Validation: Success


Running apply prerequisite checks for sub-patch(es) "25904755" and Oracle Home "/u01/app/oracle/mwroem131"...
Sub-patch(es) "25904755" are successfully analyzed for Oracle Home "/u01/app/oracle/mwroem131"


Complete Summary
================


All log file names referenced below can be accessed from the directory "/u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/2019-06-02_19-05-18PM_SystemPatch_25904755_1"

Prerequisites analysis summary:
-------------------------------

The following sub-patch(es) are applicable:

             Featureset   Sub-patches                                          Log file
             ----------   -----------                                          --------
  oracle.sysman.top.oms      25904755   25904755_ApplyPrereq2019-06-02_19-09-06PM_2.log



Log file location: /u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/25904755/omspatcher_2019-06-02_19-06-05PM_analyze.log

OMSPatcher succeeded.
[oracle@rac1 ~]$


7. Stop OMS

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/mwroem131
[oracle@rac1 ~]$ /u01/app/oracle/mwroem131/bin/emctl stop oms
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down
[oracle@rac1 ~]$


8. Apply Patch

[oracle@rac1 25904755]$ pwd
/u01/app/backup/MWPSU/25904755
[oracle@rac1 25904755]$ /u01/app/oracle/mwroem131/OMSPatcher/omspatcher apply
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation.  All rights reserved.


OMSPatcher version : 13.6.0.0.4
OUI version        : 13.6.0.0.0
Running from       : /u01/app/oracle/mwroem131
Log file location  : /u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/opatch2019-06-02_19-20-08PM_1.log

OMSPatcher log file: /u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/25904755/omspatcher_2019-06-02_19-20-36PM_deploy.log

Please enter OMS weblogic admin server URL(t3s://rac1.rajasekhar.com:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>



Configuration Validation: Success


Running apply prerequisite checks for sub-patch(es) "25904755" and Oracle Home "/u01/app/oracle/mwroem131"...
Sub-patch(es) "25904755" are successfully analyzed for Oracle Home "/u01/app/oracle/mwroem131"

To continue, OMSPatcher will do the following:
[Patch and deploy artifacts]   : Apply sub-patch(es) [ 25904755 ] to component "oracle.sysman.top.oms" and version "13.1.0.0.0";
                                 Apply RCU artifact with patch "/u01/app/oracle/mwroem131/.omspatcher_storage/25904755_Jun_12_2017_03_40_04/original_patch";
                                 Register MRS artifact "targetType";
                                 Register MRS artifact "storeTargetType";
                                 Register MRS artifact "default_collection";
                                 Register MRS artifact "swlib"


Do you want to proceed? [y|n]
y <---
User Responded with: Y

Applying sub-patch "25904755 " to component "oracle.sysman.top.oms" and version "13.1.0.0.0"...

Updating repository with RCU reference file "/u01/app/oracle/mwroem131/.omspatcher_storage/25904755_Jun_12_2017_03_40_04/original_patch"

Registering service "targetType" with register file "/u01/app/oracle/mwroem131/sysman/metadata/targetType/oldVersions/host/12.1.0.5/host.xml"...

Registering service "storeTargetType" with register file "/u01/app/oracle/mwroem131/sysman/metadata/targetType/oldVersions/host/12.1.0.5/host.xml"...

Registering service "default_collection" with register file "/u01/app/oracle/mwroem131/sysman/metadata/default_collection/oldVersions/host/12.1.0.5/host.xml"...

Registering service "swlib" with register file "/u01/app/oracle/mwroem131/sysman/metadata/swlib/patch"...

Complete Summary
================


All log file names referenced below can be accessed from the directory "/u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/2019-06-02_19-20-08PM_SystemPatch_25904755_1"

Patching summary:
-----------------

Binaries of the following sub-patch(es) have been applied successfully:

                        Featureset   Sub-patches                                     Log file
                        ----------   -----------                                     --------
  oracle.sysman.top.oms_13.1.0.0.0      25904755   25904755_opatch2019-06-02_19-23-00PM_3.log

Deployment summary:
-------------------

The following artifact(s) have been successfully deployed:

               Artifacts                                                      Log file
               ---------                                                      --------
                     SQL       rcu_applypatch_original_patch_2019-06-02_19-24-36PM.log
          MRS-targetType           emctl_register_targetType_2019-06-02_19-27-11PM.log
     MRS-storeTargetType      emctl_register_storeTargetType_2019-06-02_19-27-38PM.log
  MRS-default_collection   emctl_register_default_collection_2019-06-02_19-28-13PM.log
               MRS-swlib                emctl_register_swlib_2019-06-02_19-28-35PM.log


Log file location: /u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/25904755/omspatcher_2019-06-02_19-20-36PM_deploy.log

OMSPatcher succeeded.
[oracle@rac1 25904755]$


9. List Patches

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/mwroem131
[oracle@rac1 ~]$ /u01/app/oracle/mwroem131/OMSPatcher/omspatcher lspatches
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation.  All rights reserved.


OMSPatcher version : 13.6.0.0.4
OUI version        : 13.6.0.0.0
Running from       : /u01/app/oracle/mwroem131
Log file location  : /u01/app/oracle/mwroem131/cfgtoollogs/omspatcher/opatch2019-06-02_19-29-59PM_1.log

Component Name/Version                            Component Type      System Patch        (Sub)-Patches       Patch Description
------------------------                          -------------       -------------       --------------      ------------------
oracle.sysman.top.oms/13.1.0.0.0                  Core                25904755            25904755            enterprise manager base platform - oms 13.1.0.0.170718 psu (generic)

oracle.jrf.adfrt/12.1.3.0.0                       Core                N/A                 22065592            One-off

oracle.webcenter.pageeditor/12.1.3.0.0            Core                N/A                 20882747            One-off

oracle.bi.xdo/12.1.3.0.0                          Core                N/A                 21839888            One-off

oracle.wls.clients/12.1.3.0.0                     Core                N/A                 19953516            One-off

oracle.xdk.jrf.jaxp/12.1.3.0.0                    Core                N/A                 19345252            One-off

oracle.wls.libraries/12.1.3.0.0                   Core                N/A                 21252292            One-off
                                                                      N/A                 21243471            One-off
                                                                      N/A                 18836900            One-off
                                                                      N/A                 19879223            One-off
                                                                      N/A                 19730967            One-off
                                                                      N/A                 20758863            One-off
                                                                      N/A                 19953516            One-off

oracle.xdk.jrf.xmlparserv2/12.1.3.0.0             Core                N/A                 19345252            One-off

oracle.fmwconfig.common.wls.shared/12.1.          Core                N/A                 18974665            One-off
3.0.0

oracle.bali.cabo/12.1.3.0.0                       Core                N/A                 18814458            One-off

oracle.ldap.rsf/12.1.3.0.0                        Core                N/A                 20022048            One-off

oracle.fmwconfig.common.shared/12.1.3.0.          Core                N/A                 18974665            One-off
0

oracle.ohs2/12.1.3.0.0                            Core                N/A                 19901079            One-off
                                                                      N/A                 20222451            One-off

oracle.wlsplugins/12.1.3.0.0                      Core                N/A                 20442348            One-off

oracle.wls.core.app.server/12.1.3.0.0             Core                N/A                 19982906            One-off

oracle.wls.workshop.code.completion.supp          Core                N/A                 19953516            One-off
ort/12.1.3.0.0


NOTE: N/A indicates that the subpatch mentioned in the Subpatches column was applied as a one-off patch and not as part of any system patch.

OMSPatcher has saved inventory details for the above component at below location.
"/u01/app/oracle/mwroem131"

For more details on installed patch(es), Please do "/u01/app/oracle/mwroem131/OPatch/opatch lsinventory -details"

OMSPatcher succeeded.
[oracle@rac1 ~]$


10. Start OMS

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/mwroem131
[oracle@rac1 ~]$ /u01/app/oracle/mwroem131/bin/emctl start oms
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
JVMD Engine is Up
Starting BI Publisher Server ...
BI Publisher Server Already Started
BI Publisher Server is Up
[oracle@rac1 ~]$

Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

Thank you,
Rajasekhar Amudala
Email: br8dba@gmail.com
WhatsApp : +65-94693551
Linkedin: https://www.linkedin.com/in/rajasekhar-amudala/

Upgrade OMSPatcher

How to upgrade the Enterprise Manager 13.1 Cloud Control OMSPatcher to the Latest Version

Table of Contents

___________________________________________________________________________________________________

0. Overview
1. Environment
2. Current OMSPatcher Version
3. Download the patch from MOS
4. Backup OMSPatcher directory
5. Unzip patch
6. Verify OMSPatcher Version
___________________________________________________________________________________________________


0. Overview

OMSPatcher Upgrade just like Oracle OPatch version upgrade.

How to upgrade the Enterprise Manager 13.1 Cloud Control OMSPatcher to the Latest Version (Doc ID 2135028.1)
EM 13.2 How to Upgrade the Enterprise Manager 13.2 & 13.3 Cloud Control OMSPatcher to the Latest Version (Doc ID 2203007.1)


1. Environment

Oracle Enterprise Manager Cloud Control 13c Release 1
OMS ORACLE_HOME=/u01/app/oracle/mwroem131/
DB ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1


2. Current OMSPatcher Version

[oracle@rac1 ]$ cd /u01/app/oracle/mwroem131/OMSPatcher
[oracle@rac1 OMSPatcher]$ export ORACLE_HOME=/u01/app/oracle/mwroem131/
[oracle@rac1 OMSPatcher]$ ./omspatcher version
OMSPatcher Version: 13.6.0.0.0 <------
OPlan Version: 12.1.0.2.2
OsysModel build: Wed Oct 14 06:21:23 PDT 2015

OMSPatcher succeeded.
[oracle@rac1 OMSPatcher]$


3. Download the patch from MOS


4. Backup OMSPatcher directory

[oracle@rac1 mwroem131]$ pwd
/u01/app/oracle/mwroem131
[oracle@rac1 mwroem131]$ ls -ld OMSPatcher/
drwxr-x---. 7 oracle oinstall 4096 Jun  1 19:15 OMSPatcher/
[oracle@rac1 mwroem131]$ mv OMSPatcher OMSPatcher_bkp_02062019
[oracle@rac1 mwroem131]$ ls -ld OMSPatcher
ls: cannot access OMSPatcher: No such file or directory
[oracle@rac1 mwroem131]$


5. Unzip patch

-- Copy the patch to OMS ORACLE_HOME 

[oracle@rac1 ~]$ cp p19999993_131000_Generic.zip /u01/app/oracle/mwroem131
[oracle@rac1 ~]$ cd /u01/app/oracle/mwroem131
[oracle@rac1 mwroem131]$ ls -ltr p19999993_131000_Generic.zip
-rw-r--r--. 1 oracle oinstall 720177 Jun  2 17:34 p19999993_131000_Generic.zip
[oracle@rac1 mwroem131]$ unzip p19999993_131000_Generic.zip
Archive:  p19999993_131000_Generic.zip
   creating: OMSPatcher/
  inflating: OMSPatcher/omspatcher.bat
   creating: OMSPatcher/jlib/
  inflating: OMSPatcher/jlib/omspatcher.jar
  inflating: OMSPatcher/jlib/oracle.omspatcher.classpath.jar
  inflating: OMSPatcher/jlib/oracle.omspatcher.classpath.unix.jar
  inflating: OMSPatcher/jlib/oracle.omspatcher.classpath.windows.jar
   creating: OMSPatcher/scripts/
   creating: OMSPatcher/scripts/oms/
   creating: OMSPatcher/scripts/oms/oms_child_scripts/
  inflating: OMSPatcher/scripts/oms/oms_child_scripts/omspatcher_jvm_discovery
  inflating: OMSPatcher/scripts/oms/oms_child_scripts/omspatcher_jvm_discovery.bat
  inflating: OMSPatcher/scripts/oms/oms_child_scripts/omspatcher_wls
  inflating: OMSPatcher/scripts/oms/oms_child_scripts/omspatcher_wls.bat
  inflating: OMSPatcher/scripts/oms/omspatcher
  inflating: OMSPatcher/scripts/oms/omspatcher.bat
   creating: OMSPatcher/wlskeys/
  inflating: OMSPatcher/wlskeys/createkeys.cmd
  inflating: OMSPatcher/wlskeys/createkeys.sh
   creating: OMSPatcher/oms/
  inflating: OMSPatcher/oms/generateMultiOMSPatchingScripts.pl
  inflating: OMSPatcher/omspatcher
  inflating: readme.txt
  inflating: PatchSearch.xml
[oracle@rac1 mwroem131]$
[oracle@rac1 mwroem131]$ ls -ld OMSPatcher
drwxr-xr-x. 6 oracle oinstall 4096 Apr 13  2017 OMSPatcher
[oracle@rac1 mwroem131]$


6. Verify OMSPatcher Version

[oracle@rac1 ~]$ cd /u01/app/oracle/mwroem131/OMSPatcher
[oracle@rac1 OMSPatcher]$ export ORACLE_HOME=/u01/app/oracle/mwroem131/
[oracle@rac1 OMSPatcher]$ ./omspatcher version
OMSPatcher Version: 13.6.0.0.4  <----- changed from version 13.6.0.0.0
OPlan Version: 12.1.0.2.2
OsysModel build: Wed Oct 14 06:21:23 PDT 2015

OMSPatcher succeeded.
[oracle@rac1 OMSPatcher]$

Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

Thank you,
Rajasekhar Amudala
Email: br8dba@gmail.com
WhatsApp : +65-94693551
Linkedin: https://www.linkedin.com/in/rajasekhar-amudala/