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

Comments

Oracle Database 11g Release 2 RAC On Linux Using NFS - This article describes the installation of Oracle Database 11g Release 2 (11.2) RAC on Linux (Oracle Enterprise Linux 5.4) using NFS to provide the shared storage.



Rajeev said...

Hi,

Is it possible do the same in vmware. Create three machine there and use one as NFS server.

Thanks

Tim... said...

Hi.

It certainly is possible. In fact that is what I did. I don't have a couple of spare machines lying around so I did it with VMs. :)

Cheers

Tim...

Tim... said...

Forgot to say, you can place the NFS server on a 3rd VM or on the host machine if you don't want it on one of the RAC nodes. Just point the /etc/hosts entry to the correct server and do the NFS shares on that server.

Cheers

Tim...

Frank said...

Hi Tim

Thank you for your effort, this is a REALLY useful guide.

There is one minor typo in the section where you say "Add the following lines to the "/etc/fstab" file"

I think that the following;
nas1:/shared_crs /u01/app/11.2.0/grid

should be
nas1:/shared_grid /u01/app/11.2.0/grid

Regards
Frank

Netto said...

Hi Tim,

I'm following step by step your article, but I encountered the following problems, the first was that in fstab is "nas1: / shared_crs" I adapted to "nas1: / shared_grid" that was very simple but the second is making me crazy, when I use the suggestions Kevin Closson in fstab, the installation of the error in time to run the script "root.sh". you could tell me why?

Regards

Netto said...

failed to say that the root.sh is the installation of the grid.

Regards

Tim... said...

Frank: Thanks for the heads-up ion the typo.

Netto: Those mount setting were straight from the installation guide. I've removed the reference to Kevin. Bad cut and paste from old article. :)

As for your error. You don't say what the error is. Please open a post on the forum to discuss it, not here. :)

Cheers

Tim...

Netto said...

Hi Tim,
I'm sorry to post here again because I'm trying to sign up to post my doubts in the forum and email activation is not enough :(

and thank you for answering me!

your articles are very good!

Regards

Tim... said...

Hi.

Not sure what you mean by "email activation is not enough".

Have you picked the wrong category and said you are under age perhaps?

If so, email me (the address is on the mail you'll receive) and I'll delete the account so you can try again.

Cheers

Tim...

Netto said...

Sorry, I meant that so far I am waiting for the email to activate my account. my English is terrible I'm from Brazil hehehe

Regards

Netto said...

Tim,

Could you give me your e-mail so I can tell you my doubts. because I did not receive the email to activate my account, I have done everything, but so far nothing.

obs: I created two accounts, and have used the system to re-send.

Regards

Tim... said...

Netto: I've activated your account.

Cheers

Tim...

Kabbo said...

Hi Tim,

I actually two physical servers, OLE5 with update 5 with plenty of memory. I really can't get passed the OCR storage during the installation. I followed exactly what you have put in here and set NFS as one of the servers. I made sure the entry in the /etc/hosts and permission are all correct with 775 with ther right user. It still gives me the [INS-41317] Invalid Oracle Cluster Registry(OCR) locations. Followed exactly your instruction here. what could be wrong. Can you please tell me if you setup your NFS youself or your Unix Admin folks did for you and if they did anything different.
I just came to this site so I don't know where to get reponse back from you. But, I putting email address here Muskeen@gmail.com. Hope to hear from you.

thanks,
Kabbo

Tim... said...

Hi.

Please ask questions in the forum, not in the article comments.

All I can say is it works fine for me. If you are having problems creating the OCR it suggests a shared disk issue.

I set up the NFS shares myself and they work fine for me.

Cheers

Tim...

Kabbo said...

Hi Time,

If you are using RAC1 as your NFS storage as well, why do you want to "Mount the NFS shares on both servers". Should it not be just " Mount the NFS shares on RAC1 server"? My understing from your article is that you are also using on of the RAC nodes, in this case RAC1, as your storage and hence set it up for NFS storage. And yet you want to mount NFS on both server, why on RAC2? am I interpreting it differently?

thanks,
Kabir

Tim... said...

Hi.

First, as I said in the article, it's a dumb idea because if node 1 goes down you've lost all your nodes. It's just so show it working with no extra kit.

Regarding NFS, you have two things to consider. The NFS server, which shares the locations and the MFS clients that mount the location. RAC1 is the NFS server and it shares the files. Both RAC1 and RAC2 are clients which mount the shares.

Cheers

Tim...

Kabbo said...

Thank Tim,

I did not think of the NFS client at all, and RAC2 is certainly an NFS client.

thanks
Kabbo

Billy said...

Hello Tim~

I am new to oracle

I forwarded this guide to install.
but I always hang on Linking RMAN Utility/Linking RDBMS Executables.... when 63% of setting up grid infrastructure~

Could you help me, please?

Tim... said...

Hi.

First, please ask questions in the forum, not here. It's much easier to post formatted text and you will get emails about responses.

As for your issue, these issues typically come about because you have:

1) Not completed all the prerequisites.
2) Not allocated enough memory to cope with the installation.

If these are not the case, check the log files.

Cheers

Tim...

Hitesh Gondalia said...

root.sh failed during grid installation in Oracle11g R2 RA

Actually I'm Install the Oracle11g r2 RAC using following blogs post..
http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnLinuxUsingNFS.php

http://forums.oracle.com/forums/message.jspa?messageID=9776212#9776212

Tim... said...

Hi.

Please ask questions in my forum, like the big red text says. :)

Cheers

Tim...

Hitesh Gondalia said...

In Development environment,
Can we use the cross cable instead of switch as rac interconnect device.???

Tim... said...

Hi.

Crossed cable will work, but you won't be able to test failover situations properly. Better off buying a couple of cheap switches.

Cheers

Tim...

Hitesh Gondalia said...

Dear Sir,

Plz help us

http://www.oracle-base.com/forums/viewtopic.php?f=1&t=12840&p=33461#p33461

Thanks and Regards
Hitesh

Tim... said...

No need to comment here. If you have asked a question on my forum I will answer it. :)

Cheers

Tim...

Maad said...

Thanks for shareing. I installed it with OpenFiler and VMWarePlayer for testing.
Thanks a lot

Chip Hall said...

this assumes using Oracle Enterprise Edition Database, what about using Oracle Standard Edition Database??
chall347@yahoo.com

Tim... said...

Hi.

The only difference is that Standard Edition RAC *must* use ASM, so you need to configure ASM against files on an NFS location.

http://www.oracle-base.com/articles/linux/using-nfs-with-asm.php

Cheers

Tim...

ajay said...

Hi,

It hanged during linking rman utilities because you have not swap memory as per recommendation. I was also facing the same issue.
once done , it is resolved

ajay

Tim... said...

Hi.

Swap is only used if there in't enough physical memory in the node. With that in mind, the problem isn't because you have too little swap. It is because you have too little physical memory in the node.

The numbers quoted in the article are not recommendations. They are minimum values.

Cheers

Tim...

Gulshan Kumar said...

Hello,
Confused about the ip addresses
RAC1.
hostname: rac1.localdomain
IP Address eth0: 192.168.2.101 (public address)
IP Address eth1: 192.168.0.101 (private address)

In /etc/hosts there is no mention of 192.168.2. series ip addresses
# Public
192.168.0.101 ol5-112-rac1.localdomain ol5-112-rac1
192.168.0.102 ol5-112-rac2.localdomain

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)