Friday, October 7, 2016

Upgrade 13c OMSPatcher to latest version

OMSPatcher is a new feature of EM 13c to apply patches to OMS home.

[oracle@OMSHOST6 ~]$ cd $OMS_HOME
[oracle@OMSHOST6 oms]$ cd OMSPatcher/
[oracle@OMSHOST6 OMSPatcher]$ ./omspatcher version
Oracle Home is not set through $ORACLE_HOME environment variable. OMSPatcher cannot proceed!
OMSPatcher returns with error code = 1

 [oracle@OMSHOST6 OMSPatcher]$ echo $OMS_HOME
/opt/oracle/product/middleware/oms
[oracle@OMSHOST6 OMSPatcher]$ export ORACLE_HOME=/opt/oracle/product/middleware/oms
[oracle@OMSHOST6 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.

Now we need to upgrade OMSPatcher version to higher and it is very simple it is just similar to opatch version upgrade.

Download Patch 19999993 for Release 13.1.0.0.0 from oracle support and copy to the server

 [oracle@OMSHOST6 CB]$ ls
23095307_OMS_plugin  p19999993_131000_Generic.zip
[oracle@OMSHOST6 CB]$ mv p19999993_131000_Generic.zip /opt/oracle/product/middleware/oms/
[oracle@OMSHOST6 CB]$ cd /opt/oracle/product/middleware/oms/

[oracle@OMSHOST6 oms]$ mv OMSPatcher  OMSPatcher_original
[oracle@OMSHOST6 oms]$ unzip  p19999993_131000_Generic.zip
Archive:  p19999993_131000_Generic.zip
   creating: OMSPatcher/
   creating: OMSPatcher/oms/
  inflating: OMSPatcher/oms/generateMultiOMSPatchingScripts.pl
   creating: OMSPatcher/jlib/
  inflating: OMSPatcher/jlib/oracle.omspatcher.classpath.jar
  inflating: OMSPatcher/jlib/oracle.omspatcher.classpath.unix.jar
  inflating: OMSPatcher/jlib/omspatcher.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_wls.bat
  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/omspatcher
  inflating: OMSPatcher/scripts/oms/omspatcher.bat
  inflating: OMSPatcher/omspatcher
   creating: OMSPatcher/wlskeys/
  inflating: OMSPatcher/wlskeys/createkeys.cmd
  inflating: OMSPatcher/wlskeys/createkeys.sh
  inflating: OMSPatcher/omspatcher.bat
  inflating: readme.txt
  inflating: PatchSearch.xml
[oracle@OMSHOST6 oms]$

[oracle@OMSHOST6 oms]$ cd OMSPatcher
[oracle@OMSHOST6 OMSPatcher]$ ./omspatcher version
OMSPatcher Version: 13.6.0.0.1
OPlan Version: 12.1.0.2.2
OsysModel build: Wed Oct 14 06:21:23 PDT 2015

OMSPatcher succeeded.


Reference:
How to upgrade the OMSPatcher to latest version of OMSPatcher (Doc ID 2135028.1)   





0 comments:

Post a Comment

Auto Scroll Stop Scroll