{"id":9546,"date":"2016-12-13T14:11:44","date_gmt":"2016-12-13T13:11:44","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/"},"modified":"2016-12-13T14:11:44","modified_gmt":"2016-12-13T13:11:44","slug":"upgrade-to-enterprise-manager-13-2","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/","title":{"rendered":"Upgrade to Enterprise Manager 13.2"},"content":{"rendered":"<p>I will describe how to upgrade Enterprise Manager 13.1.0.0 to the new 13.2.0.0 version.<\/p>\n<p>At the beginning we have to ensure that we applied the latest PSU on the repository database.<\/p>\n<p>It is mandatory to apply the following patch before upgrading to Enterprise Manager Cloud Control 13.2.0.0:<\/p>\n<p>DATABASE PATCH SET UPDATE 12.1.0.2.160419<\/p>\n<p>To install the patch you have to check the following point:<\/p>\n<p class=\"dbiNormal\">&#8211; you have to use <span lang=\"EN-US\">Oracle Interim Patch Installer version 12.2.0.1.8<\/span><\/p>\n<p class=\"dbiNormal\">Once you have downloaded the patch and unzipped it, you can check for potential conflicts:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@vmCC13c:\/u01\/app\/oracle\/ [EMREP13C] opatch prereq \nCheckConflictAgainstOHWithDetail \n-phBaseDir \/oracle\/u01\/app\/oracle\/software\/22899531\/22806133\nOracle Interim Patch Installer version 12.2.0.1.8\nCopyright (c) 2016, Oracle Corporation.\u00a0 All rights reserved.\nPREREQ session\nOracle Home\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\nCentral Inventory : \/u01\/app\/oraInventory\n\u00a0\u00a0 from\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\/oraInst.loc\nOPatch version\u00a0\u00a0\u00a0 : 12.2.0.1.8\nOUI version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 12.1.0.2.0\nInvoking prereq \"checkconflictagainstohwithdetail\"\nPrereq \"checkConflictAgainstOHWithDetail\" passed.\u00a0\nOPatch succeeded.<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@vmCC13c:\/u01\/app\/oracle\/ [EMREP13C] opatch prereq \nCheckConflictAgainstOHWithDetail -phBaseDir \n\/oracle\/u01\/app\/oracle\/software\/22899531\/23006522\nOracle Interim Patch Installer version 12.2.0.1.8\nCopyright (c) 2016, Oracle Corporation.\u00a0 All rights reserved.\nPREREQ session\nOracle Home\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\nCentral Inventory : \/u01\/app\/oraInventory\n\u00a0\u00a0 from\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\/oraInst.loc\nOPatch version\u00a0\u00a0\u00a0 : 12.2.0.1.8\nOUI version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 12.1.0.2.0\nInvoking prereq \"checkconflictagainstohwithdetail\"\nPrereq \"checkConflictAgainstOHWithDetail\" passed.\nOPatch succeeded.<\/pre>\n<p>And finally, you check for the system space available:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@vmCC13c:\/u01\/app\/oracle\/ [EMREP13C] $ORACLE_HOME\/OPatch\/opatch prereq \nCheckSystemSpace -phBaseFile \/oracle\/u01\/app\/oracle\/software\/patch_list_dbhome.txt\nOracle Interim Patch Installer version 12.2.0.1.8\nCopyright (c) 2016, Oracle Corporation.\u00a0 All rights reserved.\nPREREQ session\nOracle Home\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\nCentral Inventory : \/u01\/app\/oraInventory\n\u00a0\u00a0 from\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\/oraInst.loc\nOPatch version\u00a0\u00a0\u00a0 : 12.2.0.1.8\nOUI version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 12.1.0.2.0\nInvoking prereq \"checksystemspace\"\nPrereq \"checkSystemSpace\" passed.\nOPatch succeeded.<\/pre>\n<p>Then once the pre requisites are ok, you stop the repository database, and you run the classical opatch apply command from the directory where you have unzipped the PSU.<\/p>\n<p>You finally check the Oracle inventory:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@vmtestoraCC13c:\/home\/oracle\/ [EMREP13C] opatch lsinventory\nOracle Interim Patch Installer version 12.2.0.1.8\nCopyright (c) 2016, Oracle Corporation.\u00a0 All rights reserved.\nOracle Home\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\nCentral Inventory : \/u01\/app\/oraInventory\n\u00a0\u00a0 from\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\/oraInst.loc\nOPatch version\u00a0\u00a0\u00a0 : 12.2.0.1.8\nOUI version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 12.1.0.2.0\n--------------------------------------------------------------------------------\nLocal Machine Information:\nARU platform id: 226\nARU platform description:: Linux x86-64\nInstalled Top-level Products (1):\nOracle Database 12c\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 12.1.0.2.0\nThere are 1 products installed in this Oracle Home.\u00a0\nInterim patches (1) :\u00a0\nPatch\u00a0 22806133\u00a0\u00a0\u00a0\u00a0 : applied on Tue Nov 22 11:19:55 CET 2016\nUnique Patch ID:\u00a0 19983161\nPatch description:\u00a0 \"DATABASE BUNDLE PATCH: 12.1.0.2.160419 (22806133)\"<\/pre>\n<p>Secondly you have to disable the optimizer_adaptive_features parameter in the repository database:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">SQL&gt; alter system set optimizer_adaptive_features=false scope=both;<\/pre>\n<p class=\"dbiNormal\"><span lang=\"EN-US\">System altered.<\/span><\/p>\n<p>Then we have to ensure that the tables in the Management Repository do not have any snapshots created:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">SQL&gt; select master , log_table from all_mview_logs where log_owner='SYSMAN';<\/pre>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">no rows selected<\/pre>\n<p>Then we have to ensure that the tables in the Management Repository do not have any snapshots created:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">SQL&gt; select master , log_table from all_mview_logs where log_owner='SYSMAN';<\/pre>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">no rows selected<\/pre>\n<p>We verify if any login triggers are set:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">SQL&gt; SELECT COUNT (trigger_name) FROM sys.dba_triggers \nWHERE TRIGGERING_EVENT LIKE 'LOGON%' AND status='ENABLED';\nSQL&gt; SELECT trigger_name FROM sys.dba_triggers \nWHERE TRIGGERING_EVENT LIKE 'LOGON%' AND status='ENABLED';<\/pre>\n<p>We verify if any logoff triggers are set:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">SQL&gt; SELECT COUNT (trigger_name) FROM sys.dba_triggers\nWHERE TRIGGERING_EVENT LIKE 'LOGOFF%' AND status='ENABLED';\nSQL&gt; SELECT trigger_name FROM sys.dba_triggers\nWHERE TRIGGERING_EVENT LIKE 'LOGOFF%' AND status='ENABLED';<\/pre>\n<p>If we find a trigger enabled, we disable it:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">SQL&gt; SELECT trigger_name, owner from sys.dba_triggers \nWHERE TRIGGERING_EVENT LIKE 'LOGOFF%' AND status='ENABLED';\n\u00a0\nTRIGGER_NAME         OWNER\nGSMLOGOFF            GSMADMIN_INTERNAL\n\u00a0\nSQL&gt; alter trigger gsmadmin_internal.gsmlogoff disable;<\/pre>\n<p>Then you have to copy the EMKEY to the repository database:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@vmCC13c:\/u03\/app\/oracle\/oms13c\/bin\/ [oms13c] emctl config emkey \n-copy_to_repos -sysman_pwd dbi05manager\nOracle Enterprise Manager Cloud Control 13c Release 1\nCopyright (c) 1996, 2015 Oracle Corporation.\u00a0 All rights reserved.\nThe EMKey has been copied to the Management Repository. \nThis operation will cause the EMKey to become unsecure.\nAfter the required operation has been completed, \nsecure the EMKey by running \"emctl config emkey -remove_from_repos\".<\/pre>\n<p>Concerning the OMS shutdown we follow the following procedure:<\/p>\n<p>We stop the JVMD and ADP engines explicitly:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@vmCC13c:\/u03\/app\/oracle\/oms13c\/bin\/ [oms13c] emctl extended oms jvmd stop -all\nOracle Enterprise Manager Cloud Control 13c Release 1\nCopyright (c) 1996, 2015 Oracle Corporation.\u00a0 All rights reserved.\nNo verb found to be registered with emctl extensibles framework\n\u00a0\noracle@vmCC13c:\/u03\/app\/oracle\/oms13c\/bin\/ [oms13c] emctl extended oms adp stop -all\nOracle Enterprise Manager Cloud Control 13c Release 1\nCopyright (c) 1996, 2015 Oracle Corporation.\u00a0 All rights reserved.\nNo verb found to be registered with emctl extensibles framework<\/pre>\n<p>Then we shut down completely the OMS:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@v333:\/home\/oracle\/ [oms13c] emctl stop oms -all\nOracle Enterprise Manager Cloud Control 13c Release 1\nCopyright (c) 1996, 2015 Oracle Corporation.\u00a0 All rights reserved.\nStopping Oracle Management Server...\nWebTier Successfully Stopped\nOracle Management Server Successfully Stopped\nOracle Management Server is Down\nJVMD Engine is Down\nStopping BI Publisher Server...\nBI Publisher Server Successfully Stopped\nAdminServer Successfully Stopped\nBI Publisher Server is Down<\/pre>\n<p>It is mandatory to stop the management agent in order to avoid errors during the migration phase:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@vmtestoraCC13c:\/home\/oracle\/ [agent13c] emctl stop agent\nOracle Enterprise Manager Cloud Control 13c Release 1\nCopyright (c) 1996, 2015 Oracle Corporation.\u00a0 All rights reserved.\nStopping agent ... stopped.<\/pre>\n<p>WATCH OUT: before running the installer unset PERLLIB and PERL5LIB variables (if for example you have environment variables defined for your oracle user) otherwise you will get the following error:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">\/opt\/oracle\/Middleware13c\/perl\/lib\/5.10.0\/x86_64-linux-thread-multi\/auto\/Cwd\/Cwd.so: \nundefined symbol: Perl_Gthr_key_ptr\nERROR: Unable to continue with the installation \nbecause some one-off patches could not be applied successfully.<\/pre>\n<p>Then once the oms and the management agent are stopped you can run:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@v333:\/opt\/software\/ [oms13c] .\/em13200_linux64.bin\nChecking monitor: must be configured to display at least 256 colors.\u00a0\u00a0 \nActual 16777216\u00a0\u00a0\u00a0 Passed\nChecking swap space: must be greater than 512 MB.\u00a0\u00a0 Actual 7999 MB\u00a0\u00a0\u00a0 Passed\nChecking if this platform requires a 64-bit JVM.\u00a0\u00a0 Actual 64\u00a0\u00a0\u00a0 \nPassed (64-bit not required)\nPreparing to launch the Oracle Universal Installer \nfrom \/tmp\/OraInstall2016-11-18_10-07-45AM\n====Prereq Config Location main===\n\/tmp\/OraInstall2016-11-18_10-07-45AM\/stage\/prereq\nEMGCInstaller args -scratchPath\nEMGCInstaller args \/tmp\/OraInstall2016-11-18_10-07-45AM\nEMGCInstaller args -sourceType\nEMGCInstaller args network\nEMGCInstaller args -timestamp\nEMGCInstaller args 2016-11-18_10-07-45AM\nEMGCInstaller args -paramFile\nEMGCInstaller args \/tmp\/sfx_f8wrWz\/Disk1\/install\/linux64\/oraparam.ini\nEMGCInstaller args -nocleanUpOnExit\nDiskLoc inside SourceLoc\/opt\/software\nEMFileLoc:\/tmp\/OraInstall2016-11-18_10-07-45AM\/oui\/em\/\nScratchPathValue :\/tmp\/OraInstall2016-11-18_10-07-45AM<\/pre>\n<p>The first installer screen appears:<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13582\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1.png\" alt=\"em1\" width=\"472\" height=\"366\" \/><\/a><\/p>\n<p>I choosed not to receive Security alerts then I Select Next:<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13583\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em2.png\" alt=\"em2\" width=\"476\" height=\"370\" \/><\/a><\/p>\n<p>I select Next, I skip the software Updates<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13584\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em3.png\" alt=\"em3\" width=\"483\" height=\"375\" \/><\/a><\/p>\n<p>We check the prerequisites are ok<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13585\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em4.png\" alt=\"em4\" width=\"484\" height=\"382\" \/><\/a><\/p>\n<p>We choose to upgrade an existing Enterprise Manager system, we enter the old Middleware home, and we select Next<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13586\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em5.png\" alt=\"em5\" width=\"482\" height=\"379\" \/><\/a><\/p>\n<p>We enter the new Middleware home, and we select Next<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13587\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em6.png\" alt=\"em6\" width=\"480\" height=\"380\" \/><\/a><\/p>\n<p>We enter the repository connection details, the sys and sysman passords, we confirm we have a correct repository backupm we disable the DDMP jobs and we select Next<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13588\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em7.png\" alt=\"em7\" width=\"385\" height=\"221\" \/><\/a><\/p>\n<p>We select Yes to fix the issues<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13589\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em8.png\" alt=\"em8\" width=\"463\" height=\"366\" \/><\/a><\/p>\n<p>We review the plugins and we select Next<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13590\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em9.png\" alt=\"em9\" width=\"464\" height=\"360\" \/><\/a><\/p>\n<p>We have the possibility to add plugins we want to deploy while upgrading to EM 13.2<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13591\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em10.png\" alt=\"em10\" width=\"472\" height=\"375\" \/><\/a><\/p>\n<p>We enter the weblogic username and password and we select Next<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13592\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em11.png\" alt=\"em11\" width=\"473\" height=\"368\" \/><\/a><\/p>\n<p>I choosed not to configure a shared location for Oracle BI publisher<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em121.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13594\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em121.png\" alt=\"em12\" width=\"478\" height=\"371\" \/><\/a><\/p>\n<p>We choose the default ports and we select Next<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13596\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em13.png\" alt=\"em13\" width=\"477\" height=\"378\" \/><\/a><\/p>\n<p>We select Upgrade:<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13597\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em14.png\" alt=\"em14\" width=\"482\" height=\"376\" \/><\/a><\/p>\n<p>The upgrade is running fine:=)<\/p>\n<p>At the end of the upgrade, you have to run connected as root from the new OMS home the shell root.sh:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">root@vmCC13c oms13cr2]# . root.sh\n\/etc exist\n\/u03\/app\/oracle\/oms13cr2<\/pre>\n<p>Finally you have successfully upgraded to EM 13.2:<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13598\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em15.png\" alt=\"em15\" width=\"358\" height=\"207\" \/><\/a><\/p>\n<p>Once the OMs is upgraded, you have to upgrade the management agents with the classical procedure. From the EM console you select upgrade agent as follows:<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13599\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em16.png\" alt=\"em16\" width=\"256\" height=\"279\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13600\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em17.png\" alt=\"em17\" width=\"627\" height=\"220\" \/><\/a><\/p>\n<p>You add the management agent, and you select Submit<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13601\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em18.png\" alt=\"em18\" width=\"627\" height=\"199\" \/><\/a><\/p>\n<p>You can follow the upgrade phase, finally you have to run the root.sh script on the management agent and cleanup the old agent environment with the EM console as follows:<\/p>\n<p>You select the Post Agent Upgrade Tasks, you select the agent previously migrated:<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13602\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em19.png\" alt=\"em19\" width=\"627\" height=\"215\" \/><\/a><\/p>\n<p>And you select Submit<\/p>\n<p>The old agent home will be removed; you will just have to adapt your \/etc\/oratab file to give the new ORACLE_HOME for your agent 13.2<\/p>\n<p>The last phase consists in deleting the old OMS home. As we were in 13.1 version, we only have to check nothing is running with the old environment, then delete the old home.<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle@vmCC13c:\/u03\/app\/oracle\/oms13cr2\/ [oms13c] ps -ef | grep oms | grep -v 13cr2\noracle\u00a0\u00a0 28463 27736\u00a0 0 15:52 pts\/5\u00a0\u00a0\u00a0 00:00:00 grep --color=auto oms\n\u00a0\noracle@vmCC13c:\/u03\/app\/oracle\/ [oms13c] ls\nagent13c\u00a0 CC13c_setupinfo.txt\u00a0 gc_inst\u00a0 gc_inst1\u00a0 oms13c\u00a0 oms13cr2\u00a0 swlib\noracle@vmCC13c:\/u03\/app\/oracle\/ [oms13c] rm -rf oms13c\n\n<\/pre>\n<p class=\"dbiNormal\"><span lang=\"EN-US\">The new features are listed in the following URL and mainly concern the virtualization, the Middleware and Cloud Management, and some new features about incident management (always on monitoring installed on a different host for example).<\/span><\/p>\n<p class=\"dbiNormal\"><span lang=\"EN-US\"><a href=\"http:\/\/docs.oracle.com\/cd\/E73210_01\/EMCON\/GUID-503991BC-D1CD-46EC-8373-8423B2D43437.htm#EMCON-GUID-503991BC-D1CD-46EC-8373-8423B2D43437\">http:\/\/docs.oracle.com\/cd\/E73210_01\/EMCON\/GUID-503991BC-D1CD-46EC-8373-8423B2D43437.htm#EMCON-GUID-503991BC-D1CD-46EC-8373-8423B2D43437<\/a><\/span><\/p>\n<p class=\"dbiNormal\">Finally the upgrade phase to EM 13.2 is finished in a couple of hours and did not present any errors.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I will describe how to upgrade Enterprise Manager 13.1.0.0 to the new 13.2.0.0 version. At the beginning we have to ensure that we applied the latest PSU on the repository database. It is mandatory to apply the following patch before upgrading to Enterprise Manager Cloud Control 13.2.0.0: DATABASE PATCH SET UPDATE 12.1.0.2.160419 To install the [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":9566,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[96,215,218],"type_dbi":[],"class_list":["post-9546","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring","tag-oracle","tag-oracle-enterprise-manager","tag-oracle-enterprise-manager-cloud-12c"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Upgrade to Enterprise Manager 13.2 - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Upgrade to Enterprise Manager 13.2\" \/>\n<meta property=\"og:description\" content=\"I will describe how to upgrade Enterprise Manager 13.1.0.0 to the new 13.2.0.0 version. At the beginning we have to ensure that we applied the latest PSU on the repository database. It is mandatory to apply the following patch before upgrading to Enterprise Manager Cloud Control 13.2.0.0: DATABASE PATCH SET UPDATE 12.1.0.2.160419 To install the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-13T13:11:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"472\" \/>\n\t<meta property=\"og:image:height\" content=\"366\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"Upgrade to Enterprise Manager 13.2\",\"datePublished\":\"2016-12-13T13:11:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/\"},\"wordCount\":717,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png\",\"keywords\":[\"Oracle\",\"Oracle Enterprise Manager\",\"Oracle Enterprise Manager Cloud 12c\"],\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/\",\"name\":\"Upgrade to Enterprise Manager 13.2 - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png\",\"datePublished\":\"2016-12-13T13:11:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png\",\"width\":472,\"height\":366},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upgrade to Enterprise Manager 13.2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Upgrade to Enterprise Manager 13.2 - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/","og_locale":"en_US","og_type":"article","og_title":"Upgrade to Enterprise Manager 13.2","og_description":"I will describe how to upgrade Enterprise Manager 13.1.0.0 to the new 13.2.0.0 version. At the beginning we have to ensure that we applied the latest PSU on the repository database. It is mandatory to apply the following patch before upgrading to Enterprise Manager Cloud Control 13.2.0.0: DATABASE PATCH SET UPDATE 12.1.0.2.160419 To install the [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/","og_site_name":"dbi Blog","article_published_time":"2016-12-13T13:11:44+00:00","og_image":[{"width":472,"height":366,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png","type":"image\/png"}],"author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"Upgrade to Enterprise Manager 13.2","datePublished":"2016-12-13T13:11:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/"},"wordCount":717,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png","keywords":["Oracle","Oracle Enterprise Manager","Oracle Enterprise Manager Cloud 12c"],"articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/","url":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/","name":"Upgrade to Enterprise Manager 13.2 - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png","datePublished":"2016-12-13T13:11:44+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/em1-1.png","width":472,"height":366},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/upgrade-to-enterprise-manager-13-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Upgrade to Enterprise Manager 13.2"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=9546"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9546\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/9566"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=9546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=9546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=9546"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=9546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}