Oracle Database 19c RAC Installation on OL7
Oracle Database 19c RAC Installation on OL7
Prerequisites
- Notebook or PC with a minimum 16 GB of RAM
- Storage with 200 GB (SSD)
- VirtualBox 7.0 or later (https://www.virtualbox.org/wiki/Downloads)
- Oracle Linux 7.4 x86 64 bit
- Internet Connectivity
- Oracle SSO Account for downloading the softwares
- Oracle Database 19c RAC Installation on Oracle Linux 7.4 (VirtualBox on Windows) Part 1
Architecture
● Host OS: Windows 10
● Guest OS: Oracle Linux 7.4 x86 64 bit
● Nodes: biz01, biz02
● IP Address Lists:
# Public IP
192.168.56.100 biz01
192.168.56.101 biz02
# Private IP
192.168.10.100 biz01-priv
192.168.10.101 biz02-priv
# Virtual IP
192.168.56.110 biz01-vip
192.168.56.111 biz02-vip
# SCAN IP
192.168.56.120 biz-scan
192.168.56.121 biz-scan
192.168.56.122 biz-scan
● Storage:
biz01: 30 GB
biz02: 30 GB
ASM1 (OCR): 40 GB
ASM2 (DATA): 7.5 GB
ASM3 (FRA): 7.5 GB
ASM4 (ACFS): 25 GB
● RAM:
biz01: 4096 MB
biz02: 4096 MB
● CPU:
biz01: 2 core
biz02: 2 core
● Database: bizdb
● Instances: bizdb1, bizdb2
● PDB: itpdbdev
Steps
Setup ASM Diskgroup, Volume, and ACFS File System Using ASMCA
Logout from root and login to grid and open Terminal:
[grid@biz01 ~]$ export DISPLAY=:0.0
[grid@biz01 ~]$ . oraenv
ORACLE_SID = [grid] ? +ASM1
ORACLE_HOME = [/home/oracle] ? /u01/app/19.3.0/grid
The Oracle base has been set to /u01/app/grid
[grid@biz01 ~]$ asmca
Click Create.
Click OK.
Click Create.
Click OK.
Click Create.
Click OK.
Open terminal and change to root to execute the acfs_script.sh above. This script is intended to
integrate the ACFS with GI and to mount the ACFS. This script needs to be run only on Node 1(biz01) :
Click OK.
Click OK.
Click Exit.
5. Create Database Using DBCA
Login as oracle user:
[oracle@biz01 ~]$ cd /acfs/product/19.3.0/dbhome_1/bin
[oracle@biz01 bin]$ ./dbca
Click Browse on Database files location:
Select DATA and click OK.
Ignore the error, it’s because we’re just using 4 GB as our FRA since this is a testing project. Click
Yes.
Ignore and click Yes.
Wait until the process finishes.
This will take 1 to 1.5 hours to finish since we’re using a low CPU and a low amount of RAM.
6. Verify Database Status
Using SRVCTL
USING SQLPLUS
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
14:48:37 SQL> select dbid, name, cdb, db_unique_name, open_mode, force_logging, created
from v$database;
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
export PATH
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
Start Database
[oracle@biz01 ~]$ srvctl start database -d bizdb