Enterprise Manager Cloud Control 18.104.22.168 is released yesterday, and I have downloaded it immediately to upgrade our system. It was a very smooth process. The version of our Enterprise Manager was 22.214.171.124. Enterprise Manager 126.96.36.199 is compatible with 188.8.131.52 agents, so total downtime was about 30 minutes (of course it depends on your hardware). I upgraded our system using “one system upgrade” option and then upgraded all EM agents. Only a few agents are failed to upgrade, and I remember that we also had problems when deploying those agents. In this blog post, I will go through the whole process step by step.
I recommend you to read the official upgrade documentation (Thanks to Brandon to remind me to write this). As a blogger, I share my own experience. I can not guarantee that these steps will work on your environment, so you should always check the official documentation first.
As usual, you can download the new version from Oracle website. You need to download all 3 zip files to your server, create a directory and unzip them all into this directory:
unzip em12104_linux64_disk1.zip -d /u01/setup
unzip em12104_linux64_disk2.zip -d /u01/setup
unzip em12104_linux64_disk3.zip -d /u01/setup
Before you run the installer, we need to prepare our system for upgrading. Run emctl to copy EMKey from emkey.ora file to the management repository database:
$OMS_HOME/bin/emctl config emkey -copy_to_repos_from_file \
-repos_host db-cloud.hostname.com -repos_port 1521 -repos_sid EMREP \
-repos_user sysman -emkey_file $OMS_HOME/sysman/config/emkey.ora
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Enter Admin User's Password :
Enter Enterprise Manager Root (SYSMAN) Password :
Enter weblogic admin password as Admin User’s password and SYSMAN password for EM root password. The EMKey will be copied to the Management Repository (it will be removed automatically by the installer after the upgrade is done). Now shutdown the OMS:
$OMS_HOME/bin/emctl stop oms -all