Custom Search . . .

Thursday, June 25, 2009

RAC Installation Using Vmware

This is document to explain how to install Real Application Cluster Using Vmware - PART I.



Pre-Request.

1. Operating System Windows XP SP4
2. Operating System Memory 4g

3. Process Intel Core 2 duo - 4 cpu process
4. Install Vmware Server (Vmware workstation not support RAC)
5. Guest Operating Sytem "Red Hat Enterprise Linux 4 AS"

The above screen shot explain about configuration. Before starting RAC configuration you need to follow below steps.

1. Using Vmware Server Create new Vmware Machine (name called RAC1) ( Make sure add only one default hard disk and add two network card (network card should be bridge mode))

2. Once you create V-Machine (RAC1-Node1). Install Red Hat Linux 4 AS

3. Once you successfully completed red hat linux guest operating system in RAC1. Also Install Vmware tools in your guest operating system.

Please install all rpm packages for oracle releated.

Find RPM Installation details

Using the above link configure /etc/sysctl.conf kernel packages.

4. The below screen teach about your shared devices

As per shared storage architecture add few hard disk in your guest operating system (RAC1).

1. Select RAC1 inventory; -> right clck > select hard disk > create new virtual disk > SCSI > Disk Size (say 15G) -> > Hard Disk Name (say CRS) -> Advanced > Virtual Device Node - When you add new hard disk for storage purpose; this disk name and type should be different from your Guest Operating System hard disk & type.

Ex:

1. Guest Operating System Hard Disk type - SCSI 0:0 series
2. Shared Storage Disk type should be - SCSI 1:0 series.

-> Also select "Independent-Persistent" this is help for cluster configuration.

PS: Repeat above process to create OCR , ASM1, ASM2, ASM3 hard disk . Pls look the below screen shot.


5. Now SHUTDOWN your Guest Operating System ( I Mean RAC1). Just copy (manual copy) your RAC1 and create one more duplicate (like RAC2 using RAC1)

Now we have two operating System (RAC1 & RAC2) and Operating Sytem name called (Linux1 & Linux2).

Next Part II .... Vmware Cluster Configuration & Shared Storage Configuration.

PS: Please post your feedback/comments.

6 comments:

An Oracle DBA Expert Desiring OCM said...

Hi Babu,

Pankaj this side.
So, Just going through your Article.
Is it mandatory to have 4g of RAM and WIN XP SP4.
WinXP SP3 and 2 GB Ram is not sufficient.
Pls. let me know.

Pankaj

Babu said...

Hi,

I tried RAC setup using 2g memory only. But i faced many performance issues in my laptop.

That's the reason I suggest to go with 4G

Thanks

nirmala said...

Hi,
Here nirmala, im want RAC setup in my laptop having config 3 GB Ram,300HHD and cure 2 duo processer., is it necessary to change my RAM or else can i do RAC with 3GB Ram. can you suggest best config.

Babu said...

Hello nirmala,

3g more than sufficient.

Thanks, Babu

Anonymous said...

Can i install on Windows 7 ?

I tried with Vmware Work station and Server,not able to find component to add virtual machine.

Am i missing any thing ?

Thanks,
Thiru

Babu said...

You can install in windows 7

You should install VMWare Server not Workstatiion