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

Comments

Oracle Database 11g Release 2 RAC On Oracle Linux 5.8 Using VirtualBox - This article describes the installation of Oracle Database 11g release 2 (11.2) RAC on Oracle Linux 5 using VirtualBox with no additional shared disk devices.



bernard Polarski said...

Very nice presentation. Hope that Oracle will integrate the sharable disk directly into the VB gui.

Lesio said...

You are Fantastic :) Thanks

Klaus Espenlaub said...

Creating shared disks for VirtualBox can be done with less steps:

$ # Create the disks and associate them with VirtualBox as virtual media.
$ VBoxManage createhd --filename asm1.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$ VBoxManage createhd --filename asm2.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$ VBoxManage createhd --filename asm3.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$ VBoxManage createhd --filename asm4.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$ VBoxManage createhd --filename asm5.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember

This way you can skip the extra step with "VBoxManage openmedium".

Tim... said...

Hi.

Thanks Klaus. I've altered the article to reflect your comment. :)

Cheers

Tim...

Renjith Madhavan said...

Awesome !!!!!!!!! :)

dnunknown (Steve) said...

Thanks Tim, have used the 11gR1 RAC on VMWare doc you have on your site many times (in fact helped me setup our production environment)

Cant wait to get some time to play w/ this doc

rob said...

Greate article again. You have any idea if oracle is going to distribute VirtualBox images?

Tim... said...

Hi.

I don't know if they have any plans like that. They do have this one for the Developer Days stuff:

http://www.oracle.com/technology/software/products/virtualbox/appliances/index.html

Cheers

Tim...

Rob said...

Thanks Tim, that one contains exactly what I need. I think it would me a logical step for oracle to create images. Most people fail when they try to install the the full oracle stack to try out a certain product.

Law said...

Hi tim, Nice job.
My question is
where do you config /u01 fs ? Thanks.

Tim... said...

Hi.

"/u01" is not a shared drive, so just create it under "/", like in the article.

Cheers

Tim...

Peter W said...

Hi there, I found that if I followed the guide step-by-step, that node2 rebooted in the process of installing the database, nodse1 reported that EM interface could not be started on node2. I found that after changing ORACLE_UNQNAME=RAC to ORACLE_UNQNAME=$ORACLE_SID this problem is gone an EM can be started on both instances and installation completed successfully.

Tim... said...

Hi.

Can't say I've been that problem myself, but I'll keep it in mind if anyone else says they have issues.

Cheers

Tim...

Peter W said...

Sorry guys I hate to be a pest, but that's my first encounter with Oracle RAC; thank you very much for making it work in VBox, it took me a few hours to complete, while my experiments with VMWare failed and failed.

A question (from a newbie): In your guide, you set ORACLE_UNQNAME, but there is no reference to that in the Oracle RAC documentation, *but* they mention DB_UNIQUE_NAME; also, in your guide, ORACLE_SID is set to RAC1 and RAC2, in the running example, I had to overwrite their settings to RAC11 and RAC12, since RAC automatically appends '1','2', etc. to the nodes. I'm a little confused now ... maybe you senior experienced RAC people can help me understand?

Thanks, Peter

Tim... said...

Hi.

The ORACLE_UNQNAME is something the DBControl uses. See:

http://download.oracle.com/docs/cd/E11882_01/install.112/e10813/dbcacrea.htm#BABCEGCF

You are right that the node number is added for each instance, but during the database creation, the value you enter for the Global database name is the seed for this. So if:

Global Database Name = RAC.locadomain
Prefix = RAC
Node 1 ORACLE_SID = RAC1
Node 2 ORACLE_SID = RAC2 etc.

I guess what you did was set your global database name to RAC1.locadomain. There is nothig wrong with that if it is what you wanted, but it will give you the prefix of RAC1, hence RAC11 and RAC12 for your instances. :)

Cheers

Tim...

Mark Broadbent said...

Trying to get these shared disks working for SQL2008 clustering too (can only get iscsi's working right now) and dont know if your post is going to help, but it certainly will when I get around to a RAC one. So just wanted to leave my appreciation of all your hard work.
Much Respect!

Bernd said...

Hi, very nice!

I have one issue with RAC2-VM: It will NOT start up. It hangs right at first boot-screen with no obvious progress. Any idea?

Best regards,
Bernd

Tim... said...

Hi.

No idea. Sorry. I run it all the time and it works fine. I assume you are not trying to run it on a machine with too little memory. I wouldn't run it on a host with less than 6G RAM. Less than that and you will be swapping on the host like crazy.

Cheers

Tim...

Bernd said...

Hi Tim,

thank you for your fast reply. Nothing changed from yesterday to today, but today the seond vm ("rac2") start up with no further issues! Sometimes IT-business is a bit like a fairy tale ;-)

Keep on your good work. Like it very much.

Cheers
Bernd

Dan said...

Hi,

I only have 1 network adapter, "eth0"

What should I do for the 2nd network adapter?

Thanks

Tim... said...

Hi.

You only need 1 physical network adapter in the host server. You create two virtual network adapters in the VM, as shown in the article.

Cheers

Tim...

Dan said...

Hi Tim,

Where you mention
Make sure "Adapter 2" is enabled, set to "Bridged Adapter" and "eth1", then click on the "OK" button.

I don't have an "eth1" available in the name drop down list.

Thanks


Tim... said...

Oh. Never seen this before. Not sure what you do in that case. Always works fine for me. :(

Cheers

Tim...

GDM said...

excellent

Dan said...

I also only see eth0 and no eth1 as VirtualBox seems to only map to physical network adapters? Do we have to create a virtual LAN in linux first? or should it be ok to just use eth0 for adapters 1 and 2?

Tim... said...

Hi.

Sorry, I don't see this issue. I think you need to check on a VirtualBox forum.

Cheers

Tim...

Ads said...

Thanks Tim , just what i was after - have just finished getting it all setup. I've used Vbox on a windows 7 host though - still all worked like a charm :-)

If anyone is having issues and wants the windows differences just let me know.

Ads.

Tonyg said...

Hi Ads - I'm trying to follow Tim's doc on setting up RAC on VM. My host is Win 7. My guest hosts for RAC are OEL 5.5. I posted a note in the forum explaining a strange and pesky issue I'm having. Wo.dered if you might have a look and see if you can shed some light. Thanks in advance.

samy said...

Create 5 sharable virtual disks and associate them as virtual media using the following commands on the host server.

$ # Create the disks and associate them with VirtualBox as virtual media.
$ VBoxManage createhd --filename asm1.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$ VBoxManage createhd --filename asm2.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$ VBoxManage createhd --filename asm3.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$ VBoxManage createhd --filename asm4.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$ VBoxManage createhd --filename asm5.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
$
$ # Connect them to the VM.
$ VBoxManage storageattach rac1 --storagectl "SATA Controller" --port 1 --device 0 --type hdd --medium asm1.vdi
$ VBoxManage storageattach rac1 --storagectl "SATA Controller" --port 2 --device 0 --type hdd --medium asm2.vdi
$ VBoxManage storageattach rac1 --storagectl "SATA Controller" --port 3 --device 0 --type hdd --medium asm3.vdi
$ VBoxManage storageattach rac1 --storagectl "SATA Controller" --port 4 --device 0 --type hdd --medium asm4.vdi
$ VBoxManage storageattach rac1 --storagectl "SATA Controller" --port 5 --device 0 --type hdd --medium asm5.vdi

this command didn't work for me

bash: VBoxManage: command not found

please help me. I am a beginner for oracle technology.

Tim... said...

Hi.

If you have installed VirtualBox, then you should have the VBoxManage API available on your host machine.

Cheers

Tim...

PS. Questions in forum please...

Roman Romaniuk said...

After installing CRS and rebooting I ran into an issue where crs would not start properly. Turned out to be a permissions problem with the ASM disks. Chown'ing them did not work as they always reverted to being owned by root. I ended up adding the following udev rule to make the permissions 'sticky' (my disks are sdb -> sdf, ymmv):

# cat /etc/udev/rules.d/99-oracle.rules
# ASM Devices
KERNEL=="sd[b-f]1", OWNER="oracle", GROUP="dba", MODE="660"

Luis said...

Hi,
first of all, thank you, great job.
I have experienced some issues with creating a data group for ASM (installing 11.2.0.2 for Linux OEL 5.5).
I have to change the discover path from /dev/raw (default option of OUI) to /dev/oracleasm/disks and then everything is OK. I have done in some virtual systems and in some real systems (with and without multipath)

Thank you

Anjan said...

Thanks..Excellent doc..
HW AmD 64 quadcore, 8 GB Ram, Windows Vista Host:
Ran into the following...
Bridged Adapter Name is only Realtek. so using Host only. During grid installation I had it fail on me for SCAN, I realized I had a typo in /etc/hosts when I started the install but corrected the /etc/hosts on both to reflect the doc, but the install fails everytime with INS-40922 unresolvable IP address. Ping resolves it ok. Any input will be appreciated.

Anjan

Tim... said...

Never done it with host-only, so I'm not sure what I would expect to see. :(

Cheers

Tim...

syed said...

i have window 7 host. i want to instanstall 2 node using oelinux 5.5. what will the command to create shared disk in the window guest host.
Thanks
Syed

Tim... said...

Hi.

Guest is VM. Host is the machine you are running the VMs on. No such thing as a "guest host".

Creating the shared disks is the same on all platforms because you are doing it using a VirtualBox tool.

Cheers

Tim...

bless_sword said...

I am using VBox 4.0.0, the following command used to create the shared disk is always returning the following error:

[bless_sword@bless_sword-pc ~]$ VBoxManage createhd --filename asm1.vdi --size 10240 --format VDI --variant Fixed --type shareable --remember
Oracle VM VirtualBox Command Line Management Interface Version 4.0.0
(C) 2005-2010 Oracle Corporation
All rights reserved.

Usage:

VBoxManage createhd --filename
--size |--sizebyte
[--format VDI|VMDK|VHD] (default: VDI)
[--variant Standard,Fixed,Split2G,Stream,ESX]


Syntax error: unknown option: --type

[bless_sword@bless_sword-pc ~]$

Can you help me in this please and tell me what I am missing ?

Thanks, bless_sword

Tim... said...

Hi.

It looks like they've changed the syntax in 4.0.0. Looks like you now have to create the disk and make change the --type using the modifyhd command. There is also a --mtype option in the storageattach command. I've added the commands for version 4.0.0 into the article now, but I've never done a RAC installation on this version so I can't guarantee it's correct.

Cheers

Tim...

Peter said...

Thanks Tim it is very good job

Peter

Tim... said...

Hi.

Did a run through with 11.2.0.2 on VirtualBox 4.0.2. I've added the correct shared virtual disk commands for this version of VirtualBox.

Cheers

Tim...

fii said...

I've successfully deployed this on a CentOS 5.5. The only problem I had was getting the right rpms.

That was fixed by checking the kernel version like so:

rpm --query --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" kernel

Thank you so much .

Bikash Bhowmik said...

We have some issue to start RAC1 and RAC2

After started the RAC1 , when we are starting to RAC2, then error comes

failed to open a session for the virtual machine
locking of attachmed media failed


Result Code:
VBOX_E_INVALID_OBJECT_STATE (0x80BB0007)
Component:
SessionMachine
Interface:
IMachine {662c175e-a69d-40b8-a77a-1d719d0ab062}

Bikash Bhowmik said...

Cloud you please give us a solution . please .

Thanks
Bikash

Tim... said...

Hi.

Looks like your VirtualBox configuration is incorrect. I'm assuming it's a problem when trying to access the shared disks, so check their configuration.

Cheers

Tim...

Olilogu said...

Hi,
Thanks, it has been very useful, however I ran in Opensuse 11.2 x64, and the guest OS were 32bits.
After to tried many time I have to apply patch 8670579 (unpublished bug), just after to run oraInstRoot.sh and before to run root.sh.
Please follow Note Id: 1068212.1
Good Luck!!!

Arramad said...

I have expereinced the following are good procedures to follow for safer results:
1) Always reboot after fdisk ...before any oracleasm disk creation

2) Always clone before you create the oracleasm disks because every time I clone I find that the oracle software can't read the oracleasm disks unless I delete/recreate them again.

Tim... said...

Hi.

I don't get either of these issues. I'm using a Linux host. I wonder if this is something related to using a Windows host maybe?

Cheers

Tim...

Arramad said...

its impossible to install both the Grid and the Database on a 8GB disk! please update that: the Grid takes 3.5GB + DB 4.5GB= 8 GB !! where the system going to be? :)
( It seems like it looks at the shared disks as part of the 8 gb drive...)

Tim... said...

Hi.

I don't know where you get 8G disk from. If you look at the article it says to use 20G drive for the VM. That is the system disk and holds the Oracle software as well. The shared drives have nothing to do with this.

Cheers

Tim...

Rick said...

Great article Tim! Very thorough walkthrough of the process. One recommendation for those that might see this issue where the Oracle Grid Infrastructure installation hangs at "Performing Remote Operations". Try to disable the firewall entering "service iptables stop" as root on both nodes. Look at http://forums.oracle.com/forums/thread.jspa?threadID=1000318&tstart=-1 for more details.

Tim... said...

Hi.

In the installation I recommend turning off the firewall during the OS installation. I never have the firewall on for any Oracle installation.

Cheers

Tim...

norberto said...

some images are missing

Tim... said...

Hi.

They all seem to be there now. Either your internet connection was a bit flaky, or the web server was having a little freakout. :)

Cheers

Tim...

Nandakumar said...

I have issue on VBoxManage, Need your urgent help on the same.
I am using Windows 7 and installed VirtualBox 4.0.8 and installed Oracle Linux 5.5 as per your instruction in the document.
However, I am confused about Create shareable Virtual disks steps. getting "Command Not found" error while running same in Linux. So, I went to c:\Program Files\Virtualbox ,but not sure on further steps.need help

Tim... said...

Hi.

Questions in the forum please. It's much easier to track them there.

VBoxManage should be run on the host machine, not the VMs. It says that in the article.

I've never done this with Windows as a host. I always use Linux as the host on my servers. I assume the commands are the same, but can't guarantee that.

Cheers

Tim...
Cheers

Tim...

Nanda said...

I am getting following error when ping -c 3 rac1
"Host unreachable"
I am using Windows 7 as host and installed OEL5.
I have added 3 network adapters ,eth0,eth1 and eth2(for Internet). So, I did clone the RAC1 and renamed as RAC2. But, when i try to ping, it does not reachable.Kindly help me on this.

Tim... said...

Hi.

In virtualbox you only clone the HD. You have to recreate the VM itself. Make sure you've added all adapters to the VM config. Also, check your network config within the VMs.

If you have any more questions, please ask them on the forum.

Cheers

Tim...

Nanda said...

Thanks Tim for your reply
Sorry, I didnt get your update on "Recreate the VM Itself". I have added all adaperts and all are active. But only ping is NOT working.Sorry to bother you. I have already created a thread on this topic in Virtualbox Forum, but no reply yet.
Kindly help me on this

Tim... said...

Hi.

Happy to help. Please start a thread on my forum on this site. Easier to discuss issue on forum than in comments here.

Cheers

Tim...

Nanda said...

Thanks Tim
Created a new Forum Thread "Host is NOT Pinging in Virutalbox for 11gR2 RAC" Kindly help me

kishan said...

hello tom and friends , i have followed all steps of article but when i run runcluvfy utility it says ""PRVF-9407:Invalid platform.This distribution is supported on Operating Syste "Linux" running on hardware architecture *[*86]*."" I have windows 7 64bit host , virtualbox 3.28 , OEL 5.5x86-64 and oracle grid 64bit . Kindly help friends ... thank you in anticipation kishan.

Tim... said...

Hi.

Please ask questions in my forum. More space!

Must use x86-64 version of Oracle on x86-64 Linux.

Cheers

Tim...

kishan said...

thank you tim , i registered on your forum.
Its a great article and thanks a lot for the help and tips you provide here for setting up RAC .
god bless you. kishan

Nanda said...

Hi Tim,

While installing Grid , I found no Candidate disks.
However, i could able to see them using oracleasm listdisks. It is already mounted.

Please help me!

Thanks

Tim... said...

Questions in forum please. Read the "Big Red Writing"!

Cheers

Tim...

Hunter said...

You installed oracleasm-support and oracleasm rpms. No need to install oracleasmlib rpm?

Nijesh Narayanan said...

Hi Tim,

Came across your page on 11gR2 Rac using virtual box.
Very good work...
I see that you prefer VirtualBox instead of Vmware...
Do you see any advantage of using VirtualBox rather than Vmware, specifically for 11gr2 RAC?
I'm on the verge of installing 11gR2 rac , thinking which one I should go for?
Whether Vmware or VirtualBox. Any comment is helpful.

Tim... said...

Hi.

Personally I would pick VirtualBox. I used the free VMware Server for some time and it was OK, but new development was very slow because the team was focused on their profitable products.

VirtualBox updates come thick and fast so it remains very up to date.

Cheers

Tim...

Nijesh said...

Thanks for a very quick answer, Tim... You are the best...

Nijesh said...

Hi Tim, Just to clarify, does VirtualBox give better performance than Vmware when you install 11gR2 RAC?
Or does it give more options to configure shared disks or virtual network cards as compared to Vmware? or is it much easier or
more reliable to implement test 11gR2 RAC using VirtualBox? Sorry for asking too many questions.. Thought to clarify before I go ahead implementing test RAC.

Tim... said...

Hi.

None of the above. They are essentially the same product. The reason I use VirtualBox is because it gets regular updates with new features. The release cycle for VMware Server is painfully slow.

Cheers

Tim...

Joe Skinner said...

This is the best thing ever in the history of all things. Well done indeed. Thanks so much.

Noel Sidebotham said...

During the install of the grid infrastructure my asm disk did not show in the oui, even after setting the oracleasm_scanorder="multipath sd". I did manage to solve the issue clicking "change discovery path" and entering /dev/oracleasm/disks
then my asm disks appeared and install continued successfully.

Mubeen said...

Hai Tim,

Thanks for detailed post. After following your article, I have a working RAC. When I rebooted, CRS cannot be started. Can you advise please?

Mubeen said...

Hi Tom, it is solved. Changed permission on /dev/sdb1, etc. & worked. Thanks..

Daniel Da Meda said...

Hi, Brilliant post!

My two cents, If you want the guest VM's to be able to resolve external IP addresses and have internet access, select 'Internal Network' for the interconnect (Adapter 2) for both VM's.
You have probably noticed that by selecting Bridged for both public (Adapter 1) and private (Adapter 2) causes the VM's to go crazy when trying to resolve external addresses via gateway.

Tim... said...

Hi.

I've not seen that issue myself, but I'll put a mention of it in the articles. I've found Bridged, Internal Network and Host Only work equally well for the interconnect. :)

Cheers

Tim...

Andrés said...

Hi following the following step, im getting this error.
[andres@andres shareddisk]$ VBoxManage storageattach racnode1 --storagectl "SATA Controller" --port 1 --device 0 --type hdd --medium asm1.vdi --mtype shareable
VBoxManage: error: Could not find a controller named 'SATA Controller'
[andres@andres shareddisk]$
_________
Any suggest?

Regards,
Andrés

Tim... said...

Hi.

I suggest you ask the question in the forum, like it says in the bit red letters. Not enough space to discuss the matter here.

Cheers

Tim...

Jason said...

Thanks for excellent guide Tim!
One Note:
If someone didn't read the small letters (like me) and started the root.sh script first on rac2 instead of rac1 causing the ASM setup to fail, here is an article that could help you to recover and continue:
http://oraclestage.blogspot.com/2010/03/how-to-proceed-from-failed-11gr2-grid.html

Mike said...

Tim,
Your article is fantastic! I have been trying to set up a 2 node RAC on the VB following your guide. Now I got a dumb question: I was able to download the oraclelib to the host server, but not able to make the file accessible to the VB for the needed install. Can you help?

Tim... said...

Hi.

Ask the question in th forum, explains what your specific problem is and I will help.

Cheers

Tim...

HD said...

Thx for this informative article. Just one question. How to stop and start this RAC what should be sequence of commands if I have to reboot rac1.localdomain and rac2.localdoamin

what all services to stop/start and in which order.

thank a bunch

Cheers,

Tim... said...

Hi.

Just shutdown the servers (shutdown -h now). The regular shutdown process will take down all the Oracle services cleanly. No extra work is required.

Cheers

Tim...

Venkat said...

Hi Tim,

I have been following many of your articles to enhance my Oracle knowledge .All articles are well documented for anyone to easily understand and follow. Thanks .

Narayan said...

Hi Tim, Is the article for 10gR2 RAC on virtual box no longer accessible? Could you send me the link or PDF file. I would like to do the 10gR2 RAC on virtualbox and upgrade it to 11gR2 RAC with OCR/VD on ASM. Thanks in advance... and your articles taught me a lot on RAC and other features.

Narayan said...

and my email id is nijesh8@gmail.com

Tim... said...

Hi.

All the RAC articles are still live:

http://www.oracle-base.com/articles/rac/articles-rac.php

Cheers

Tim...

rajesh said...

hi,

thanks alot very nice article.

rajes said...

Hi,

How to configure VBoxManage API available on host machine.

Tim... said...

Hi.

Not sure what you mean. If you've installed VirtualBox you have VBoxManage. If you have any specific questions, ask them in my forum please.

Cheers

Tim...

Sharath Ponugoti said...

Tiny missing content..........

Please add Grid Download in Softwares....


Awesome article.........Keep Going....
Really Bestsite

Tim... said...

Sorry. I don't see the problem. I have a link to 11gR2 software, of which Grid Infrastructure is a part... :)

Cheers

Tim...

An admirer said...

Great work!!

Richard said...

Great blog post, thank you very much!

Oracle has changed the RPM name from "oracle-validated" to "oracle-rdbms-server-11gR2-preinstall"

So instead we would execute "yum install oracle-rdbms-server-11gR2-preinstall"

https://blogs.oracle.com/linux/entry/oracle_rdbms_server_11gr2_pre

Regards,
Rich

Tim... said...

Hi.

The package is updated in the OL6 yum repository, but it is still called oracle-validated in the OL5 yum repository. If you look at my OL6 articles you will see I use the new package there.

This is an OL5 article, so I'm using the correct package.

Cheers

Tim...

Richard said...

Ah, Thanks Tim, I hadn't noticed the OL6 article. Thanks for clarifying :-)

Regards,
Rich

Kevin Shidler said...

Thank you so much for this document! It has helped me immensely in getting a RAC environment setup on Virtualbox. I feel like this opens the door for me to perform various amounts of experimentation of RAC features in general. What I love about VMs is you can provision them, and if you mess up (which is the whole point in experimentation), you can throw everything away and start over. Thanks!

Tim... said...

Hi.

Yes. VMs are awesome! :)

Cheers

Tim...

Mladen Gogala said...

With VirtualBox 4.2 there is not --type argument for the creation of the hard disk, it's specified as --mtype argument to the storageattach command.

Tim... said...

Hi.

I believe the article is correct. The article describes the pre-4.0 and post-4.0 methods of creating the shared disks. The post-4.0 method uses -mtype as you describe. I think you followed the wrong section. :)

Cheers

Tim...

John Sung said...

Hello Tim,

One small typo in the Cloning section
In the section beginning
"Edit the "/etc/sysconfig/network-scripts/ifcfg-eth1",...
"
This address
IPADDR=192.168.1.112

should be
IPADDR=192.168.1.102

Otherwise many thanks for the excellent guide!
Thanks
John

Tim... said...

Hi.

Fixed. :)

Cheers

Tim...

vinod said...

I have followed the same steps as you mentioned. But I'm facing some issue while pinging to private ips. even VIPS are not pinging.
I using oracle virtual box version 4.2 on windows 7 enterprise N. I have used the below network configuations:
adapter 1: host only adapter
adaper 2 : internal network adapter

Is there any things needs to configure at host leave (in windows 7 )
.

Tim... said...

Hi.

Typically, this is because you have used the wrong IP addresses or you have not sorted your firewall properly. Ask this question on my forum, posting:

1) The contents of your "/etc/hosts" file.
2) The IP address of your host computer.

Then I'll take a look at it.

Cheers

Tim...

san said...

Its excellent article. appreciated your efforts .
i m trying to configure RAC instalation by following your article .
i installed virtualbox on windows 7 professional(Laptop). and ole6 is guest OS.
bash vboxmanage command not found

plea guide me where i need to run the above command i mean either oel6 or window?

Tim... said...

Hi.

It would be on the host OS, in your case Windows. I never use Windows as the host, so not sure about any issues there.

You can perform all the same actions from the GUI, but it is annoying. Perhaps you should try that??

Cheers

Tim...

Doug Smith said...

Thank you for sharing all this it was very helpful. I did have some trouble and I wanted to share with you what I found. I had both VM's created and took a break,when I restarted the environment it seemed very slow, my hard drive light was on all the time. I assumed my system was undersized or that i was swapping to disk. Turned out the yum update service was running at the same time on both.

Tim... said...

Hi.

The yum background process will not download/install anything. It just checks if updates are available. Even so, it can get a bit heavy on an overstretched systems. I would suggest you start one node, do the update, then start the next node and do it there. :)

Cheers

Tim...

Oscar said...

Hi Tim,

Forgive me if I may have missed something, but I was working through the steps and am up to the part of formatting disks. In the example only four disks were created (asm1-4), but during the formatting example it says there are 5 (sdb-sdf). Just making sure if I missed a step. Cheers

Oscar

Tim... said...

Hi.

Sorry about that. It used to use 5 disks, but I switched it to 4. Obviously some things escaped my attention. I think I've fixed it now. All things should mention only 4 disks.

Cheers

Tim...

Manish said...

Cluvfy PRVF-4657 Name Resolution Fails After CRS Install (Doc ID 887706.1)

INFO: PRVF-4657 : Name resolution setup check for "linux-cluster-scan.oracle.com" (IP address: 175.10.1.116) failed
Solution

1. Change the "hosts" line in '/etc/nsswitch.conf' and put 'dns' in the first place
hosts: dns files

Sidharth said...

hi,
after restarting the Linux each box, which service i have to start?
regards,
Sidharth

Tim... said...

Hi.

None. If your installation went well, everything will start automatically. You just have to be patient on low spec hardware. It can take some time. :)

Cheers

Tim...

Sidharth said...

hi Tim,
and what about the Oracle Enterprise Manager browser page?
that page is not working after restarting the OS.
Regards,
Sidharth M.

Tim... said...

Hi.

That is not controlled by CRS, because it is not really supported in a RAC environment. If you want to start it, do it in the normal way.

$ emctl start dbconsole

Cheers

Tim...

Sidharth said...

To Tim,
Thank you, but i done this. but it's saying
OC4J Configuration issue. /u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_ol5-112-rac2_RAC not found.
before that my EM is opening fine.
when i check the status of this it's saying the same above message.
request you to pl. guide.
Regards,
Sidharth

Tim.., said...

Hi.

Open a thread on my RAC forum and explain what you have tried and on which nodes and I will attempt to help.

I don't like discussing technical issues in the comments.

Cheers

Tim...

Nitin Parab said...

Dear Tim,

Thanks a lot for detailed steps,I managed to create 2 node rac on my mac,I was wondering if you have any document to create standby database for this 2 node RAC?

Regards,
Nitin

Tim... said...

Nitin: Nothing specific. Just the general article here.

http://www.oracle-base.com/articles/11g/data-guard-setup-11gr2.php

Cheers

Tim...

Deep said...

Thanks for great article…
I am stuck at one place…i am getting error INS-32025 The chosen installation conflicts with software already installed in the given Oracle home. ..at screen 5 of 9 in grid infrastructure. i have run .runinstaller two time..becauseat first time i am not able get ssh connectivity successful. after work out on it.

deep said...

CNTN.
but stuck at next step with error INS-32025. i have check all the folders /u01/app/oracle and same for /grid but nothing found there. and i have also try to create new paths like on same location with db_2 and grid1 respectively. and assign permission also. i try to find oracle inventory xml also but not succeed. i am install this with oracle as guest_user.please help me to solve it.

Tim... said...

Hi.

Revert to the snapshot you took before attempting to install the GI.

Cheers

Tim...

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)