{"id":564,"date":"2014-02-14T01:18:14","date_gmt":"2014-02-13T23:18:14","guid":{"rendered":"http:\/\/www.ludovicocaldara.net\/dba\/?p=564"},"modified":"2020-08-18T16:44:53","modified_gmt":"2020-08-18T14:44:53","slug":"gi-psu-12-1-0-1-2","status":"publish","type":"post","link":"https:\/\/www.ludovicocaldara.net\/dba\/gi-psu-12-1-0-1-2\/","title":{"rendered":"Some notes about Grid Infrastructure PSU 12.1.0.1.2"},"content":{"rendered":"<p>I&#8217;m creating a new 12c RAC environment from scratch, Ii just want to track a few notes (primarily for my personal use ;-)) about the _PSU.<\/p>\n<p>The opatch utility bundled with the GI does not contain the emocmrsp, so it is necessary to install the latest opatch (6880880).<\/p>\n<p>The patching process can patch both GI and RAC homes at once, but if you don&#8217;t have a valid database registered, an error is raised:<\/p>\n<pre class=\"lang:sh decode:true\"># opatchauto apply \/root\/psu\/17735306 -ocmrf \/home\/oracle\/ocm.rsp\r\n[...]\r\nSystem Configuration Collection failed: oracle.osysmodel.driver.crs.productdriver.ProductDriverException: PRCD-1061 : No database exists\r\n\r\nopatchauto failed with error code 2.<\/pre>\n<p>So you need to patch the Oracle Homes individually if it&#8217;s a new installation.<\/p>\n<p>Remind that:<\/p>\n<ul>\n<li>The patch must be unzipped by the oracle\/grid user in a directory readable to oracle and root (or it will fail with <strong>Argument(s) Error&#8230; Patch Location not valid<\/strong>) or other funny errors (permission denied errors in the middle of the patch process)<\/li>\n<li>Must be applied by the root user<\/li>\n<li>Must be applied individually and\u00a0on every node, <strong>one node at time<\/strong>.<\/li>\n<li>The opatchauto executable must belong to one of the OH you&#8217;re patching (so if you patch GI and RAC separately, \u00a0you have to use the correspondent opatch.<\/li>\n<\/ul>\n<p>Grid:<\/p>\n<pre class=\"lang:sh decode:true\">[root@rac1 psu]# opatchauto apply \/tmp\/psu\/17735306 -oh \/u01\/app\/12.1.0\/grid -ocmrf \/home\/oracle\/ocm.rsp\r\nOPatch Automation Tool\r\nCopyright (c) 2013, Oracle Corporation.  All rights reserved.\r\n\r\nOPatchauto version : 12.1.0.1.2\r\nOUI version        : 12.1.0.1.0\r\nRunning from       : \/u01\/app\/12.1.0\/grid\r\n\r\nopatchauto log file: \/u01\/app\/12.1.0\/grid\/cfgtoollogs\/opatchauto\/17735306\/opatch_gi_2014-02-13_17-49-19_deploy.log\r\n\r\nParameter Validation: Successful\r\n\r\nUser specified following Grid Infrastructure home:\r\n\/u01\/app\/12.1.0\/grid\r\n\r\nConfiguration Validation: Successful\r\n\r\nPatch Location: \/tmp\/psu\/17735306\r\nGrid Infrastructure Patch(es): 17077442 17303297 17552800\r\nRAC Patch(es): 17077442 17552800\r\n\r\nPatch Validation: Successful\r\n\r\nStopping CRS ... Successful\r\n\r\nApplying patch(es) to \"\/u01\/app\/12.1.0\/grid\" ...\r\nPatch \"\/tmp\/psu\/17735306\/17077442\" successfully applied to \"\/u01\/app\/12.1.0\/grid\".\r\nPatch \"\/tmp\/psu\/17735306\/17303297\" successfully applied to \"\/u01\/app\/12.1.0\/grid\".\r\nPatch \"\/tmp\/psu\/17735306\/17552800\" successfully applied to \"\/u01\/app\/12.1.0\/grid\".\r\n\r\nStarting CRS ... Successful\r\n\r\nApply Summary:\r\nFollowing patch(es) are successfully installed:\r\nGI Home: \/u01\/app\/12.1.0\/grid: 17077442, 17303297, 17552800\r\n\r\nopatchauto succeeded.<\/pre>\n<p>RAC:<\/p>\n<pre class=\"lang:sh decode:true\">[root@rac1 psu]# export PATH=\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\/OPatch\/:\/usr\/lib64\/qt-3.3\/bin:\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin:\/root\/bin\r\n[root@rac1 psu]# opatchauto apply \/tmp\/psu\/17735306 -oh \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\/ -ocmrf \/home\/oracle\/ocm.rsp\r\nOPatch Automation Tool\r\nCopyright (c) 2013, Oracle Corporation.  All rights reserved.\r\n\r\nOPatchauto version : 12.1.0.1.2\r\nOUI version        : 12.1.0.1.0\r\nRunning from       : \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\r\n\r\nopatchauto log file: \/u01\/app\/12.1.0\/grid\/cfgtoollogs\/opatchauto\/17735306\/opatch_gi_2014-02-13_18-12-10_deploy.log\r\n\r\nParameter Validation: Successful\r\n\r\nUser specified the following RAC home(s) for this session:\r\n\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\r\n\r\nConfiguration Validation: Successful\r\n\r\nPatch Location: \/tmp\/psu\/17735306\r\nGrid Infrastructure Patch(es): 17077442 17303297 17552800\r\nRAC Patch(es): 17077442 17552800\r\n\r\nPatch Validation: Successful\r\n\r\nStopping RAC (\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1) ... Successful\r\n\r\nApplying patch(es) to \"\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\" ...\r\nPatch \"\/tmp\/psu\/17735306\/17077442\" successfully applied to \"\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\".\r\nPatch \"\/tmp\/psu\/17735306\/17552800\" successfully applied to \"\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\".\r\n\r\nStarting RAC (\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1) ... Successful\r\n\r\n[WARNING] The local database(s) on \"\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1\" is not running. SQL changes, if any, cannot be applied.\r\n\r\nApply Summary:\r\nFollowing patch(es) are successfully installed:\r\nRAC Home: \/u01\/app\/oracle\/product\/12.1.0\/dbhome_1: 17077442, 17552800\r\n\r\nopatchauto succeeded.<\/pre>\n<p>Cheers<\/p>\n<p>&#8212;<\/p>\n<p>Ludovico<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m creating a new 12c RAC environment from scratch, Ii just want to track a few notes (primarily for my personal use ;-)) about the _PSU. The opatch utility bundled with the GI does not contain the emocmrsp, so it &hellip; <a href=\"https:\/\/www.ludovicocaldara.net\/dba\/gi-psu-12-1-0-1-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[327,326,3,52,330,149,132],"tags":[],"class_list":["post-564","post","type-post","status-publish","format-standard","hentry","category-oracle-maa","category-oracle","category-oracledb","category-12c","category-oracle-inst-upg","category-oracle-rac","category-triblog"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/comments?post=564"}],"version-history":[{"count":3,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/564\/revisions"}],"predecessor-version":[{"id":567,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/564\/revisions\/567"}],"wp:attachment":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/media?parent=564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/categories?post=564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/tags?post=564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}