You have probably heard that Oracle released Enterprise Manager Cloud Control 13c on Friday. It’s the first product from Oracle with the number 13 in its release label. It seems Oracle doesn’t care about the bad luck of 13
The new version comes with great features and maybe the most significant one is the unification of hardware and software management. In Oracle Enterprise Manager 13c, some of the important hardware management features of “Ops Center” have been included into the Cloud Control product. My company is not a beta tester of Enterprise Manager, so I wanted to upgrade our EM12c system as soon as possible to test the new features by myself. I upgraded our EM12c system yesterday. Well, as I expected, the upgrade process was easy but you should be careful about prerequisites. Carefully check the certification matrix (in My Oracle Support website) before you decide to upgrade your system! EM13c OMS requires Oracle 12.1.0.2 as repository database, and EM13c agents don’t support Enterprise Linux earlier than version 6. We have redhat Enterprise Linux 5.x targets and our repository database was 11.2.0.4 so I have upgraded our repository database and decided to use the “old agents” with EM13c until we upgrade our servers to Enterprise Linux 6.x.
Please take a look at Enterprise Manager Cloud Control Upgrade Guide, before you start upgrading and make sure that you have backed up the repository database and OMS! I’ll try to provide a step by step guide on upgrading EM12c to EM13c running on Linux system, but this is just to give you an idea about overall process, you should always read and follow the official guide.
Important addition from Sumesh: If you have the below obsolete plug-ins in your EM12.1.0.3/4/5 system, then undeploy them from OMS and Agent before proceeding with upgrade to EM13.1:
- EMC Symmetrix Array (oracle.em.sesy)
- EMC Celerra Storage (oracle.em.secs)
- EMC CLARiiON Array (oracle.em.secl)
- Microsoft Biz Talk Server (oracle.em.smbs)
- Exalogic Elastic Cloud Infrastructure (oracle.em.soee)
Make sure the Repopsitory Database and OMS machine are in the same time zone. Eg. UTC or PDT. If the timezone is not same then, Upgrade will fail at ‘Plug-ins Prequisites check’ step.
When upgrading, EM13c will need to access EMKey (the secret key to encrypt password etc), so we copy the EMKey to the Management Repository:
$OMS_HOME/bin/emctl config emkey -copy_to_repos
We also need to disable the optimizer adaptive feature. So we connect to our repository database and run the following SQL command:
alter system set optimizer_adaptive_features=false scope=spfile;
If you have upgraded your database like, you also need to make sure that database compatibility parameter equal to the database version:
alter system set compatible="12.1.0.2.0" scope=spfile
Then restart the repository database, to make the new changes have taken effect.
Download the installation files from Oracle web site, and run cksum to verify checksums and sizes of the files. EM13c installation doesn’t need you to unzip the files. All you need is to put all files into the same directory, mark em13100_linux64.bin as executable and run it with “oracle” user (the user you installed your current Enterprise Manager):
chmod +x em13100_linux64.bin
./em13100_linux64.bin
![step1]()
You’ll see a familiar screen which asks you to enter your email. Enter your email (or just leave it blank), and then click next button.
![step2]()
Because it’s just released there’s no available patches for EM13c right now, but I still wanted to be sure. Click next to continue.
![step3]()
Examine the list, and if there are important failures, fix them before you continue to upgrade. In the prerequisites check, “ip local port range” gives warning on my system because it’s set to wider range, so I have just decided to ignore the warning.
![step4]()
As you can see, there’s only “one system” upgrade option, so we pick it and continue.
![step5]()
We enter the new middleware location of EM13c.
![step6]()
Enter the SYS and SYSMAN passwords of the repository database. Deferred Data Migration (DDMP) is a post-upgrade activity to migrate the historical data of your old Enterprise Manager. Depending on how much data stored, it may take same time. So you may prefer to run the DDMP jobs later from the Post Upgrade Console.
![step7]()
You may get some warnings about the database, some of them can be fixed automatically by the installer (when you click YES), some of them need manual fixes. Fix them and continue.
![step8]()
Read the repost about the plugin upgrade, click next to continue.
![step9]()
Select additional plugins if you’re planning to use them. If you haven’t stopped the OMS, it’s time to stop it now. Run the following command in the terminal windows and then click next on your installer:
$OMS_HOME/bin/emctl stop oms -all
You also need to stop the agents running on the repository server and management servers! Go to the agent installation directory and run the following:
$AGENT_HOME/agent_inst/bin/emctl stop agent
Although you stop the agents, you may still get a warning about them. Ignore it and continue to upgrade.
Enter the weblogic password, and enter the new location for OMS instance. If you forgot the password, you can recover it. EM13c wants you to choose a directory outside the middleware home.
![step11]()
EM13c comes with BI Publisher. In our existing Enterprise Manager system, we haven’t configured BI Publisher, so I entered directory names to configure it. If you are upgrading an OMS that already has Oracle BI Publisher installed, then these fields should be prefilled and grayed out.
![step12]()
I accept the default ports and click next to continue.
![step13]()
Review the information you entered, and then click the upgrade button to start upgrading.
![step14]()
It took more than one hour on my system but I’m aware that our disks are a little bit slow so it may take less time on a better hardware.
![step15]()
As usual, you see a message box asking you to run “a root script”. It’s in middleware home. After you run the script (with root user), click OK and you’ll see the above screen saying the upgrade is completed.
![loginscreen]()
Now EM13c is ready and waiting you to login
After you login, go to the “upgrade agents” page under the “setup menu” to upgrade your agents. If you have disabled DDMP jobs, you should also go to “post upgrade tasks” under the “setup menu” and start deferred data migration tasks.