Upgrade Oracle Enterprise Manager 12c ( to

In order to upgrade our OEM environment from to we need to download the latest version of OEM from either http://otn.oracle.com or from http://edelivery.oracle.com. Once we have the files needed to upgrade, we need to stage them in a location that is central.
Note: Most downloads on Linux will be placed in the /home/oracle/Downloads directory.
Once we are in the directory where the downloaded files are, we need to unzip these files.

#> unzip em12103_linux64_disk1.zip –d ./

The zip command needs to be repeated for all of the files downloaded.
Next, we need to move into the directory where we unzipped everything and run the runInstaller.

#> cd ./

#> ./runInstaller &

When the installer starts, we will be greeted with our standard Oracle Installation Wizard. To upgrade the OEM to, consists of nine steps. We will review these nine steps throughout this posting.
Step 1:
When asked if we want to be notified of security issues, we need to uncheck the box. Say “yes” to whatever prompt is presented when clicking next.

Step 2:
We want to skip any updates for this version. Since this version is the current release, there is no additional items to be added. Click Next.

Step 3:
Make sure that all the prerequisites are meet. In the screen shot, we see that I have a warning. This warning can be ignored; however, later on we will see a make error, which can be ignored as well.

Step 4:
On this step, we tell the installer to do an upgrade. In the screen shot, we are doing a 1-system upgrade.

Step 5:
Part of the upgrade, Oracle will be doing an out-of-place upgrade. This means we need to provide a new Oracle Home directory for the middleware stack.

Step 6:
Provide the password for the repository database. These passwords are normally the SYS and SYSMAN passwords. This upgrade process will be modifying the SYSMAN tables as needed.

Step 6.1
The upgrade process will be looking for the “emkey“. This key needs to be placed inside the database so it can be referenced during the upgrade. If not available, the wizard will error and provide you with this message.

To prevent this message for triggering, run the following command before the upgrade is started. If already started, we can still run this command and move pass the error message.

#>cd /opt/oracle/middleware/oms/bin

#>./emctl config emkey –copy_to_repos –sysman_pwd <password>

Additional errors may arise. This is due to the database not having all the correct parameters set at the instance level. The parameters identified in the error message can be ignored. Click “Yes” or “OK”.

Step 7:
During this step, Oracle is telling us what versions of the plug-ins we currently have installed and what version will be available after the upgrade is done. Click “Next”

Step 8:
If we need to add additional plug-ins, we can at this time. For demo purpose of this upgrade, we don’t need to add any additional plug-ins.

Before we can do anything to the Weblogic layer, we need to bring down the OMS. If the weblogic server is up the wizard will complain and tell us to bring it down.

#> cd /opt/oracle/middleware/oms/bin

#> ./emctl stop oms –all

Step 9:
The wizard will identify the correct Weblogic server and port number. The only thing we need to provide is the password for the weblogic user. If the OMS Instance Base Location is not prepopulated, then fill this in as well. Click “Next”

Step 10:
We can review all the options that will take place during the upgrade.

Step 11:
This is the fun part. We get to watch Oracle Enterprise Manager upgrade itself. Depending on the speed of the box, it may take a bit to upgrade.

Step 12:
The finish screen (not captured). On this screen it will tell you the URL for both the OMS and Admin server. With this being just an upgrade, everything remains the same. All previous URLs should work (illustrated below).

Once everything is up and accessible. We can check the version of OEM from the web interface.

Twitter: @curtisbl294
Blog: http://dbasolved.com

Please follow and like:

Enquire now

Give us a call or fill in the form below and we will contact you. We endeavor to answer all inquiries within 24 hours on business days.