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) to set the Home name. Moreover, it was our intention to automate the install of Grid Infrastructure.
The complete responsefile ($OH/inventory/response/oracle.crs_Complete.rsp) contains the parameter:
1 2 3 4 5 6 7 |
#------------------------------------------------------------------------------- #Name : ORACLE_HOME_NAME #Datatype : String #Description: Oracle Home Name. Used in creating folders and services. #Example: ORACLE_HOME_NAME = "OHOME1" #------------------------------------------------------------------------------- ORACLE_HOME_NAME="OraGI18Home1" |
However, when using a responsefile with such parameter, gridSetup.sh fails with the error:
1 2 3 4 5 |
Cause - Syntactically incorrect response file. Either unexpected variables are specified or expected variables are not specified in the response file. Action - Refer the latest product specific response file template Summary - cvc-complex-type.2.4.a: Invalid content was found starting with element 'ORACLE_HOME_NAME'. One of '{..... long list .....}' is expected. |
After some tries (and a SR), this happens to actually work:
- strip the ORACLE_HOME_NAME parameter from the responsefile
- pass it as a double-quoted parameter at the end of the gridSetup.sh command line
1 |
./gridSetup.sh -debug -responseFile inventory/response/Grid_Config.rsp "ORACLE_HOME_NAME=YourGIHomeName" |
HTH
The following two tabs change content below.
Latest posts by Ludovico (see all)
- New views in Oracle Data Guard 23c - January 3, 2024
- New in Data Guard 21c and 23c: Automatic preparation of the primary - December 22, 2023
- Does FLASHBACK QUERY work across incarnations or after a Data Guard failover? - December 13, 2023