The upgrade of the Enterprise Manager GridControl 10.2.0.5++ to 18.104.22.168 is not really heavy. Here a short decription. I my example I’m going to upgrade from 22.214.171.124 to 126.96.36.199:
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:
Select new middleware home (the Installation is a Out of Place upgrade)
Set password for repository db connection
There are some requirements for a successful upgrade:
Plugin upgrade summary
Choose additional plug-ins
You have to stop old em system now.
Set new passwords
Execute root.sh to complete setup
root@cloudcontrol ~]# /opt/oracle/188.8.131.52/middleware/oms/allroot.sh Starting to execute allroot.sh ......... Starting to execute /opt/oracle/184.108.40.206/middleware/oms/root.sh ...... Running Oracle 11g root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /opt/oracle/220.127.116.11/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/18.104.22.168/middleware/oms Finished execution of /opt/oracle/22.214.171.124/middleware/oms/root.sh ......