We have moved to http://onlineAppsDBA.com kindly check http://onlineAppsDBA.comin future
Oracle RAC Part IV : Install Oracle Clusterware and Cluster Database |
Sunday, July 22, 2007 |
|
This is fourth and last post for installing Oracle RAC Database on single machine using VMWare virtual machines. For previous posts visit
Are you scared of Oracle RAC Database Install Oracle RAC Database I Install Oracle RAC Database Part II Install Oracle RAC Database Part III
In this part we will install oracle clusterware and rac database
Copy Oracle RAC and Oracle Database Software to RAC1
Create a directory software in $HOME and copy clusterware and database zip files downloaded
unzip 10201_clusterware_linux32.zip unzip 10201_database_linux32.zip
This will create directory clusterware (for clusterware software) and database (for database software) Verify all prereq. for clusterware installation ------------------------------------------------------------
cd /home/oracle/softwar/clusterware/cluvfy
Make sure --Second Machine/Node RAC2 is up -- You have configured and changes hostname and network IP of RAC2 -- RAC1 can ping RAC2 and vice versa -- User equivalency is set for user oracle on RAC1 and RAC2 -- You can connect to rac2 from rac1 as user oracle without prompting password and vice versa
./runcluvfy.sh stage –pre crsinst –n rac1,rac2
Make sure Node reachable and User Equivalency is met, rest other checks (related memory) can be ignored
Once RAC1 and RAC2 can ping each other and oracle user can connect to other machine's oracle user without prompting password then start clusterware installation from user oracle.
Change directory to location where you have unzipped clusterware software and start clusterware installation by running runInstaller
./runInstaller


Ignore memory related prereq.

Add second node rac2 by clicking on Add link

Change subnet as per your network configuration as you did while configuring network card.
 Make one public and another private (Private interconnect for clusterware)  Specify ocr location like /apps/oracle/oradata/ocr (or as per your naming convention)
Specify voting disk location like /apps/oracle/oradata/votingdisk (or as per your naming convention)
Click on Install to install clusterware. After clusterware installation, Install Database
Install RAC Database
Go to location where you unzipped database disks ./runInstaller –ignoreSysPrereqs (this is required as our memory is less (below 900MB) required, if your machine spec is higher you can ignore using ignoreSysPrereqs)
 Specify database oracle_home (make this different from clusterware oracle_home installed in previous step)
    Enter database name of your choice Select ASM
 Ignore any warnings and click on OK Define location of ASM as / dev/raw/raw3 and make redundancy as externalClick on Install Why number of voting disks should always be odd number only ? How to troubleshoot RAC database and clusterware issue ? .. Coming in future posts
Labels: database, RAC |
We have moved to kindly check onLineAppsDBA.com in future
|
|
del.icio.us
¦
Digg This
¦
My Yahoo
¦
Reddit
¦
BlinkList
¦
Furl It
¦
Email This
¦
Leave Your Comments
|
posted by Atul Kumar @ 9:33 PM
  |
|
31 Comments: |
-
Add second node rac2 by clicking on Add link,after adding second step i am geting below error. The name rac1 you entered is being used more than once for the same node. can u pls let me know how can solve this problem.
-
On which step of this doc you are facing this issue ?
Did you follow all steps from previous post specially this one
--Now on vmx file of RAC2 “Red Hat Enterprise Linux 3.vmx” change following lines from displayName = "RAC1" to displayName = "RAC2"
-
Oracle RAC Part IV : Install Oracle Clusterware and Cluster Database.
step : Add second node rac2 by clicking on Add link
i am facing my problem here.
-
OK so when you add second node you have to select RAC2 node or second machine and not rac1 as RAC1 is already there
-
while adding second node i am getting this error.
-
while specifying OCR location i am geeting below error. ---------------------------------- the location /apps/oracle/oradata/ocr enteted FOR ocr is not shared across all the nodes in cluster specify shared raw partion oracle cluster file system that visible by the same on all nodes on the cluster.
i have solved my previous problem
can i pls get help on this.
-
You again missed some of step from previous part.
Make sure you can view ocr filesystem/directory from both nodes.
check again that you followed all steps documented.
-
Hi Atul, How do I download the files mentioned and copy them over to my vm???? My internet does not work from my vm (I have a wireless connection)...
Thanks in advance Chris
-
Chris download them to your laptop and burn cd. CD drive should be accessible from virtual machine
-
Hi Atul, can u suggest some possible scenarios to test the RAC
-
Hi Atul,
Atlast my dream comes true by installing RAC, becos of UR great articles in this post.
Can u plz suggest on this,
Customer has a 3 node 10.1 RAC cluster database on RHEL3.0. They want to move to RHEL4.2 with 10.2. Since 4.2 is a brand new install, I am trying to find out whether they need additional servers to do this upgrade OR can they do this: Delete a node from their 3 node RAC and go down to 2 nodes. Yes, the application can run fine with 2 nodes! Build this deleted node as a 1 node RAC with RHEL4.0 and 10.2 from scratch. Set up this new node as a physical standby for the 2 node RAC primary. Then delete the 2nd node from the primary and build it from scratch with RHEL4.2 and Oracle 10.2 and add to the single node standby to make it into 2 node standby. Then do a FAILOVER from the 1 node primary to 2 node standby. Make this 2 node standby as the new primary. Rebuild the old 1 node primary with RHEL4.0 and Oracle 10.2 and add it to this new 2 node primary to make it a 3 node primary. This will take a lot of time, but this will provide us with little downtime. So as you can see the Data Guard is not used for DR purpose. It is used for upgrade purpose. If this is possible, then we don't want to ask the customer to invest in additional servers for the upgrade. Can this be done or am I dreaming?
Regards, Yasser.
-
Yaseer, RH 3 can be upgraded to 4 and there is no need to do fresh install of RH4 . Do let me know why you want to do fresh install
-
Hi Atul,
In our company our Linux admin team have planned to do a fresh install of RH 4 becos of some internal issues present in OS(Due to implement of wrong methods in applying OS patches) hence we(DBA) are facing lot of DB performance issues.....
Can you plz suggest that the above solution mentioned in my last post is possible or not!!!!!! If possible is there any other way to achieve this target with less downtime....
Regards, Yasser.
-
Atul,
Thanks for such an excellent step by step instruction about RAC.
Cluster ware Installation successful on node 1 and when I ran root.sh on node2 , I am getting below error message and CRS is not started on node
Any Hint
Failure at final check of Oracle CRS stack. 10
Note:I used Redhat linux es version 3.0 update 9 and the rpm’s mentioned by you were not installed
rpm –ivh compat-glibc-7.x-2.2.4.32.6.i386.rpm rpm –ivh gnome-libs-1.4.1.2.90-34.2.i386.rpm rpm –ivh sysstat-4.0.7-4.EL3.3.i386.rpm
Is there any relation to this error and non installed rpm’s
-
Try this with all RPM's in place and any other required prereqs.
-
Did anybody get Oracle 10g RAC installed successfully using this detailed guide? I am having raw file permission issues and I found a fix on 2-day RAC on oracle website.
-
Hi Anonymous User, I posted this after configuring RAC on my laptop twice so I think this all works but I would really like to hear what issue you got any how you fixed it to understand in what different way you used this guide . This will help me in improving this document
-
My Linux version: [oracle@rac1 ~]$ uname -r 2.6.9-42.0.0.0.1.EL
Database Version: Oracle 10g 10.2.0.1.0
Same instructions to different people can lead to different results. my root.sh stopped somewhere when installing clusterware. and i found out that /dev/raw/raw? permission has been changed from oracle:oinstall to root:oinstall. So I went to oracle office website for instruction and they said a file /etc/udev/permissions.d/oracle.permission needs to be created.
[oracle@rac1 ~]$ cat /etc/udev/permissions.d/oracle.permissions chmod 666 /dev/raw/raw1 chown root:oinstall /dev/raw/raw2
chmod 666 /dev/raw/raw2 chmod 666 /dev/raw/raw3 chown oracle:oinstall /dev/raw/raw[23]
But for some reason, it still doesn't work so put the scripts to /etc/rc.d/rc.local and I re-install clusterware it is successful (of course I removed some files left by previous installation).
When running root.sh during clusterware installation on rac2, I need to manually run vipca in X to setup the vip interface.
Then I got the online staus when running 'crs_stat -t'. Yeah!!!
Thanks Atul, you really did a good jobs guiding a novice like me to advanced RAC.
-
Hi Anonymous , first of all congrats for successful RAC installation on your PC/Machine/Laptop. Thanks for sharing this information and yes are true, Same instructions to different people can lead to different results (If even small things is skipped, changed, missed or errored out).
Thanks once again for sharing this
-
To clarify, I was using Enterprise Linux 4 Update 4 downloaded from Oracle Official website. But your guide is using Redhat Linux ES3. Probably that is the reason. Thanks.
-
Hi Atul when I add second node rac2 by clicking on Add link,after adding second step i am geting below error. The name rac1 you entered is being used more than once for the same node. can u pls let me know how can solve this problem.
Raf
-
Hi Atul when I add second node rac2 by clicking on Add link,after adding second step i am geting below error. The name rac1 you entered is being used more than once for the same node. can u pls let me know how can solve this problem
-
Hi Atul,
I really appricated your efforts.I am facing a problem when i am insatting clusterware in rhel4 linux.After running the root.sh on both noods
OUI-25031: Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
1. Check the Details panel on the Configuration Assistants Screen to see the errors resulting in the failures. 2. Fix the errors causing these failures. 3. Select the failed assistants and click the 'Retry' button to retry them.
Please suggest..
-
I'm trying to install the a 2 oracle RAC node. the architecture of my Oracle Rac is two database servers and shared disk array. I've successfully installed the clusterware, ASM and RAC on DBServer1. When i installed the clusterware on DBServer2, installation overwrite OCR and Voting Disk files which is located on the shared disk. So do i have to reinstall the oracle clusterware on DBServer1? when i run "olsnode" on DBServer1, it show only one node. When i run "olsnode" on DBServer2, "PRCO-4: OCR initialization failed, PROC-33: Oracle Cluster Registry is not configured Operating System error [No such file or directory] [2]"
Can anyone have idea what's wrong with it? I've been searching the solutions for several days but i can't.
Thanks in advance, Ray
-
Hi Atul, I'm having problems running oui at the configure ASM stage. oui can't see any member disk. This is after entering /dev/raw/raw3.
The install is on Oracle Enterprise Linux R4
Any pointers please?
Ben-UK
-
Hi Atul,
While specifying the cluster configuration, I am facing below error:
You must enter unique values for public node name, the private node name and the virtual hostname for all nodes in the cluster. The name, RAC1, that you entered is being used by more than once for the same node.
I have changed Display name ='RAC2' for second node.
Could you please look into it.
-
Hi Atul,
Could you please let me know, from where can I download Enterprise Linux RPMs?
Thanks.
-
Hi Atul,
Thanks for this article.
many of us facing the same issue as mentioned below. In Step iv
While specifying the cluster configuration, I am facing below error:
You must enter unique values for public node name, the private node name and the virtual hostname for all nodes in the cluster. The name, RAC1, that you entered is being used by more than once for the same node.
I have changed Display name ='RAC2' for second node.
I seen the image 3 in part four & entered exactly the same value but still I am facing the issue.
Thank,
-
hi,
Thanks Atul, i successfully created two rac node.root.sh hangs when installing 10g clusterware(10.2.0.1).
$./orainstRoot.sh Changing permissions of /u01/app/oracle/oraInventory to 770. Changing groupname of /u01/app/oracle/oraInventory to oinstall. The execution of the script is complete
$./root.sh WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root WARNING: directory '/u01/crs/oracle/product' is not owned by root WARNING: directory '/u01/crs/oracle' is not owned by root WARNING: directory '/u01/crs' is not owned by root WARNING: directory '/u01' is not owned by root Checking to see if Oracle CRS stack is already configured /etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root WARNING: directory '/u01/crs/oracle/product' is not owned by root WARNING: directory '/u01/crs/oracle' is not owned by root WARNING: directory '/u01/crs' is not owned by root WARNING: directory '/u01' is not owned by root clscfg: EXISTING configuration version 3 detected. clscfg: version 3 is 10G Release 2. assigning default hostname rac1 for node 1. assigning default hostname rac2 for node 2. Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node 1: rac1 rac1-priv rac1 node 2: rac2 rac2-priv rac2 clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override. -force is destructive and will destroy any previous cluster configuration. Oracle Cluster Registry for cluster has already been initialized Startup will be queued to init within 90 seconds.
Hangs
please help
-
Hi all, even i faced the same issue during the execution of post 4 2nd step i,e; during
step : Add second node rac2 by clicking on Add link
when i gave a new vip address for both rac-1 and rac-2, i cud able 2 resolve the issue. give a new ipaddress for rac1-vip and rac2-vip
-
hi,I follow ur blog and found it really easily to learn RAC,I'm facing one problem during cluster installation
Caught Cluster ExceptionPRKC-1044 : Failed to check remote command on third screen of cluster installation when it ask for nodes hostnames
plzz hlep me to solve this issue
thanx
amit roy
|
|
<< Home |
|
|
|
Add second node rac2 by clicking on Add link,after adding second step i am geting below error.
The name rac1 you entered is being used more than once for the same node.
can u pls let me know how can solve this problem.