Oracle Enterprise Manager Cloud Control 12.1.0.3 upgrade


The upgrade of the Enterprise Manager GridControl 10.2.0.5++ to 12.1.0.3 is not really heavy. Here a short decription. I my example I’m going to upgrade from 12.1.0.2 to 12.1.0.3:

First export EMKEY:

[oracle@cloudcontrol ~]$ /opt/oracle/middleware/oms/oms/bin/emctl config emkey -copy_to_repos
Oracle Enterprise Manager Cloud Control 12c Release 2  
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password : 
The EMKey has been copied to the Management Repository. This operation will cause the EMKey to become unsecure.
After the required operation has been completed, secure the EMKey by running "emctl config emkey -remove_from_repos".
[oracle@cloudcontrol ~]$

Then you have to shut down alle EM components:

[oracle@cloudcontrol ~]$ /opt/oracle/middleware/oms/oms/bin/emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 2  
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down

Now unpack the downloaded ZIP archives and start runInstaller:

oms12103_1

Skip security warning
oms12103_2

Skip My Support
oms12103_3

Check pre requirements
oms12103_4

Choose EM installation to upgrade
oms12103_5

Select new middleware home (the Installation is a Out of Place upgrade)

oms12103_6

Set password for repository db connection

oms12103_7

There are some requirements for a successful upgrade:

oms12103_8

oms12103_9

Plugin upgrade summary

oms12103_10

Choose additional plug-ins

oms12103_11

You have to stop old em system now.

oms12103_12

Set new passwords

oms12103_13

Summary

oms12103_14

Progress

oms12103_15

Execute root.sh to complete setup

oms12103_16

root@cloudcontrol ~]# /opt/oracle/12.1.0.3/middleware/oms/allroot.sh 

Starting to execute allroot.sh ......... 

Starting to execute /opt/oracle/12.1.0.3/middleware/oms/root.sh ......
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /opt/oracle/12.1.0.3/middleware/oms

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/etc exist
/opt/oracle/12.1.0.3/middleware/oms
Finished execution of  /opt/oracle/12.1.0.3/middleware/oms/root.sh ......

Installation summary

oms12103_17

oms12103_18

Done.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s