After installing EM13c, you may want to install the latest patches as well. We’ll start with OPatch and OMSPatcher.
Download the following patches from Oracle Support:
p6880880_139000_Generic.zip => OPatch
p19999993_132000_Generic.zip => OMSPatch
Go to your patching staging area:
cd /app/oracle/media/patches unzip p6880880_139000_Generic.zip
Check the existing versions:
[[email protected]]$ $OMS_HOME/OMSPatcher/omspatcher version OMSPatcher Version: 13.8.0.0.0 OPlan Version: 12.1.0.2.2 OsysModel build: Mon Dec 21 18:31:52 PST 2015 OMSPatcher succeeded. [[email protected]]$ $OMS_HOME/OPatch/opatch version OPatch Version: 13.8.0.0.0 OPatch succeeded. [[email protected]]$ [[email protected]]$ $AGENT_HOME/OPatch/opatch version OPatch Version: 13.8.0.0.0 OPatch succeeded. [[email protected] agent_13.2.0.0.0]$
Now, let’s take some backups before deploying the new patch version:
cd $OMS_HOME [[email protected]]$ mv OMSPatcher OMSPatcher.OLD [[email protected]]$ mv OPatch OPatch.OLD
Upgrade the OPatch on 13.2 OMS Home :
[[email protected]]$ /app/oracle/em13c/oracle_common/jdk/bin/java -jar /app/oracle/media/patches/6880880/opatch_generic.jar -silent oracle_home=/app/oracle/em13c/ Launcher log file is /tmp/OraInstall2018-05-24_09-45-32AM/launcher2018-05-24_09-45-32AM.log. Extracting the installer . . . . Done Checking if CPU speed is above 300 MHz. Actual 2596.992 MHz Passed Checking swap space: must be greater than 512 MB. Actual 2047 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 1954 MB Passed Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-05-24_09-45-32AM Installation Summary Disk Space : Required 26 MB, Available 31,479 MB Feature Sets to Install: Next Generation Install Core 13.9.1.0.1 OPatch 13.9.1.3.0 OPatch Auto OPlan 13.9.1.0.0 Session log file is /tmp/OraInstall2018-05-24_09-45-32AM/install2018-05-24_09-45-32AM.log Loading products list. Please wait. 1% 40% Loading products. Please wait. 42% 43% 44% 45% ......... S_COMP_INPROGRESS_SAVE_INVENTORY Component : oracle.glcm.opatchauto.core.actions.classpath S_COMP_INPROGRESS_SAVE_INVENTORY Component : oracle.glcm.opatchauto.core.wallet.classpath S_COMP_INPROGRESS_SAVE_INVENTORY Logs successfully copied to /app/oraInventory/logs.
Now let’s check the version:
[[email protected]]$ $OMS_HOME/OPatch/opatch version OPatch Version: 13.9.1.3.0 OPatch succeeded. [[email protected]]$
Upgrade the OPatch on 13.2 Agent Home
Stop the agent
./emctl stop agent
Let’s make a backup of OPatch:
cd $AGENT_HOME
mv OPatch OPatch.OLD
Run the patch:
[[email protected]]$ /app/oracle/em13c/agent/jdk/bin/java -jar /app/oracle/media/patches/6880880/opatch_generic.jar -silent oracle_home=/app/oracle/em13c/agent13c Launcher log file is /tmp/OraInstall2018-05-24_09-56-56AM/launcher2018-05-24_09-56-56AM.log. Extracting the installer . . . . Done Checking if CPU speed is above 300 MHz. Actual 2596.992 MHz Passed Checking swap space: must be greater than 512 MB. Actual 2047 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 1954 MB Passed Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-05-24_09-56-56AM Installation Summary Disk Space : Required 26 MB, Available 31,373 MB Feature Sets to Install: Next Generation Install Core 13.9.1.0.1 OPatch 13.9.1.3.0 OPatch Auto OPlan 13.9.1.0.0 Session log file is /tmp/OraInstall2018-05-24_09-56-56AM/install2018-05-24_09-56-56AM.log Loading products list. Please wait. 1% 40% Loading products. Please wait. 42% 43% 44% ...... S_COMP_INPROGRESS_SAVE_INVENTORY Component : oracle.glcm.opatchauto.core.wallet.classpath S_COMP_INPROGRESS_SAVE_INVENTORY Component : jsch.lib S_COMP_INPROGRESS_SAVE_INVENTORY Logs successfully copied to /app/oraInventory/logs.
Check the version
[[email protected]]$ $AGENT_HOME/OPatch/opatch version OPatch Version: 13.9.1.3.0 OPatch succeeded. [[email protected]]$
Start the agent
./emctl start agent
Install OMS Patcher:
This is done in the traditional way:
unzip p19999993_132000_Generic.zip -d $OMS_HOME
Check now the OPatch version
[[email protected]]$ $OMS_HOME/OMSPatcher/omspatcher version OMSPatcher Version: 13.8.0.0.2 OPlan Version: 12.2.0.1.6 OsysModel build: Tue Apr 04 07:25:39 UTC 2017 OMSPatcher succeeded.
OMS Patch OMS-patch-25841652 ( p25841652_132000_Generic.zip)
unzip p25841652_132000_Generic.zip -d OMS-patch-25841652
Stop OMS (but keep the weblogic components up):
[[email protected]]$ ./emctl stop oms Oracle Enterprise Manager Cloud Control 13c Release 2 Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved. Stopping Oracle Management Server... Oracle Management Server Successfully Stopped Oracle Management Server is Down JVMD Engine is Down [[email protected]]$ ./emctl status oms Oracle Enterprise Manager Cloud Control 13c Release 2 Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved. WebTier is Up Oracle Management Server is Down JVMD Engine is Down BI Publisher Server is Up [[email protected]]$
Go to the folder where u have unzipped the patch and run the analyzer:
cd /app/oracle/media/patches/OMS-patch-25841652/25841652 [[email protected] 25841652]$ $OMS_HOME/OMSPatcher/omspatcher apply -analyze OMSPatcher.OMS_DISABLE_HOST_CHECK=true OMSPatcher Automation Tool Copyright (c) 2017, Oracle Corporation. All rights reserved. OMSPatcher version : 13.8.0.0.2 OUI version : 13.9.1.0.0 Running from : /app/oracle/em13c Log file location : /app/oracle/em13c/cfgtoollogs/omspatcher/opatch2018-05-24_11-52-32AM_1.log OMSPatcher log file: /app/oracle/em13c/cfgtoollogs/omspatcher/25841652/omspatcher_2018-05-24_11-52-38AM_analyze.log Please enter OMS weblogic admin server URL(xxxxxxx:xxxx):> Please enter OMS weblogic admin server username(xxxxxxxxx):> Please enter OMS weblogic admin server password:> WARNING: Could not apply the patch "25414328" because the "oracle.sysman.vi.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. WARNING: Could not apply the patch "25414306" because the "oracle.sysman.emfa.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. WARNING: Could not apply the patch "25118889" because the "oracle.sysman.vt.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. WARNING: Could not apply the patch "25414263" because the "oracle.sysman.csm.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. WARNING: Could not apply the patch "25580681" because the "oracle.sysman.ssa.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. WARNING: Could not apply the patch "25414356" because the "oracle.sysman.smf.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. Configuration Validation: Success Running apply prerequisite checks for sub-patch(es) "25414294,25414339,25414245,25765741,25739957" and Oracle Home "/app/oracle/em13c"... Sub-patch(es) "25414294,25414339,25414245,25765741,25739957" are successfully analyzed for Oracle Home "/app/oracle/em13c" Complete Summary ================ All log file names referenced below can be accessed from the directory "/app/oracle/em13c/cfgtoollogs/omspatcher/2018-05-24_11-52-32AM_SystemPatch_25841652_1" Prerequisites analysis summary: ------------------------------- The following sub-patch(es) are applicable: Featureset Sub-patches Log file ---------- ----------- -------- oracle.sysman.top.oms 25414294,25414339,25414245,25765741,25739957 25414294,25414339,25414245,25765741,25739957_opatch2018-05-24_11-52-37AM_1.log The following sub-patches are incompatible with components installed in the OMS system: 25414328,25414306,25118889,25414263,25580681,25414356 -------------------------------------------------------------------------------- The following warnings have occurred during OPatch execution: 1) Could not apply the patch "25414328" because the "oracle.sysman.vi.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. 2) Could not apply the patch "25414306" because the "oracle.sysman.emfa.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. 3) Could not apply the patch "25118889" because the "oracle.sysman.vt.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. 4) Could not apply the patch "25414263" because the "oracle.sysman.csm.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. 5) Could not apply the patch "25580681" because the "oracle.sysman.ssa.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. 6) Could not apply the patch "25414356" because the "oracle.sysman.smf.oms.plugin with version 13.2.1.0.0" core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system. -------------------------------------------------------------------------------- OMSPatcher Session completed with warnings. Log file location: /app/oracle/em13c/cfgtoollogs/omspatcher/25841652/omspatcher_2018-05-24_11-52-38AM_analyze.log OMSPatcher completed with warnings. [[email protected] 25841652]$
Ignore these errors and move on with deploying the patch:
$OMS_HOME/OMSPatcher/omspatcher apply OMSPatcher.OMS_DISABLE_HOST_CHECK=true
After it’s finished:
$OMS_HOME/OMSPatcher/omspatcher lspatches
Start OMS:
./emctl start oms