{"id":1801,"date":"2018-08-28T10:12:13","date_gmt":"2018-08-28T08:12:13","guid":{"rendered":"http:\/\/www.ludovicocaldara.net\/dba\/?p=1801"},"modified":"2020-08-18T16:06:51","modified_gmt":"2020-08-18T14:06:51","slug":"gi-oh-name-install","status":"publish","type":"post","link":"https:\/\/www.ludovicocaldara.net\/dba\/gi-oh-name-install\/","title":{"rendered":"Setting Grid Infrastructure 18c Oracle Home name during the install"},"content":{"rendered":"<p>A colleague has been struggling for some time in order to get the correct Oracle Home name for the Grid Infrastructure18.3.0 when running gridSetup.sh.<\/p>\n<p>In the graphical Oracle Universal Installer there is no way (as far as we could find) to set the Home name. Moreover, it was our intention to automate the install of Grid Infrastructure.<\/p>\n<p>The complete responsefile ($OH\/inventory\/response\/oracle.crs_Complete.rsp) contains the parameter:<\/p>\n<pre class=\"lang:ini decode:true\">#-------------------------------------------------------------------------------\r\n#Name       : ORACLE_HOME_NAME\r\n#Datatype   : String\r\n#Description: Oracle Home Name. Used in creating folders and services.\r\n#Example: ORACLE_HOME_NAME = \"OHOME1\"\r\n#-------------------------------------------------------------------------------\r\nORACLE_HOME_NAME=\"OraGI18Home1\"\r\n<\/pre>\n<p>However, when using a\u00a0responsefile with such parameter, gridSetup.sh fails with the error:<\/p>\n<pre class=\"lang:plsql highlight:0 decode:true  \">Cause\u00a0-\u00a0Syntactically incorrect response file.\r\nEither unexpected variables are specified or expected variables are not specified in the response file.\r\nAction\u00a0-\u00a0Refer the latest product specific response file template\r\nSummary \u00a0-\u00a0cvc-complex-type.2.4.a: Invalid content was found starting with element 'ORACLE_HOME_NAME'.\r\nOne of '{..... long list .....}' is expected.<\/pre>\n<p>After some tries (and a SR), this happens to actually work:<\/p>\n<ul>\n<li>strip the ORACLE_HOME_NAME parameter from the responsefile<\/li>\n<li>pass it as a double-quoted parameter at the end of the gridSetup.sh command line<\/li>\n<\/ul>\n<pre class=\"lang:plsql highlight:0 decode:true \">.\/gridSetup.sh -debug -responseFile inventory\/response\/Grid_Config.rsp \"ORACLE_HOME_NAME=YourGIHomeName\"<\/pre>\n<p>HTH<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A colleague has been struggling for some time in order to get the correct Oracle Home name for the Grid Infrastructure18.3.0 when running gridSetup.sh. In the graphical Oracle Universal Installer there is no way (as far as we could find) &hellip; <a href=\"https:\/\/www.ludovicocaldara.net\/dba\/gi-oh-name-install\/\">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":[321,327,326,3,308,330,149],"tags":[],"class_list":["post-1801","post","type-post","status-publish","format-standard","hentry","category-aced","category-oracle-maa","category-oracle","category-oracledb","category-oracle-database-18c","category-oracle-inst-upg","category-oracle-rac"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/1801","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=1801"}],"version-history":[{"count":1,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/1801\/revisions"}],"predecessor-version":[{"id":1802,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/1801\/revisions\/1802"}],"wp:attachment":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/media?parent=1801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/categories?post=1801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/tags?post=1801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}