Applying EM12cR2 PSU1 12.1.0.2.1 (patch 14840279)

I’ve just applied PSU1 to our Oracle Enterprise Manager Cloud Control 12c Release 2 (12.1.0.2) Production environment in a matter of minutes, so I thought I’d post how straight forward it was 🙂

Download patch 14840279 (PSU) and 6880880 (latest OPatch v11.1.0.0.0) to a convenient location on your OMS server(s), such as /tmp.

Set your environment variables:

export MW_HOME=/u01/app/oracle/middleware/oms12c
export ORACLE_HOME=$MW_HOME/oms
export PATH=$PATH:$ORACLE_HOME/OPatch
export PATCH_TOP=$ORACLE_HOME/Patches

Create your PATCH_TOP directory:

mkdir $PATCH_TOP

Update OPatch to the latest version:

unzip -d $ORACLE_HOME /tmp/p6880880_111000_Linux-x86-64.zip

Check OPatch has been updated correctly:

opatch version

Unzip the patch:

unzip -d $PATCH_TOP /tmp/p14840279_121020_Generic.zip
cd $PATCH_TOP/14840279

Check for any conflicting patches (take a look at MOS 854428.1 & 965556.1 if there are):

opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir .

Shutdown your OMS(es):

$ORACLE_HOME/bin/emctl stop oms

Leave the EM repository database, and it’s listener up and running, and make sure you take a full backup of your database, and of your OMS installation at this point!

tar -cvf /u01/app/oracle/oms12c-pre-psu1.tar /u01/app/oracle/middleware/oms12c

Apply the patch to your OMS (only takes a few mins):

opatch apply

Once the patch has been applied successfully, if you have other OMSes, apply the same patches (don’t forget OPatch) to those, and then continue with the post_deploy.sh script below…

Grant executable permission to the post_deploy.sh script (this wasn’t done by default!):

cd $PATCH_TOP/14840279
chmod +x post_deploy.sh

Run the post patch script, entering the path of the patch directory and SYSMAN password when prompted:

./post_deploy.sh

Please enter Patch Location: /u01/app/oracle/middleware/oms12c/oms/Patches/14840279
Please enter SYSMAN password: ****

Monitor it’s progress by tailing the log file supplied (about 5 mins):

tail -f /u01/app/oracle/middleware/oms12c/oms/Patches/14840279/log/*.log

Restart the OMSes:

$ORACLE_HOME/bin/emctl start oms

A list of bugs fixed by this PSU and the readme contents can be found here.

References:
Oracle Recommended Patches (PSU) for Enterprise Manager Base Platform (All Releases)

Leave a comment

Your email address will not be published. Required fields are marked *