Advertisement

Thursday, February 28, 2019

Oracle Database: 18c Grid Infra (RAC) Silent Installation

In this blog I am going to discuss about silent installation of 18c RAC

Here the pre-reqs are already complete as described in my previous blogs 

Pre-req 1/2
Pre-req 2/2


Let's pick up now - 


1. Setup passwordless ssh between users
cd /u01/app/180/grid

[As root]
$ ./sshUserSetup.sh -user root -hosts "rac18c01 rac18c02" -noPromptPassphrase -confirm -advanced

[As grid]
$ ./sshUserSetup.sh -user grid -hosts "rac18c01 rac18c02" -noPromptPassphrase -confirm -advanced

2. run Cluster Verification and resolve issues if any 
$ ./runcluvfy.sh stage -pre crsinst -n rac18c01,rac18c02 -verbose | tee /tmp/cluvfy.out

3. Final Pre-req check 
(Response file can be found in the end)
/u01/app/180/grid/gridSetup.sh -silent  -executePrereqs  -waitForCompletion  -responseFile /tmp/Silent_18cGrid.rsp

Ensure checks complete successfully. 

4. Start the installation
$  /u01/app/180/grid/gridSetup.sh -silent  -waitForCompletion  -responseFile /tmp/Silent_18cGrid.rsp

As a root user, execute the following script(s):
        1. /u01/app/180/grid/root.sh 

Execute /opt/oracle/product/180/grid/root.sh on the following nodes:
[rac18c01, rac18c02]

Run the script on the local node first. After successful completion, you can start the script in parallel on all other nodes.

Successfully Setup Software with warning(s).
As install user, execute the following command to complete the configuration.
        /u01/app/180/grid/gridSetup.sh  -executeConfigTools -responseFile /tmp/OBS_18cGrid.rsp [-silent]

Step 4.1 Run the Root Script
[As root on Node 1]
$ /u01/app/180/grid/root.sh
[As root on Node 2]
$ /u01/app/180/grid/root.sh

Step 4.2 - Run Post Script 
[As grid on Node 1]
$  /u01/app/180/grid/gridSetup.sh  -silent -executeConfigTools -responseFile /tmp/OBS_18cGrid.rsp 

Installation is complete. 


Response File for 18c RAC
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v18.0.0
INVENTORY_LOCATION=/opt/oracle/oraInventory
oracle.install.option=CRS_CONFIG
ORACLE_BASE=/u01/app/grid
oracle.install.asm.OSDBA=dba
oracle.install.asm.OSOPER=
oracle.install.asm.OSASM=sysasm
oracle.install.crs.config.scanType=LOCAL_SCAN
oracle.install.crs.config.gpnp.scanName=rac18c-scan.novalocal
oracle.install.crs.config.gpnp.scanPort=1521
oracle.install.crs.config.ClusterConfiguration=STANDALONE
oracle.install.crs.config.configureAsExtendedCluster=false
oracle.install.crs.config.clusterName=prod-bss
oracle.install.crs.config.gpnp.configureGNS=false
oracle.install.crs.config.autoConfigureClusterNodeVIP=false
oracle.install.crs.config.clusterNodes=rac18c01:rac18c01-vip:HUB,rac18c02:rac18c02-vip:HUB
oracle.install.crs.config.networkInterfaceList=eth0:192.168.10.0:1,eth1:192.168.30.0:5
oracle.install.crs.config.useIPMI=false
oracle.install.asm.storageOption=ASM
oracle.install.asmOnNAS.configureGIMRDataDG=false
oracle.install.asm.SYSASMPassword=Oracle123
oracle.install.asm.diskGroup.name=OCR_VOTE
oracle.install.asm.diskGroup.redundancy=NORMAL
oracle.install.asm.diskGroup.AUSize=4
oracle.install.asm.diskGroup.disks=/dev/oracleasm/disks/OCR_VOTE1p1,/dev/oracleasm/disks/OCR_VOTE2p1,/dev/oracleasm/disks/OCR_VOTE3p1
oracle.install.asm.diskGroup.diskDiscoveryString=/dev/oracleasm/disks/*
oracle.install.asm.monitorPassword=Oracle123
oracle.install.asm.configureAFD=false
oracle.install.crs.configureRHPS=false
oracle.install.crs.config.ignoreDownNodes=false
oracle.install.config.managementOption=NONE

oracle.install.crs.rootconfig.executeRootScript=false

No comments:
Write comments