Install Grid Software

 

Setup Grid user profile

$ vi .bash_profile
...
umask 022

ORACLE_SID=+ASM1
ORACLE_BASE=/u01/app/grid
ORACLE_HOME=/u01/app/18.3.0/grid
PATH=$PATH:$HOME/.local/bin:$HOME/bin:$ORACLE_BASE/bin:$ORACLE_HOME/bin
export PATH ORACLE_SID ORACLE_BASE ORACLE_HOME

 

Grid software is unzipped and installed in the Grid Home directory. In this case ‘/u01/app/18.3.0/grid/’.

$ unzip linuxx64_12201_grid_home.zip -d /u01/app/18.3.0/grid

Install package /u01/app/18.3.0/grid/cv/rpm/cvuqdisk-1.0.10-1.rpm

# rpm -iv cvuqdisk-1.0.10-1.rpm

 

Run Grid Installer

[grid@linuxdb3 ~]$ $ORACLE_HOME/gridSetup.sh &

Step 1:

 

 

 

Step 2:

 

 

Cluster choices:

  Standalone Cluster - Basic cluster that will be implimented by this installation

 

  Domain Services Cluster - provides services to other clusters within an Oracle domain

 

  Member Cluster (Databases) - Registers with Domain Services Cluster to access services such as ASM disks. Uses remote Grid Infrastructure Management Repository (GIMR) of the Domain Services Cluster.

 

  Member Clusters (Applications) - hosts applications other than an Oracle Database while using services from the Domain Services Cluster such as ASM.

 

 

Step 3:

 

 

 

Step 4:

 

 

 

Step 5:

 

 

 

Step 6:

 

 

 

Step 7:

 

 

 

 

Step 8:

 

 

 

Step 9:

 

 

 

Step 10:

 

 

 

Step 11:

 

 

 

Step 12:

 

 

 

Step 13:

 

 

 

Step 14:

 

 

 

Step 15:

 

 

 

Step 16:

 

 

 

Step 17:

 

 

 

Step 18:

 

 

Step 19:

 

 

 

Grid Post-Installation Checks

 

Check CRS

 

[grid@linuxdb3 ~]$ olsnodes -n

 

linuxdb3 1

linuxdb4 2

 

[grid@linuxdb3 ~]$ crsctl check crs

 

CRS-4638: Oracle High Availability Services is online

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

 

[grid@linuxdb3 ~]$ crsctl stat res -t

 

ora.asm

  ONLINE ONLINE linuxdb3 Started,STABLE

  ONLINE ONLINE linuxdb4 Started,STABLE

ora.net1.network

  ONLINE ONLINE linuxdb3 STABLE

  ONLINE ONLINE linuxdb4 STABLE

ora.ons

  ONLINE ONLINE linuxdb3 STABLE

  ONLINE ONLINE linuxdb4 STABLE

...

...

...

 

Check Cluster Time Syncronization Service

 

$ crsctl check ctss

 

Check ASM

 

[grid@linuxdb3 ~]$ srvctl status asm -a

 

ASM is running on linuxdb3,linuxdb44

ASM is enabled.

 

[root@linuxdb3 grid]# ocrcheck

 

Status of Oracle Cluster Registry is as follows :

  Version : 4

  Total space (kbytes) : 409568

  Used space (kbytes) : 1552

  Available space (kbytes) : 408016

  ID : 443482511

  Device/File Name : +DATA

  Device/File integrity check succeeded

  Device/File not configured

  Device/File not configured

  Device/File not configured

  Device/File not configured

  Cluster registry integrity check succeeded

  Logical corruption check succeeded

 

 

Check Voting Disk

 

[grid@linuxdb3 ~]$ crsctl query css votedisk

 

## STATE File Universal Id File Name Disk group

-- ----- ----------------- --------- ---------

 1. ONLINE fdf4bb35a1e94f71bf7ca9c6cff4fab1 (/dev/oracleasm/disks/ASM01) [DATA]

Located 1 voting disk(s)