|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.
Yes. You are correct.
In a real installation I would probably put CRS on an entirely different mount point, like:
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.
Tim... said...Revised as promised. CRS home now:
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.
In this version of the article I use RSH, rather than SSH. In the 11G article I use SSH.
Glad you liked it.
Excelent Step-by-Step, I had some particulars problems but i could start RAC database in my home,
Thanks a lot !!!
Ade said...Great article. You've done a great job putting this stuffs together.
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 said...Hi
now i have configured ssh as well. now my installation stops at 90%. It stops before performing the remote operations.
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.
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.
I used the options recommended in the Oracle installation guide:
Setting actime=0 is the same as noac.
Thanks for the info anyway.
Kiran K said...I could not understand the installation and configuration of OCFS. Its not shown here.
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:
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.
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..
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.
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
mash said...Hi Tim, I think in the title you mean Linux 5.4 and not (Oracle Enterprise Linux 4.5)
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.
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.
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.
That doesn't make sense. There is no Oracle home installed before the clusterware. The clusterware is the first installation.
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.
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.
sachin said...Any one have Oracle 10g RAC On Linux Using ASM, please post it.
You can see an example of virtualized hardware here: