Forums | Aggregator | Books | Industry News | Firefox Plugins | Social | Links

Comments

Oracle 10g RAC On Windows 2003 Using VMware Server - This article describes the installation of Oracle 10g release 2 (10.2.0.1) RAC on Windows 2003 Server Standard Edition using VMware Server with no additional shared disk devices.



funky_disco_freak said...

There is small hint. On Windows 2003, there is missing part from .wmx definition. This part is:
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.maxUnsyncedWrites = "0"

With this part you ensure that both node can boot. If this is missing then only one node can boot-drives are locked!!!

Tim... said...

That is already present in the section about creating the shared disks. I guess you must have missed it :)

Cheers

Tim...

funky_disco_freak said...

No butit is not clear what part is written from GUI and what need to be written through notepad...

That was my point.

;-)

Tim... said...

It says,

"Edit the contents of the "/u01/VM/RAC1/RAC1.vmx" file, making sure the following entries are present."

I agree some of the entires will already be present, but it reads like a "compare and contrast" using notepad job to me :)

I'll take another look at that section tomorrow to see if I can make it clearer.

Cheers

Tim...

ketan said...

Is it possible to do this on MS Virtual server 2005 instead of VMWare??

Tim... said...

If it allows you to create shared virtual disks I guess it would work fine, but I've never used it and I have no plans to try.

Cheers

Tim...

Ketan said...

yes, it does. i have win2k3 based 2-node clusters on Virtual Server 2K5. the price point is an important difference for a development environment like ours, specially when virtual machine software is meant to have the costs reduced....will try it in my environment. Thanks.

Tim... said...

Remember, VMware Server is a free product, so it doesn't incur any costs!

Cheers

Tim...

Ammar said...

when we modify vmx file to include scsi1:3.deviceType = "plainDisk" ,after we boot the value became scsi1:3.deviceType = "Disk"

any comments and advice

pc said...

Fantastic article article Tim, followed the article from start to finish and it worked straight off. Screen Shots were a great help. Thanks for writing the guide

Sandeep said...


Tim,

I followed your steps upto nework adapters section. I could not find any vmware network adapters installed on my RAC1 machine. Can you suggest?

Thanks

Tim... said...

Please ask questions in the forum!

If you follow the instructions in the article you will set up virtual network cards on the virtual machines. If you have these virtual network cards, windows will see them as network adapters.

Remember, questions in the forum!

Cheers

Tim...

Paul said...

There is a critical element missed there in the article.
It is in the list of pre-requisites for RAC install but who readds this? and without it clusterware fails during installation.
it is - after installing 2003 server one has to login into it and do from command line:
c:> diskpart
automount enable
exit

AND REBOOT IT!

Without it clusterware will fail installing. It got me busy for a couple of hours until i found it. The problem is - if you got clusterware installed WITHOUT doing thhat command - services that are created and requested to be automatically started will hang in 'starting' mode and you`ll have to go into Safe Mode to switch them off.

Ezzeddine said...

excellent thank you.


Manohar said...

Hi,

I followed the steps given in the article carefully and I face problem during clusterware installation. The configuration portion of the clusterware installation fails with services running in the pending state. I checked everything and it seems everything was correct in set up. Can somebody please help if anything extra needs to be done?

Chumkayz said...

I want to try this setup, please tell me DO I need one machine windows 2003 EE with two ethernet cards or only one will do the job.

Tim... said...

Hi.

QUESTIONS IN THE FORUM!

For a start, you don't need Windows 2003 EE. Standard edition is fine. The network cards used for RAC are all virtual, so you don't actually need a single real network card, although it is sensible to have one.

If you read the setup of he virtual machines in the article, you will see the creation of virtual network cards.

Cheers

Tim...

John MacEnri said...

Tim

thanks for a great article. Such step by step with screen shot for every step without tons of text in between is how all manuals should be.
All worked first time for me.

John

fbaviere said...

Got everything done like described but got blue scrren when the second node is up.
clusterware is installed on both and I have finished the database software and db installation on first node only.

I use vmware server 1.0.3 on w2K3 SP1 US and My guest i W2K3 R2 French
The only things I cannot done:
devicetype="plainDisk" VMware server replace it with "disk"
The cache on each windows disk is greyed out.

PS: forum seems to be down.

Tim... said...

Don't know what to say. Maybe your machine doesn't have enough "umph" to do this?

I've certainly never experienced this issue.

Cheers

Tim...

PS. Forum seems fine now.

paulc said...

Thank you very much for this guide. Started off with a clean system, installed Windows, Oracle and got it all up and running in a cluster in a couple of hours.

Absolutely great article!!

Steve Coleman said...

I have been fighting with Oracle 10g RAC on Win2K3 EE under VMWare for 2 weeks now. I have followed the guidelines posted verbatim but every time I get to the point of installing the Clusterware, I get a message indicating that OCFS failed to start...this is during the software installation process..I never get to the Configuration Assistant screen mention in the guide....help please! Thanks in advance...

jayeshv said...

super article, very useful, thank you Tim.

grigorianvlad said...

Great job, Tim. Brief, clear, descriptive, did not not miss a thing!
Guys, before complaining about something not working in Tim's article please keep in mind that you go through all this to learn enough to be able to resolve what isn't working on your own. Of course something is not gonna be working. This ain't no cornbread recipe! It is Oracle.

Bryan said...

Hi Tim,

Thank you so much for your article.

I wonder if it is right to say that when the base O/S is Linux, guest O/S is Windows, VMWare is between Linux and Windows, then we need only the drivers for Linux, and do not need drivers for Windows, VMWare would take care of Windows?

Thanks,
Bryan

Aliyar Sahib said...

Excellent article! Saved my life. Big Thanks for the info.

Olli said...

during installation i get the error oui-35006 (copying to node rac2)

Somebody with the same problem?

thx
Olli

Nilesh said...

I set up every thing according to the instruction, I can even ping both the nodes. But I am facing the problem while clusterware installaion....while I enter the rac1.localdomin and rac1-priv.localdomain....it gives me an error that..public node not reachable...But I can ping it from the rac2...I correctly entered the values in the crs installation from the host file...then to not working....Please advice..

strel said...

really cool, thanks

Batbileg said...

I'm using VMWare server 2.* (latest version) on Windows.
but can't find any VMWare server console. How to can i intall server console? Where? Please help me.


Tim... said...

Hi.

VMware Server 2 doesn;t have a convential console. It has a web-based console. If you look at one of my articles using VMware Server 2 you will see how the new version works.

Cheers

Tim...

Rokhdad said...

hi Dear

my hosts file is :


127.0.0.1 localhost localhost.localdomain
# Public
192.168.2.101 rac01 rac01.localdomain
192.168.2.102 rac02 rac02.localdomain
#Private
192.168.0.101 rac01-priv rac01-priv.localdomain
192.168.0.102 rac02-priv rac02-priv.localdomain
#Virtual
192.168.2.111 rac01-vip rac01-vip.localdomain
192.168.2.112 rac02-vip rac02-vip.localdomain

but when i run runcluvfy.bat stage -post hwos -n rac01,rac02 -verbose the error rise say :Could not find a suitable set of interfaces for VIPs.

Tim... said...

Hi.

You can ignore that error. The problem is that the utility is looking for "real" IP addresses, not local, for the main IP addresses and the VIP. Since 192.168.x.x is not a real IP, it is an internal one, it thinks it is an illegal IP address. In 11g they removed this issue.

Cheers

Tim...

Rokhdad said...

TNX Dear :)

Daniel j said...

Hi ,
while Installation of oracle cluster 10.2.0.1.0 in windows 2003 enterprise edition with vmware workstation 6.5, I am facing error during the execution of "configuration assistance" window. Kindly provide solution for the below error.

ERROR MSG:
==========

Output generated from configuration assistant "Oracle Clusterware Configuration Assistant":
Command = C:\WINDOWS\system32\cmd /c call C:\oracle\product\10.2.0\crs/install/crssetup.config.bat
PROT-1: Failed to initialize ocrconfig
Step 1: checking status of CRS cluster
Step 2: creating directories (C:\oracle\product\10.2.0\crs)
Step 3: configuring OCR repository
ocr upgrade failed with (-1)

Configuration assistant "Oracle Clusterware Configuration Assistant" was canceled.
-----------------------------------------------------------------------------
The "C:\oracle\product\10.2.0\crs\cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------Output generated from configuration assistant "Oracle Clusterware Configuration Assistant":
Command = C:\WINDOWS\system32\cmd /c call C:\oracle\product\10.2.0\crs/install/crssetup.config.bat
PROT-1: Failed to initialize ocrconfig
Step 1: checking status of CRS cluster
Step 2: creating directories (C:\oracle\product\10.2.0\crs)
Step 3: configuring OCR repository
ocr upgrade failed with (-1)

Tim... said...

Hi.

1) Don;t ask questions in these comments. That is what the forum is for, as it says in the very big writing above the comment box.

2) The error message gives no indication of the actual problem. I suggest you run the runcluvfy utility before trying to install the clusterware to check you have everything configured properly.

3) I never use VMware Workstation, so I don;t know if this is part of the problem or not.

4) Just in case you've forgotten, no questions in the article comments, just in the forums.

Cheers

Tim...

Abdul Haleem said...

Dear Tim, Thanx for this post, It really helped me. My problem is...

I have installed clusterware across 2 nodes recently in a virtual environment with windows XP as host and Windows 2003 Enterprise Edition as guest. I have been following a guide on how to do this and everything has gone as expected apart from when i try to run VIPCA manually (as detailed in the guide). When trying to run VIPCA on node 1 i get the following error:

C:\Documents and Settings\Administrator>cd c:\oracle\product\10.2.0\crs\bin

C:\oracle\product\10.2.0\crs\BIN>vipca.bat
PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]

C:\oracle\product\10.2.0\crs\BIN>
was wondering if anyone had experienced the following error before and might be able to shed some light on why I am receiving it and how to resolve it to get VIPCA to run properly.

After seeing this error message, when i check services the CRS and CSS services wasnt started i tried them starting but its giving error.

please help me in resolving this issue.

Looking forward for your kind reply..

Cheers Salman

DO NOT ask technical questions here! They will be deleted!

These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!

Add your comments here.
Name
Comment
(max 400 chars - plain text)