How To Install Oracle RAC 19c on Linux

In today’s article, we will install Oracle RAC 19c on Linux. Our installation will be on Oracle Linux 8.

What is Oracle RAC?

Oracle Real Application Cluster is a cluster structure in which multiple servers work for a single service using shared disk technology prepared for an uninterrupted database access. Thanks to this structure that works with a minimum of two servers, we aim for uninterrupted service at maximum efficiency in production environments.

For Real Application Cluster installation, we will use two Oracle Linux operating systems, two ethernet cards connected to these operating systems and a shared disk that can be seen by both operating systems.

Install Oracle RAC 19c on Linux

Installation Steps:

Our installation steps will be as follows;

Step1: How To Install Oracle Linux

Step2: How To Install Oracle Grid Infrastructure 19c on Linux

Step3: How To Install Oracle 19c Database on Linux

First you should read Step1: How To Install Oracle Linux. If you already have Oracle Linux, you should configure your operating systems as follows.

Network Configuration for Oracle RAC

We install our operating system by following the steps on the link above. In this way, we need to use two operations. I’ll use the names node1.bugraparlayan.local for the first operating system and node2.bugraparlayan.local for the second operating system.

Now that the operating system is ready, let’s edit the network and packages.

First of all, we make our Network settings. In this way, my servers can be accessed via the relevant ip address.

Public IP Definitions for Node1:

Public IP Definitions for Node2:

We configure our second ethernet card for interconnect connections.

Private IP Definitions for Node1:

Private IP Definitions for Node2:

Restart NetworkManager Service on Oracle Linux

Since we have added public and private ip information on both our servers, we can restart our network service.

Disable Selinux on Oracle Linux

We disable Selinux on Node1 and Node2.

Disable Firewall on Oracle Linux

We disable Firewall services on Node1 and Node2.

NTP Configuration on Oracle Linux

We do our NTP configuration for node 1 and node 2 and restart the service.

Install Packages

We install our packages required for installations. The preinstall package will automatically create priority users for us. We run it for Node1 and Node2.

Create Users

I create the following users on Node1 and Node2 and assign them to groups.

I create the following folders on Node1 and Node2 and configure the related rights.

Now we will make our profile definitions. This process will again be for Node1 and Node2.

I am making the .bash_profile definitions for the “oracle” user on Node 1.

I make the .bash_profile definitions for the “grid” user on Node 1.

I am making my .bash_profile definitions for the “oracle” user on Node2.

Node2 üzerindeki ” grid ” kullanıcısı için .bash_profile tanımlarımı yapıyorum.

We add the following information to the Node1 and Node2 hosts file.

Step1 is completed. Now you should read below article to install oracle grid 19c.

Step2:How To Install Oracle Grid Infrastructure 19c on Linux


How To Install Oracle 19c on Linux

In Step1 and Step2, I explained the operating system and Grid installation. In this section, I will explain Oracle 19c Database installation on Grid infrastructure.

We can quickly start our Oracle Database installation. First we will just install the software and then create the Database.

Since I will need some technical requirements, I want to take advantage of the “Enterprise Edition” benefits. For this reason, I will continue with “Enterprise Edition” selected.

In the last step, it will ask us to run a script. You can make the script run automatically by selecting the pointed section below.

In this step, the “” script will be run on both servers.

Create Oracle 19c Database

Finally, our database is ready. We have come to the end of our Oracle Database 19C Real Application Clusters RAC article. In the following articles, we will talk about the advantages of RAC usage and the most important services in detail.

Hope to see you again,

Author: Buğra PARLAYAN

Burgra Parlayan is an experienced Database and Weblogic Administrator. After completing his technical / relevant training he has got involved with a serious amount of projects. He successfully managed database upgrade, database migration, database performance tuning projects for various public institutions.Currently he has been employed by one of the leading financial institutions called Turkiye Hayat & Emeklilik as responsible administrator for Oracle Database and Oracle Middleware. He has been sharing his experience and knowledge by face to face training, personal blog and various social networking accounts to support the Oracle ecosystem continuously since 2010.

Leave a Reply

Your email address will not be published. Required fields are marked *