Register for Apps DBA Training
For Apps DBA Beginner's
  • Start From Here
  • Order of Apps Study
  • 11i Software
  • Apps Architecture
  • Install Apps 11i
  • Install Apps 11i Part II
  • Startup/Shutdown
  • Request Flow in Apps
  • Various TOP's
  • Cloning Basics
  • Cloning I
  • Cloning II
  • Autoconfig Basics
  • Autoconfig Config File
  • Template Files in Autoconfig
  • Discoverer Overview
  • Workflow Mailer in Apps
  • Printing Overview
  • Configuring Printers
  • Pasta Printing
  • Performance Overview
  • Install 10g Application Server
  • Apps DBA Certification
  • Common DBA Topics
  • Scared of RAC ?
  • Install RAC on your laptop part I
  • Step by Step build RAC part II
  • Step by Step install RAC using VMWare part III
  • Install Oracle RAC Database part IV
  • oraInventory Basics
  • Install Database
  • Upgarde DB to
  • Fusion
  • Is Fusion a conFusion ?
  • Fusion Middleware Overview I
  • Fusion Middleware Overview II
  • Application Integration Architecture
  • SOA Install Part I
  • SOA Install Part II
  • SOA Install Part III
  • Install BPEL Process Manager
  • Apps Integration OID/SSO
  • Management Qs for Apps Integration with SSO/OID
  • 25 things your DBA should know for Apps/SSO integration
  • Identity Management
  • COREid Overview
  • Oracle COREid or Idm & Access Mgmt overview
  • Installing Access Manager 10.1.4
  • WebGate request flow
  • Identity Manager Architecture
  • Installing Identity Manager
  • OAS-SSO Overview
  • OID Overview
  • OID Basics II
  • OID Cluster
  • OID Integration with Other LDAP Servers overview
  • Integrate OID with AD I
  • OID Replication Overview
  • Multi Master OID Replication
  • Migrate OID/SSO to new Host
  • Apps R 12
  • Socket or Servlet in R12
  • Startup/Shutdown Scripts in R12
  • Unified APPL_TOP
  • Apps R 12.0.1
  • Difference between 11i & R12 Technical
  • Prepare for R12 Installation
  • Install VMWare on Windows for Linux Install
  • Install Linux for Apps R12 Install
  • Install Apps R12 on Linux Virtual Machine
  • R12 Upgrade & database
  • R12 Fils System Changes
  • R12 Release Date
  • 10g Application Server
  • 10g AS Overview
  • Installing 10g AS
  • Start/Stop 10g AS
  • Web Cache Basics
  • Single Sign-On Overview
  • OID Overview
  • Cloning 10g AS
  • 10g AS Middle tier Cloning & Overview
  • OID Cluster Imp. Points
  • CPU Patch, Infra Tier
  • CPU Patch, Middle Tier
  • AS Guard / DR Overview
  • Oracle Apps 11i
  • My Site
  • Apps DBA Scripts
  • Apps DBA Interview Q's
  • 11i JVM's
  • Apps Training in India
  • 11i Health Check
  • Good Metalink Notes
  • About Me  
  • For Advanced Apps DBA
  • URL Firewall in DMZ Setup
  • Upgrade Apps to
  • Load Balancer Overview
  • Load Balancer Config
  • HTTP layer Load balancing in Apps 11i
  • Dataguard Overview
  • Configure Dataguard / Standby database
  • Standby Site for Apps 11i
  • How to change Hostname on Apps Instance
  • SSL Overview in Apps
  • Configure SSL to Web Server
  • Key Points for SSL in Apps
  • Reduce Patch Timing
  • Reduce Patch Timing II
  • Shared APPL_TOP Overview
  • Configure Shared APPL_TOP
  • 11i Database Upgrade I
  • 11i Database Upgrade II
  • Change Session TimeOut
  • Patching
  • Apps Patch Basics
  • Apps Patch Basics II
  • Apply Apps Patch
  • CPU Overview
  • Steps to Apply CPU Patch
  • CPU Patch on Infra Tier
  • CPU Patch on AS Middle Tier
  • Troubleshooting
  • Web Server TS Part I
  • Web Server TS Part II
  • CM Troubleshooting
  • 10g Discoverer with Apps
  • Discoverer Bascis in Apps
  • Discoverer 10g Upgarde Basics
  • Discoverer 10g Configuration Steps with 11i
  • Collaboration Suite
  • Collaboration Suite
  • Calendar Overview
  • Sync Calendar from Mobile I
  • Sync Calendar from Mobile II
  • OCS Mail Architecture
  • Apex / HTMLDB
  • Install Apex 2.2
  • Apex with SSO part I
  • Apex with SSO part II
  • SSO Authentication Schemes
  • Certification
  • Possible Certifications for DBA
  • Apps DBA Certification
  • 1Z0-311-OCA-10g OAS Overview
  • 1z0-312-OCP-10g OAS Overview
  • 1z0-312 - Managing Customization and Topology
  • 1z0-312 - Cloning and Staging OAS
  • Apps DBA Jobs
  • Working / Apps DBA in UK
  • Oracle Recruiting Apps DBA's
  • Apps DBA Jobs Updated Regularly
  • Apps Job at Satyam
  • Useful Links
  • Good Metalink Notes
  • petefinnigan's Oracle Security
  • Linux Basics
  • Atul Mehta's Oracle Links
  • Others
  • Apps DBA Training Institute
  • 1 Year Journey of this Blog
  • How To ?
  • Change APPS Password
  • Preserve Customizations
  • Blog Roll
    Apps / E-Business Suite
  • Steven Chan Apps
  • Anil Passi Technical
  • Fadi Apps DBA
  • Senthil Apps DBA
  • Bas Klaassen EBS DBA
  • Sam Apps DBA
  • Black Geek Apps DBA
  • Bandari Apps
  • Vikram ERP Architect
  • OraBiz
  • Eric Core DBA
  • SOA
  • Navdeep Saini Apps DBA
  • tugdualgrall Web Services
  • Mohan Dutt's Apps Certification
  • Nishant Kaushik's IdM
  • Nulli Blog, OAM
  • Identity Musing
  • Identity nd Access Management
    Core DBA
  • Vidya Bala DBA
  • Sabdar DBA
    Data Management
  • Ivan Pellegrin Data Management

  • We have moved to kindly check http://onlineAppsDBA.comin future
    Oracle RAC Part IV : Install Oracle Clusterware and Cluster Database
    Sunday, July 22, 2007
    Register for R12 upgrade
    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


    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

    ./ 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


    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
    ./runInstallerignoreSysPrereqs (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 external

    Click 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: ,

    We have moved to

    kindly check in future

    add to  ¦  digg thisDigg This  ¦  My Yahoo!My Yahoo  ¦  RedditReddit  ¦  add to BlinkListBlinkList   ¦  Furl ItFurl It  ¦  Email This Email This  ¦     Leave Your Comments
    posted by Atul Kumar @ 9:33 PM  
    • At 1:05 PM, Anonymous Anonymous said…

      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.

    • At 1:18 PM, Blogger Atul Kumar said…

      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"

    • At 7:56 AM, Anonymous Anonymous said…

      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.

    • At 8:02 AM, Blogger Atul Kumar said…

      OK so when you add second node you have to select RAC2 node or second machine and not rac1 as RAC1 is already there

    • At 12:23 PM, Anonymous Anonymous said…

      while adding second node i am getting this error.

    • At 9:02 AM, Anonymous Anonymous said…

      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.

    • At 7:09 AM, Blogger Atul Kumar said…

      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.

    • At 1:06 PM, Anonymous Anonymous said…

      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

    • At 7:29 PM, Blogger Atul Kumar said…

      Chris download them to your laptop and burn cd. CD drive should be accessible from virtual machine

    • At 3:48 PM, Anonymous Anonymous said…

      Hi Atul, can u suggest some possible scenarios to test the RAC

    • At 10:34 AM, Blogger yasser said…

      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?


    • At 7:03 PM, Blogger Atul Kumar said…

      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

    • At 5:04 AM, Blogger yasser said…

      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....


    • At 2:50 PM, Anonymous Anonymous said…


      Thanks for such an excellent step by step instruction about RAC.

      Cluster ware Installation successful on node 1 and when I ran 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.

      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-
      rpm –ivh gnome-libs-
      rpm –ivh sysstat-4.0.7-4.EL3.3.i386.rpm

      Is there any relation to this error and non installed rpm’s

    • At 6:16 PM, Blogger Atul Kumar said…

      Try this with all RPM's in place and any other required prereqs.

    • At 7:17 PM, Anonymous Anonymous said…

      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.

    • At 8:23 PM, Blogger Atul Kumar said…

      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

    • At 3:12 AM, Anonymous Anonymous said…

      My Linux version:
      [oracle@rac1 ~]$ uname -r

      Database Version:
      Oracle 10g

      Same instructions to different people can lead to different results. my 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 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.

    • At 7:41 AM, Blogger Atul Kumar said…

      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

    • At 4:20 PM, Anonymous Anonymous said…

      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.

    • At 2:53 PM, Anonymous Anonymous said…

      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.


    • At 9:22 PM, Anonymous Anonymous said…

      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

    • At 12:39 AM, Anonymous Anonymous said…

      Hi Atul,

      I really appricated your efforts.I am facing a problem when i am insatting clusterware in rhel4 linux.After running the 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..

    • At 4:46 AM, Anonymous Anonymous said…

      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,

    • At 4:52 PM, Anonymous Anonymous said…

      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?


    • At 5:44 PM, Anonymous Anonymous said…

      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.

    • At 11:26 PM, Anonymous Anonymous said…

      Hi Atul,

      Could you please let me know, from where can I download Enterprise Linux RPMs?


    • At 7:08 PM, Blogger krisnx said…

      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.


    • At 7:00 AM, Anonymous Anonymous said…


      Thanks Atul,
      i successfully created two rac hangs when installing 10g clusterware(

      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

      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
      Oracle Cluster Registry for cluster has already been initialized
      Startup will be queued to init within 90 seconds.


      please help

    • At 6:18 PM, Anonymous pandu said…

      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

    • At 7:57 PM, Blogger Prince said…

      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


      amit roy

    Post a Comment
    << Home
    About Me

    Name: Atul Kumar
    Home: London, United Kingdom

    About Me: I am Independent Oracle consultant. If you wish to hire me on Contract or to Quote on project basis contact me at
    atul @

    See my complete profile

    View Atul Kumar's profile on LinkedIn

    E-mail Subscription

    Enter your email address:

    Delivered by FeedBurner

    Only search this Blog
  • Advanced Topics
  • Application Server
  • Apex / HTMLDB
  • Apps 11i
  • Apps R12
  • Autoconfig
  • Basics
  • Certification
  • Cloning
  • Discoverer
  • Fusion
  • OID
  • Patching
  • Printer
  • Single Sign-On
  • Useful Sites & Forum
  • Previous Post
    Add On

    Add to Technorati Favorites



    Add to Google


    Add to My AOL


    Subscribe in Bloglines


    Subscribe in NewsGator Online

    Powered by

    Hits Since 30, Jul 06

    Blog Counter

    Technology Blogs - Blog Top Sites
    Copyright © 2006 All rights reserved Presented by Atul Kumar