Home > oracle > Upgrade to Oracle Enterprise Manager Cloud Control 12c Release 3 (12.1.0.3)

Upgrade to Oracle Enterprise Manager Cloud Control 12c Release 3 (12.1.0.3)

Just a quick wrap up on EM12cR3 upgrade. I have to say that I was pleasantly surprised that everything went so smooth. I didn’t expected anything else, but with so how many products and components we have there I got few things in mind. The version I got was already upgraded to 12.1.0.2 so it was really easy for me to run the upgrade.

Things to watch out for:
– You need to be already running OEM version 12.1.0.2 to be able to upgrade to 12.1.0.3. If not you must apply BP1 to your 12.1.0.1 installation and then patch to 12.1.0.3. Remember to patch the agents as well.
– The upgrade to 12.1.0.3 is out-of-place upgrade, so you need to point out to new middleware home and you’ll need additional 15 GB for the installation.
– The installation takes between 1-2 hours to complete depending on you machine power.
– I didn’t stopped any of the agents during the upgrade.
– After the upgrade all OMS components were started automatically.

Here is what I’ve done:
1. Definitely take backup of the middleware home and database as well. You don’t want to end up removing the agents and reinstalling the OMS. I had 400+ targets and failure wasn’t an option. For the middleware home I used simple tar and RMAN for the repository database.

2. Stop the OMS and other components:

cd $ORACLE_HOME/bin/
cd bin
./emctl stop oms -all

3. It’s required that the EMKey be copied to the repository prior upgrade, if you miss that the installer will kindly remind you. There is also note  in the documentation:

$OMS_HOME/bin/emctl config emkey -copy_to_repos_from_file -repos_host [repository_host] -repos_port [port] -repos_sid [sid] -repos_user [username] -emkey_file $OMS_HOME/sysman/config/emkey.ora

4. The only command I run during the upgrade was a simple grant, everything else was done by the installer:

 SQL> grant execute on dbms_random to dbsnmp;

Grant succeeded.

5. Once the upgrade is complete:
– upgrade all the agents from the console:

Setup -> Manage Cloud Control -> Upgrade agents

– as a post upgrade step the old agent homes should be deleted:

Setup -> Manage Cloud Control -> Upgrade agents -> Post Agent Upgrade Tasks

– and secure the EMKey:

emctl config emkey -remove_from_repos

The upgrade guide is very useful, consider it before doing the upgrade.

Also have a look on New Features In Oracle Enterprise Manager Cloud Control 12.1.0.3 where the most notable thing is support of Oracle Database 12c and its new features, but there are plenty of other new features and improvements as well.

Similar Posts:

m4s0n501
Categories: oracle Tags: , ,
  1. Ravindra
    December 11th, 2013 at 08:58 | #1

    Hi,

    I have installed EM 12.1.0.3 successfully, how ever when i am configuring chargeback while adding target getting error as JBO-29000 Unhandled exception.

    Can you please let me know how can i resolve this.

    Regards
    Ravindra

  2. Svetoslav Gyurov
    December 12th, 2013 at 11:23 | #2

    Hi Ravindra,

    I can’t say what causes that neither the exception speaks for itself – JBO-29000 it’s an unhandled exception. You should look on the full exception and try identify in which function the code fails and try to figure why that might be happening, either by googling or using MOS. I’m sorry but I haven’t used the chargeback option yet and can’t say what’s causing the exception.

    Regards,
    Sve

  3. Funky
    March 1st, 2014 at 06:41 | #3

    Hi
    I have EM 12.1.0.2 on two nodes (some kind of clustered EM.
    1) Does this setup do also second node as well automatically (option Two System Upgrade)?
    2) Repository db is 11.1. Should db upgrade be done before or after migrating to 12.1.0.3?
    Brg
    Funky

  4. Svetoslav Gyurov
    March 4th, 2014 at 16:42 | #4

    Hi Funky,

    The 2-Stystem option and the clustered EM are two different things. You can check the upgrade paths and options here

    The repository database can be any starting from 10.2.0.5 to 11.2.0.4, that can be confirmed from the Certification page at MOS.

    Thanks for reading.

    Regards,
    Sve

  1. No trackbacks yet.