One issue you may run into is installing either Oracle RAC Grid Infrastructure or Oracle Database in a clustered environment. During the runInstaller or gridSetup.sh steps you may receive an error about "Passwordless SSH connectivity not setup" even though you have set it up and manually verified it. This is due to a change in the SSH 8 to deal with a security vulnerability (CVE-2019-6111). You will receive a message like this:
[FATAL] [INS-06006] Passwordless SSH connectivity not set up between the following node(s): [srvr02].
CAUSE: Either passwordless SSH connectivity is not setup between specified node(s) or they are not reachable. Refer to the logs for more details.
ACTION: Refer to the logs for more details or contact Oracle Support Services.
For GI install your command line would look something like:
/u01/app/19/grid_1/gridSetup.sh --applyRU /u01/app/grid/patch/36233126
There is a little caveat for this when it comes to database software install. Normally you would run the install from the first node of the cluster and the installer would replicate the software to each node, using SSH. The issue is that the RU for the database does not directly include the fix for SSH (Bug 30159782 - Remote Copy Fails if using openssh-7.2. 7.4, etc. (Doc ID 30159782.8)). You have to include the OCW (Oracle ClusterWare) patch into the runInstaller steps. The OCW patch is included in the GI RU not the database RU.
Image 1 |
Once you have the the patch downloaded and unzipped we can verify that from the directory structure
├── 36233263 <- Database RU 19.23
├── 36233343
├── 36240578 <- OCW patch 19.23
├── 36383196
├── 36460248
├── automation
├── bundle.xml
├── README.html
└── README.txt
- Stage the patch files E.G. /u01/app/oracle/patch (along with any additional patches)
unzip -qo p36233126_190000_Linux-x86-64.zip -d /u01/app/oracle/patch - Unzip the install media (19.3) into the home E.G. /u01/app/oracle/product/19/dbhome_2
unzip -qo LINUX.X64_193000_db_home.zip -d /u01/app/oracle/product/19/dbhome_2 - Update the OPatch version in the new home (be sure to download the latest OPatch from patch 6880880 in MOS)
rm -rf /u01/app/oracle/product/19/dbhome_2/OPatch
unzip -qo p6880880_190000_Linux-x86-64.zip -d /u01/app/oracle/product/19/dbhome_2 - Install the software and apply the patches in one command (be sure to updated the highlighted items based on your configuration). Here we are installing the RU, OCW, OJVM, and Datapump bundle patches.
export CV_ASSUME_DISTID=OEL7.8
/u01/app/oracle/product/19/dbhome_2/runInstaller \
-silent -ignoreprereqfailure \
-applyRU /u01/app/oracle/patch/36233126/36233263 \
-applyOneOffs
/u01/app/oracle/patch/36233126/36240578,/u01/app/oracle/patch/36420641,/u01/app/oracle/patch/36199232 \
oracle.install.db.InstallEdition=EE \
oracle.install.option=INSTALL_DB_SWONLY \
INVENTORY_LOCATION=/u01/app/OraInventory \
ORACLE_BASE=/u01/app/oracle \
UNIX_GROUP_NAME=oinstall \
oracle.install.db.CLUSTER_NODES=srvr01,srvr02 \
oracle.install.db.OSDBA_GROUP=dba \
oracle.install.db.OSOPER_GROUP=oper \
oracle.install.db.OSBACKUPDBA_GROUP=backupdba \
oracle.install.db.OSDGDBA_GROUP=dgdba \
oracle.install.db.OSKMDBA_GROUP=kmdba \
oracle.install.db.OSRACDBA_GROUP=racdba
Note: back slashes (\) are used to continue the command on to individual lines. Also the patch list is comma separated with no spaces, and be sure to export the CV_ASSUME_DISTID which is required for Linux 8 when installing 19c. - After runInstaller finishes, run the root.sh script on every node you installed on.