Step by Step build RAC : Part 1 : Install VMWare and Linux

This is first step for step by step Installation of Oracle RAC Database on single machine using VMWare Server. for overview visit

Broad level for Part I Install VMWare and Linux
– Download, Register and Install VMWare Server
– Download and Install Red Hat Linux ES 3
– Add virtual network card for interconnect
– Add virtual shared shared disk (voting disk, ocr and ASM)

1.1 Install VMWare Server on Windows Machine

Download and install VMWare Server from VMWare Site (click here) (Download windows version as we are installing on windows desktop/laptop). You have to register for VMware Server on site mentioned above to recieve licence key used in installation of VMWare Server

1.2 Create Virtual Machine

–Start VM Ware server console from Start Menu on your windows operating system

–Create a New Virtual Machine by “Ctrl + N” or File -> New -> Virtual Machine (From Console Tool Bar)

Since we are installing Red Hat Enterprise Linux 3 so I have selected Version Red Hat Enterprise Linux 3

Select location where you wish to keep this RAC Machine Configuration and Linux Disks

Create this Linux Machine of size 15 GB, we will add another 5GB each for voting disk, ocr and ASM for data files.

1.3 Download/Order and install Red Hat Linux E.S. 3

Download red hat enterprise server linux version 3 from (You can install any other linux version or operating system depending on availability. For this step by step Oracle RAC installation, I used Red Hat ES 3)

If you have downloaded Red Hat ES burn them as iso images.

Insert Disk1 of Red Hat Linux ES3 in your desktop/laptop and start RAC1 virtual Machine created above

During Disk Setup select Automatic Disk Partition and when you get this screen edit by clicking edit button and change swap space to 1500 MB

During Package Selection, Select Customize Package list and Add KDE Desktop Environment and Development Tools from list

Select No Firewall

During hostname enter machine name as this you can change later as well

1.4 Create User oracle:oracle

Create operating system user oracle (By default it will create group oracle and assign this to user oracle). You can use GUI as shown below or command useradd

Coming Next

Adding Virtual Network Card , Virtual Disks, install RPMs, Cloning RAC1 to RAC2 Machine, Configure User Equivalency ……..

Share This Post with Your Friends over Social Media!

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

Ben Oni says September 3, 2007

We have just upgraded to 2 nodes RAC but the concurrent manager status keeps changing to inactive manager intermittently.

The System profile
Concurrent:OPS Request Partitioning is OFF and Concurrent:PCP Instance Check is ON

Any advise on what else to check or do.


Atul Kumar says September 3, 2007

Check CM log files on why it managers are deactivating

Atul says October 30, 2007

I am trying to install 10gR2c on my laptop using VMware.
But I always stuk in last while installing clusterware.
When I run . It showd me ” Failure to upgrade Oracle Cluster registry ……”

I tried to check on internet but didn’t get any help regarding that.
please help me

Further please let me know is 1Gm ram is enough for installation or not.


We replied

Check logs at $CRS_HOME/crs/log/haystack/client/

I did it with 2 GB but you can try on 1 GB Laptop as well. Try reducing SGA after install

jskinner says December 5, 2007

Hi. thanks for this very helpfule work. May we use Centos 5.0 instead of 3.9?

best regards,

Joe skinner

MANJUNATH says April 23, 2008

I am trying to install 10gR2c on my laptop using VMware.But I always stuk in last while installing clusterware.When I run . It showd me ” Failure to upgrade Oracle Cluster registry ……”and also unable to load shared libraries

Atul says April 24, 2008

Dear Manjunath,
Couple of other DBA’s were able to configure RAC successfully so check carefully each step and ensure you are doing word by word or changing your configuration as per doc if you have configured any different . We are planning to launch RAC training soon and review these steps one more time .

KMG says May 17, 2008

Hi Atul,
I’ve tried several times as per your document,but its failing at on second node with “Failure at final check of Oracle CRS stack” while installaing clusterware.
Any help will be highly appreciated.


Sekaran says September 9, 2008

Hi Atul,
Can I Setup RAC in my single PC ?.
My PC running with Enterprise Linux Operating System 5.

Thanks for sharing your knowledge.


Atul says September 9, 2008

Yes, use VMware to build two virtual machine on linux.

1. Install VMware server on Linux
2. Build two virtual machines using vmware and install guest o.s.
3. define shared drive & two network card on each virtual machine
4. Install & configure RAC

Ram says January 5, 2009

Hello Atul,

In the above blog you mentioned that we can download Linux from site. Is it a freeware. Can we download freely from that site.


Atul Kumar says January 5, 2009

Only desktop version is free

For es (enterprise server) or AS (advanced server) you need to buy license.

Try Oracle Enterprise Linux (OEL) from Oarcle site

genius.ashwin says May 20, 2009

Hi Atul,

Can u please explain the difference between OCFS and ASM , and which to use when ?


Atul says May 20, 2009


Check post from Rupesh at

abel abbey says June 26, 2009

I am trying to install 5.5 on my laptop using the vmware but i always stuk. pls send me step by step lanuching of the vmware.

jskishor says August 5, 2009

Hi Atul,

I am an Oracle Apps DBA and wanted to learn RAC.

Can you please recommend any book on RAC to keep handy which includes installation screenshots (including pre-reqs, if any), configuration, maintenance and troubleshooting.

Thanks in advance


Reply says March 27, 2010

Hi Brother,

I am really pleased to see your dedicated and professional work and done lots of things in our enviroment just following your articles which are to the point and very easy to follow.

I have one question reagrding RAC; I am little bit confused about the network settings. my quesiton is can I have rac set up on my laptop at home which is not connected to any network?
if yes then what will the network type for host and RAC1 and RAC2 virtual mahcines.

I know you will make it clear for me and all so thanks in advance.

Muhammad Aqeel

Atul Kumar says March 27, 2010

@ Muhammad Aqeel,
If you machine is not connected to any network then define virtual network card as NAT (bridged if you are in network and router can assign IP to VM’s) .

Reply says March 27, 2010

Thanks Mr. Atul,

I will try to do it as per your advice and will update.


adadmin says March 27, 2010

Hi atul,

I installed the vmware server and it has three virtual networks
vmnet0 which is bridged
vmnet1 which is private virtual network
vmnet8 is NAT

so i am going to use vmnet8 for host
what networking type should i use for the two virtual RAC nodes.

thanks a lot for your kind help


Vani says July 23, 2010

We need to do a RAC 2 node upgrade from to
Do you have steps on what needs to be taken care of before we start the upgrade?
such as backup scripts of ocr, voting disk and Oracle homes. Kindly let me know since this is urgent


Harlan Calixtro says March 9, 2011

My brother suggested I might like this website. He was totally right. This post actually made my day. You cann’t imagine simply how much time I had spent for this information! Thanks!

Varsha says February 24, 2012


i am trying to disable flashback of TEMP tablespace. for that i am following below steps
1) shutdown database
2) startup mount
3) SQL> alter tablespace TEMP flashback off;
alter tablespace TEMP flashback off
ERROR at line 1:
ORA-00959: tablespace ‘TEMP’ does not exist

please give me solution for this error..

Najeeb says January 15, 2013

Hi atul,

I am preparing my machine for oracle rac11gr2, in node preparation i am getting this asmlib error..
my machine name
uname -a
Linux rac1 2.6.18-92.el5 #1 SMP Tue Jan 15 13:14:16 EDT 2013 x86_64 x86_64 x86_6

But configuring asmlib for creating asm disks is failing
/etc/init.d/oracle configure

Initializing the Oracle ASMLib driver: [ FAILED ]

Add Your Reply