{"id":22774,"date":"2023-02-18T15:49:32","date_gmt":"2023-02-18T14:49:32","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=22774"},"modified":"2023-06-20T10:23:58","modified_gmt":"2023-06-20T08:23:58","slug":"the-option-applyru-of-runinstaller","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/","title":{"rendered":"The Option -applyRU of runInstaller"},"content":{"rendered":"\n<p><strong>By Mouhamadou Diaw<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>RU, MRP should be applied to database home as soon as possible. Usually we often nstall the base version and after install the RU on top on the base version<\/p>\n\n\n\n<p>For example we want to have the version21.8<\/p>\n\n\n\n<p>We usually<\/p>\n\n\n\n<p>-Install&nbsp; the LINUX.X64_213000_db_home.zip-<\/p>\n\n\n\n<p>&#8211; And then apply the RU 21.8&nbsp; 34527084<\/p>\n\n\n\n<p>But another method is to apply the RU during the installation of the Oracle software. Indeed, the runInstaller command has an option -applyRU that allows to do so<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;oracle@oraadserver 21.3.0]$ \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/runInstaller -help | grep applyRU\n        -applyRU - apply release update to the Oracle home.\n&#091;oracle@oraadserver 21.3.0]$\n<\/code><\/pre>\n\n\n\n<p>In this blog I am showing how we can use this option to directly install an Oracle 21.8<\/p>\n\n\n\n<p>First download following files<\/p>\n\n\n\n<p><strong>LINUX.X64_213000_db_home.zip<\/strong>  :  base version <\/p>\n\n\n\n<p><strong>p34527084_210000_Linux-x86-64.zip<\/strong> : RU 21.8 <\/p>\n\n\n\n<p>As you may already know RU requests a minimum version of OPatch. You can have this information in the Readme of the RU<\/p>\n\n\n\n<p>Then also download the latest OPatch<\/p>\n\n\n\n<p>Below my files<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>oracle@oraadserver:\/home\/oracle\/ &#091;rdbms21c] ls -ltra *.zip\n-rw-r--r--. 1 oracle oinstall 3109225519 Feb 10 18:39 LINUX.X64_213000_db_home.zip\n-rw-r--r--. 1 oracle oinstall 1155081421 Feb 17 15:49 p34527084_210000_Linux-x86-64.zip\n-rw-r--r--. 1 oracle oinstall  124347218 Feb 17 16:04 p6880880_210000_Linux-x86-64.zip\noracle@oraadserver:\/home\/oracle\/ &#091;rdbms21c]\n<\/code><\/pre>\n\n\n\n<p>The first step is to unpack the base version in your new Oracle Home<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>oracle@oraadserver:\/home\/oracle\/ &#091;rdbms21c] unzip -q -d \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8 LINUX.X64_213000_db_home.zip<\/code><\/pre>\n\n\n\n<p>As specified earlier, you have to update your OPatch version. Just unpack the OPatch zip file in your new Oracle_home<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>oracle@oraadserver:\/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/ &#091;rdbms21c] pwd\n\/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\noracle@oraadserver:\/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/ &#091;rdbms21c] mv OPatch\/ OPatch.old\noracle@oraadserver:\/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/ &#091;rdbms21c] unzip -q -d . \/home\/oracle\/p6880880_210000_Linux-x86-64.zip\n<\/code><\/pre>\n\n\n\n<p>Validate the version of your OPatch<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>oracle@oraadserver:\/home\/oracle\/ &#091;rdbms21c] \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/OPatch\/opatch version\nOPatch Version: 12.2.0.1.36\n\nOPatch succeeded.\noracle@oraadserver:\/home\/oracle\/ &#091;rdbms21c]\n<\/code><\/pre>\n\n\n\n<p>Unpack the RU zip file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>oracle@oraadserver:\/home\/oracle\/ &#091;rdbms21c] unzip -q -d 218RU\/ p34527084_210000_Linux-x86-64.zip<\/code><\/pre>\n\n\n\n<p>Then run following runInstaller command with the applyRU option<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;oracle@oraadserver 21.3.0]$ \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/runInstaller -silent -applyRU \/home\/oracle\/218RU\/34527084\/ -responseFile \/home\/oracle\/db_21c.rsp\nPreparing the home to patch...\nApplying the patch \/home\/oracle\/218RU\/34527084\/...\nSuccessfully applied the patch.\nThe log can be found at: \/u01\/app\/oraInventory\/logs\/InstallActions2023-02-18_08-45-01AM\/installerPatchActions_2023-02-18_08-45-01AM.log\nLaunching Oracle Database Setup Wizard...\n\n&#091;WARNING] &#091;INS-13014] Target environment does not meet some optional requirements.\n   CAUSE: Some of the optional prerequisites are not met. See logs for details. \/u01\/app\/oraInventory\/logs\/InstallActions2023-02-18_08-45-01AM\/installActions2023-02-18_08-45-01AM.log\n   ACTION: Identify the list of failed prerequisite checks from the log: \/u01\/app\/oraInventory\/logs\/InstallActions2023-02-18_08-45-01AM\/installActions2023-02-18_08-45-01AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.\nThe response file for this session can be found at:\n \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/install\/response\/db_2023-02-18_08-45-01AM.rsp\n\nYou can find the log of this install session at:\n \/u01\/app\/oraInventory\/logs\/InstallActions2023-02-18_08-45-01AM\/installActions2023-02-18_08-45-01AM.log\n\nAs a root user, execute the following script(s):\n        1. \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/root.sh\n\nExecute \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/root.sh on the following nodes:\n&#091;oraadserver]\n\n\nSuccessfully Setup Software with warning(s).\n&#091;oracle@oraadserver 21.3.0]$\n<\/code><\/pre>\n\n\n\n<p>As requested run the root.sh command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@oraadserver ~]# \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/root.sh\nCheck \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/install\/root_oraadserver_2023-02-18_08-48-23-730223661.log for the output of root script\n&#091;root@oraadserver ~]#\n<\/code><\/pre>\n\n\n\n<p>The opatch command returns the level of RU on the new Oracle_Home 21.8<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;oracle@oraadserver 21.3.0]$ \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/OPatch\/opatch lspatches\n34527084;Database Release Update : 21.8.0.0.221018 (34527084)\n\nOPatch succeeded.\n&#091;oracle@oraadserver 21.3.0]$\n<\/code><\/pre>\n\n\n\n<p>Let\u2019s create a database and let\u2019s validate that the RU 21.8 has been applied.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;oracle@oraadserver ~]$ \/u01\/app\/oracle\/product\/21.3.0\/dbhome_8\/bin\/dbca -silent -createDatabase -responseFile \/home\/oracle\/dbca_21c.rsp<\/code><\/pre>\n\n\n\n<p>Let\u2019s create a database and let\u2019s validate that the RU 21.8 has been applied.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; select PATCH_ID,DESCRIPTION,STATUS from dba_registry_sqlpatch;\n\n  PATCH_ID DESCRIPTION                                          STATUS\n---------- ---------------------------------------------------- --------\n  34527084 Database Release Update : 21.8.0.0.221018 (34527084) SUCCESS\n\nSQL&gt;\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Hope this blog helps. Note that you also can use the graphical tool instead of a response file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Mouhamadou Diaw RU, MRP should be applied to database home as soon as possible. Usually we often nstall the base version and after install the RU on top on the base version For example we want to have the version21.8 We usually -Install&nbsp; the LINUX.X64_213000_db_home.zip- &#8211; And then apply the RU 21.8&nbsp; 34527084 But [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,198,59],"tags":[2852,2684,2851,1426],"type_dbi":[],"class_list":["post-22774","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","category-database-management","category-oracle","tag-applyru","tag-oracle-21c-2","tag-patch-ru","tag-runinstaller"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>The Option -applyRU of runInstaller - 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\/the-option-applyru-of-runinstaller\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Option -applyRU of runInstaller\" \/>\n<meta property=\"og:description\" content=\"By Mouhamadou Diaw RU, MRP should be applied to database home as soon as possible. Usually we often nstall the base version and after install the RU on top on the base version For example we want to have the version21.8 We usually -Install&nbsp; the LINUX.X64_213000_db_home.zip- &#8211; And then apply the RU 21.8&nbsp; 34527084 But [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-18T14:49:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-20T08:23:58+00:00\" \/>\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=\"3 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\\\/the-option-applyru-of-runinstaller\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/the-option-applyru-of-runinstaller\\\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"The Option -applyRU of runInstaller\",\"datePublished\":\"2023-02-18T14:49:32+00:00\",\"dateModified\":\"2023-06-20T08:23:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/the-option-applyru-of-runinstaller\\\/\"},\"wordCount\":280,\"commentCount\":0,\"keywords\":[\"-applyRU\",\"Oracle 21c\",\"Patch RU\",\"runInstaller\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"Database management\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/the-option-applyru-of-runinstaller\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/the-option-applyru-of-runinstaller\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/the-option-applyru-of-runinstaller\\\/\",\"name\":\"The Option -applyRU of runInstaller - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2023-02-18T14:49:32+00:00\",\"dateModified\":\"2023-06-20T08:23:58+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/the-option-applyru-of-runinstaller\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/the-option-applyru-of-runinstaller\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/the-option-applyru-of-runinstaller\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Option -applyRU of runInstaller\"}]},{\"@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":"The Option -applyRU of runInstaller - 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\/the-option-applyru-of-runinstaller\/","og_locale":"en_US","og_type":"article","og_title":"The Option -applyRU of runInstaller","og_description":"By Mouhamadou Diaw RU, MRP should be applied to database home as soon as possible. Usually we often nstall the base version and after install the RU on top on the base version For example we want to have the version21.8 We usually -Install&nbsp; the LINUX.X64_213000_db_home.zip- &#8211; And then apply the RU 21.8&nbsp; 34527084 But [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/","og_site_name":"dbi Blog","article_published_time":"2023-02-18T14:49:32+00:00","article_modified_time":"2023-06-20T08:23:58+00:00","author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"The Option -applyRU of runInstaller","datePublished":"2023-02-18T14:49:32+00:00","dateModified":"2023-06-20T08:23:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/"},"wordCount":280,"commentCount":0,"keywords":["-applyRU","Oracle 21c","Patch RU","runInstaller"],"articleSection":["Database Administration &amp; Monitoring","Database management","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/","url":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/","name":"The Option -applyRU of runInstaller - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2023-02-18T14:49:32+00:00","dateModified":"2023-06-20T08:23:58+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/the-option-applyru-of-runinstaller\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Option -applyRU of runInstaller"}]},{"@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\/22774","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=22774"}],"version-history":[{"count":4,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/22774\/revisions"}],"predecessor-version":[{"id":26152,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/22774\/revisions\/26152"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=22774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=22774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=22774"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=22774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}