Installation of Oracle GRID software in silent mode (software only install) - denis-kol4ev/OraDBA GitHub Wiki

Tested on

12.2

19.3

1. Extract zip image software into the directory where you want your Grid home will be located

$ mkdir -p /opt/oracle/grid/19.3
$ unzip /opt/oracle/distr/19.3/V982068-01.zip -d /opt/oracle/grid/19.3

2. Execute the prerequisite checks

$ export DISPLAY=10.10.10.70:0.0
$ /opt/oracle/grid/19.3/gridSetup.sh -executePrereqs

or run in silent mode without output to X server

$ /opt/oracle/grid/19.3/gridSetup.sh -silent -executePrereqs

check "List of failed Tasks" log file section

3. Prepare response file

$ vi /home/oracle/gridsetup.rsp

ORACLE_BASE=/opt/oracle
INVENTORY_LOCATION=/opt/oraInventory
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v19.0.0
oracle.install.option=HA_SWONLY 
oracle.install.asm.OSDBA=dba 
oracle.install.asm.OSASM=asmadmin
oracle.install.asm.OSOPER=oper

*Grid setup response file example <GRID_HOME>/install/response/gridsetup.rsp

**Do not change the following system generated value oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v19.0.0

***For 12.2 oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v12.2.0

4. Run configuration wizard in silent mode using response file

$ /opt/oracle/grid/19.3/gridSetup.sh -silent -ignorePrereqFailure -responseFile /home/oracle/gridsetup.rsp

5. Run post installation tasks as a root user

# /opt/oraInventory/orainstRoot.sh
# /opt/oracle/grid/19.3/root.sh

6. Apply latest PSU

6.1 update opatch utility with minimal PSU required version

$ export ORACLE_HOME=/opt/oracle/grid/19.3
$ $ORACLE_HOME/OPatch/opatch version
$ cd $ORACLE_HOME
$ mv ./OPatch ./OPatch.bak
$ unzip -q /opt/oracle/distr/19.3/p6880880_200000_Linux-x86-64.zip -d $ORACLE_HOME
$ $ORACLE_HOME/OPatch/opatch version

6.2 apply PSU

$ cd /opt/oracle/distr/19.3
$ unzip -q p30899722_190000_Linux-x86-64_GI_Release_Update_19.7.0.0.200414.zip
# export ORACLE_HOME=/opt/oracle/grid/19.3 
# $ORACLE_HOME/OPatch/opatchauto apply /opt/oracle/distr/19.3/30899722 -oh $ORACLE_HOME -analyze
# $ORACLE_HOME/OPatch/opatchauto apply /opt/oracle/distr/19.3/30899722 -oh $ORACLE_HOME
$ export ORACLE_HOME=/opt/oracle/grid/19.3
$ $ORACLE_HOME/OPatch/opatch lspatches
⚠️ **GitHub.com Fallback** ⚠️