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

Comments

Oracle 10g RAC On Linux Using NFS - This article describes the installation of Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux 4.5) using NFS to provide the shared storage.



Bence said...

Excellent guide, thanks for the effort.

SimonH said...

Nice one Tim!

Note: Oracle 10.2 Release Note (section 4) is recommending that the CRS is installed outside ORACLE_BASE, e.g. /u01/app/crs or /u01/app/10.2/crs. This is related to security as CRS runs as root, though I can't remember the exact details.

See also documentation bug 5843155.

Tim... said...

Hi.

Yes. You are correct.

In a real installation I would probably put CRS on an entirely different mount point, like:

/u01/app/oracle/product/10.2.0/crs
/u02/app/oracle/product/10.2.0/db_1
ORACLE_BASE=/u02/app/oracle

In this case, the full path would be acceptable as it is outside the ORACLE_BASE. I guess I oversimplified the installation. It works fine for a test system, but isn't too clever for production.

I'll look to revise this in the near future.

Cheers

Tim...

Tim... said...

Revised as promised. CRS home now:

/u01/crs/oracle/product/10.2.0/crs

Cheers

Tim...

mohammedB said...

Excellent step-by-step instructions. Had very little problems getting my test RAC set up.

Only issue related to the step "Specify Cluster Configuration". I got an error that said that the configuration is not clusterable. Anyway, I referenced http://www.puschitz.com/InstallingOracle10gRAC.shtml and the section titled "Setting Up RAC Nodes for Remote Access". After setting up ssh so I could ssh to each node without a password, the setup continued flawlessly.

Great article!!! Thanks for all the effort.

--
mohammed

Tim... said...

Hi.

In this version of the article I use RSH, rather than SSH. In the 11G article I use SSH.

Glad you liked it.

Cheers

Tim...

sslobo said...

Hi
Excelent Step-by-Step, I had some particulars problems but i could start RAC database in my home,
Thanks a lot !!!
Great !!!

Ade said...

Great article. You've done a great job putting this stuffs together.

Thanks.

salazar said...

sorry but when I create the database i have proble with ocfs filesytem and I can create the database

BD Garg said...

Hi

it is excelent guide to set up rac using NFS. I am trying this but facing problem in cluster installaion. Cluster installation stops after 57% of completion. i have waited for 2 hours .. it remain stand still at 57%. My rsh is working fine. but else can be tried.

thanks in advance.

BD Garg

BD Garg said...

Hi

now i have configured ssh as well. now my installation stops at 90%. It stops before performing the remote operations.

Tim... said...

Hi.

I've done the installation several times and I've not seen anything like this before. Most RAC installation issues come down to network configuration issues. If you are using the same product versions as me and you've followed the instructions it should be fine.

Remember, you are going to struggle unless you have 3 Gig of memory and a good CPU.

Cheers

Tim...

Mikhail said...

Hi, Tim,

Thanks a lot for the excellent article!!! With this article getting started with RAC is very simple. It is amazing why all other articles before did not ever mention the possibility to install RAC with NFS. All other solutions are expensive...

Again, thank you for the good job! :-)

Bhupinder said...

Excellent guide, thanks Tim

a few things
1. when using NFS use "noac" option or it might result in NFS stale Handle errors
2. in vase installation hangs anywhere, 57% or 90% or 49% (these 3 i had experienced), please check nfsstat on the nfs server. You may need to remount nfs. Also check for any .nfsXXXXXXXXXX files in the shared volumes.
3. if possible , add static routes for interfaces used for nfs mounts.

regards
bhupinder

Tim... said...

Hi.

I used the options recommended in the Oracle installation guide:

http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b15660/app_nas.htm#CHDIAGAD

Setting actime=0 is the same as noac.

Thanks for the info anyway.

Cheers

Tim...

Kiran K said...

I could not understand the installation and configuration of OCFS. Its not shown here.

Tim... said...

Hi.

This article uses NFS for the shared storage. That's why it doesn't show the installation of OCFS.

If you are interested in OCFS you might want to take a look at this:

http://www.oracle-base.com/articles/linux/OCFS2OnLinux.php

Cheers

Tim...

Raghu said...

Thank You SO much Tim, for this detailed document ( very clear ), which won't take much time to completely go through.

I greatly appreciate your efforts for the sake of others benefit.

regards
Raghu

Manish Kamboj said...

I m new for this RAC system, little bit clear, and want to more , will be in touch so that i can grow my knowledge. thanks tim, mohammed and all of you..

Regards,
Manish Kamboj

Slava said...

Hi Tom!
I had many mistakes 'Stale NFS handle' during Remote operations phase. Options for NFS just like you said,OS - Cent OS 4.2.
Can you provide information about CPU and RAM,computers where testing this solution and maybe give some advice about mistakes?

Ron Chennells said...

Great guide Tim. I did have to run vipca standalone after the install though. I'm using Workstation 6.5 on a 4GB laptop and getting good response even when uisng TOAD a a front end.

Umair Mansoob said...

hi tim,
do i have run there cpmmand on both nodes as you mention in article for 11g using nfs.

touch /u01/crs_configuration
touch /u01/voting_disk
mkdir -p /u01/crs/oracle/product/10.2.0/crs
mkdir -p /u01/app/oracle/product/10.2.0/db_1
mkdir -p /u01/oradata
chown -R oracle:oinstall /u01 /u02


thanks

mash said...

Hi Tim, I think in the title you mean Linux 5.4 and not (Oracle Enterprise Linux 4.5)
http://www.oracle-base.com/articles/rac/ArticlesRac.php

mash said...

and correcting myself, I thought I am looking at 11g pages :)

Charles said...

I did exactly what was provided on the article except that I actually have a dedicated machine as a NFS mount point. I got through the CRS install and have CRS up, but when I do the dbca, I keep getting errors related to my shared locations.
"The directory /U02 is not on cluster file system partition shared across nodes".

I can see /u02 from both my rac nodes and setup the nfs mount points in /etc/exports and /etc/fstab as provided on the article.

Tim... said...

Hi.

If you are sure your export ans mount options are correct then I really don't know what the problem is.

Are you maybe using the same network card to connect to your normal network and storage? If there is contention for the network I guess the messaging to/from the storage could be delayed and produce an issue.

Cheers

Tim...

Nafey said...

Hi, I have a quick question. Can the oracle home installed before the clusterware installation be used for managing the clustered database?

Thanks in advance.

Tim... said...

Hi.

That doesn't make sense. There is no Oracle home installed before the clusterware. The clusterware is the first installation.

Cheers

Tim...

Nafey said...

Sorry, for the confusion. My question was not related to the original post. Let me elaborate.

I already have a stand-alnoe database running of a server and we are planning to make it a clustered database. For this reason, we installed clusterware and then ultimately used rconfig utility to convert the database to a clustered database. I realized that i had to toss my original Oracle Home and had to install a new one, because the original one was not (probably) cluster aware.

Is there a way to make use of the same Oracle Home after the clusterware installation for the clustered database? I have tried google, but nthing showed up. You might be able to address.

Thanks,

Tim... said...

Hi.

The database home has nothing to do with the clustering, so you could have used the existing Oracle home assuming it was of the correct version.

Cheers

Tim...

sachin said...

Any one have Oracle 10g RAC On Linux Using ASM, please post it.

Tim... said...

Hi.

You can see an example of virtualized hardware here:

http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php

Cheers

Tim...

DO NOT ask technical questions here, that's what my forum is for!

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)