RAC Installation

Real Application Clusters

Before starting RAC installation we need to create two nodes or we can create clone

After clone or installation completed

Go to this directory

[root@six ~]#  cd /etc/udev/rules.d

Copy it somewhere now I have copied it in root directory

[root@six ~]#  cp 70-persistent-net.rules /root/

[root@six ~]# rm 70-persistent-net.rules

[root@six ~]# reboot

We need to change the MAC address only if you created machine via clone otherwise no need to change MAC address here I have used clone so need to change MAC address

In Network Adapter we have to change MAC address

Just here I have added in MAC any sequence we can assign

Adapter 1

Adapter 2: here we have last number with C

Adapter 3:

Here we have replace with last number 3

After this we need to open clone machine

Step 2:

Need to change hostname into the /etc/hosts directory

We can edit

[root@six ~]# vi /etc/hosts

Just for moment we need to change the hosts name

After changing the hostname we can check the hostname

[root@six ~]# hostname

First edit in /etc/hosts file with new hostname and test ping.

Second: go to /etc/sysconfig/network/ file and change host parameter.

And reboot it.

Once rebooted please check network is coming by pinging hostname.

[root@six ~]# ping six

After it we need to fixed static IP in both nodes (machines)

Go to network Connection tab we will edit network connection and set here static IP address

Node : Six Static IP Configuration

 In IPv4 Setting go to with manual setting add here static ip address

eth0 : &

Here we can see we have mention here

eth1 & Netmask

Node : Five Static IP Configuration

eth0 :  & Netmask static IP created

eth01 : & Netmask

Overall add static ip after that need to reboot your system

After that need to edit in /etc/hosts file

Here we need to add static ip in both node(machine)

We did mention here priv : private ip

                                          Vip : virtual ip

before configure hosts we also need to configure network file we need to change it in both network according to network Static ip

[root@five~]$ vi /etc/sysconfig/network

[root@five~]$ cat /etc/sysconfig/network

now here we’re going to configure hosts

[root@five~]$ vi /etc/hosts

[root@five~]$ cat /etc/hosts localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

# Privateeth0 five.oracle.com five six.oracle.com six

# Publiceth1 five-priv.oracle.com five-priv six-priv.oracle.com six-priv

# Virtual five-vip.oracle.com five-vip six-vip.oracle.com six-vip

# SCAN rac-cluster.oracle.com rac-cluster

After this we need to check our created static IP is ping or not so here we’re going to check

Node 1 IP can ping node 2 IP

[root@five ~]# ping

Node 2

[root@six ~]#  ping to check the network status in every network status

so here network pinging status we need to check every network status

After it we need to login with oracle user in both node

[root@five ~]# su oracle

Need to make a directory in both node same things need to repeat in both node

[oracle@five ~]$ mkdir ~/.ssh

Assign the permission  

[oracle@five ~]$ chmod 700 ~/.ssh

After assign the permission need to run

[oracle@five ~]$ /usr/bin/ssh-keygen -t rsa

Go to  .ssh directory

[oracle@five ~]$ cd ~/.ssh

Run authorised cmd

[oracle@five .ssh]$ cat id_rsa.pub >> authorized_keys

[oracle@five .ssh]$ scp authorized_keys

After this process we can access other node

[oracle@five .ssh]$ ssh six

We can watch here with the help of ssh cmd we can access other node

If we know about the different node credential

Repeat the same things in node 2 : node six

type exit will access original node

After configuration we can access both note in single terminal

after permission and unzipping we need to perform ./runInstaller

[oracle@five grid~]$ ./runInstaller

new popup Grid window will appear

2 thoughts on “RAC Installation

  • August 19, 2022 at 2:11 pm

    Very good written information. It will be helpful to anybody who usess it, including myself. Keep up the good work – i will definitely read more posts.


Leave a Reply

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