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 10.2.0.1
  • Upgarde DB to 10.2.0.2
  • 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 11.5.10.2
  • 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
    IdM
  • 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 http://onlineAppsDBA.com kindly check http://onlineAppsDBA.comin future
    Building Oracle RAC Part II , Install virtual disk and network card
    Thursday, July 12, 2007
    Register for R12 upgrade
    This is Part II of Step by Step RAC configuration on your laptop/desktop without investing anything extra on hardware (Free) using virtual server, virtual hard disk and virtual network cards.

    For first two posts visit
    Try installing Orcale RAC on your laptop
    RAC Part I - Install Virtual Machine and Linux

    In this Part II, We will install required linux operating package for clusterware & database, additional hard disk (voting disk, ocr and ASM), network card for interconnect and configure newly added hard disk and network card.

    Install rpm’s
    ------------------------

    Install following rpm’s (These rpm’s are in Red Hat ES CD’s or download them from rhn.redhat.com ) and install them using root account

    (compat-glibc-7.x-2.2.4.32.6.i386.rpm, gnome-libs-1.4.1.2.90-34.2.i386.rpm, sysstat-4.0.7-4.EL3.3.i386.rpm )

    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


    Create Shared Disk on Virtual Machine for Cluster Registry, Voting Disk and ASM
    ------------------------------------------------------------
    --Shutdown linux machine RAC1 (installed in part I) as “shutdown now” (from root user)
    --Create folder “shared” in location “c:\atul\VMWARE” (or any other location of your choice)
    --From VM Ware Console Press Ctrl + D to see Virtual Machine Settings

    Or from screen




    Click on Edit Virtual Machine Setting


    Click on Add



    Click on Next


    Select Hard Disk as shown here and click Next



    Select Create a New Virtual Disk and click Next





    Select SCSI and click Next




    Select 5.0 GB for voting disk and 5.0 GB for ocr (add second disk of 5 GB for ocr using same method) and 8 GB for asm (add third disk of 8 GB for ASM using same method)






    Enter location and disk file name in folder shared created above.
    Note* Select votingDisk for disk one created , ocr for second disk created and asm for third disk created . This name doesn't matter and this is for our understanding only.
    Click Finish








    Repeat above step of adding disk for ocr and asm. Finally you should see Hard Disk 2,3,4
    Hard Disk 2 : for votingDisk (5 GB)
    Hard Disk 3 : for ocr (5 GB)
    Hard Disk 4 : for ASM (8GB)

    This completes addition of hard disk (How to configure and share these hard disks coming next ..)


    Adding Network Card for Interconnect
    ----------------------------
    Next step is to create network card, there is already an existing network card which is used as public connection for connecting to this machine and database isnatance on this machine and new card will be used oracle clusterware as private inerconnect between two nodes of RAC i.e. RAC1 and RAC2. This private interconnect is used for clusterware talking to all remote nodes in cluster.
    From VMWare Console press Ctrl + D













    Select Ethernet Adapter this time and click Next











    Select Bridged and click Finish





    Now Start your linux Virtual Machine

    On start of linux Virtual Machine you linux machine will detect newly added network card which you can configure now (at boot time only) or you can configure later as well.




    Press Any Key to enter into setup part of network card






    Select Configure and click enetr or you can configure it later as well






    Enter following details
    IP Address -----------------192.168.0.101
    Netmask ------------------- 255.255.255.0
    Default Gateway --------- 192.168.0.254
    Primary Nameserver ---- 192.168.0.1




    and select OK and press enter




    Login as Root User when prompted to login
    Above we configured newly added network card eth1 (used for interconnect).
    With below method we will configure original network card (for public connection)




    Syetem Setting -> Network






    select eth0 and click Edit









    Add entry like
    ----------------------
    Address 192.168.1.101
    Subnet Mask 255.255.255.0
    Default Gateway Address 192.168.0.254



    Click OK and activate this netowrk card


    Activate eth0 by clicking on Activate button










    Click on Yes, when prompted to save network configuration





    Now you should see both network card eth0 and eth1 as Active








    ifconfig , from root should show you result as shown in screenshot








    Format and Configure Virtual disks (voting disk, ocr and asm )
    ----------------------------------------------------

    In this step We will format and configure Virtual Disks created above.

    From user root

    fdisk –l (This is to see list of disks, You will see entry like /dev/sdb, /dev/sdc, /dev/sdd doesn’t contain valid partition table)


    fdisk /dev/sdb (Means we are dealing with /dev/sdb)
    n (Create new disk)
    p (Of type primary partition)
    1 (First Cylinder)
    Enter (carriage return)
    Enter (carriage return)
    w (Save table to disk and exit)

    (For more information check man fdisk or below screenshot)
    Repeat above step for /dev/sdc and /dev/sdd























    So now fdisk –l you should details of /dev/sdb, dev/sdc, dev/sdd
    --Add These disks as raw devices in file /etc/sysconfig/rawdevices as
    /dev/raw/raw1 /dev/sdb1
    /dev/raw/raw2 /dev/sdc1
    /dev/raw/raw3 /dev/sdd1
    --Restart rawdevices service as service rawdevices restart










    Create directory /apps/oracle/oradata (For storing voting disk, ocr and ASM) as

    mkdir –p /apps/oracle/oradata (From Root Account)

    -->Create symbolic link pointing to these raw devices so that we know which one is for what (Optional)

    ln –s /dev/raw/raw1 /apps/oracle/oradata/ocr
    ln –s /dev/raw/raw2 /apps/oracle/oradata/votingdisk
    ln –s /dev/raw/raw3 /apps/oracle/oradata/asm
    --Change ownership of these directories to oracle:oracle
    chown oracle:oracle /dev/raw/raw1
    chown oracle:oracle /dev/raw/raw2
    chown oracle:oracle /dev/raw/raw3


    Shutdown this machine as this is now ready to clone and to create RAC2 machine.
    Coming Next
    -Cloning RAC1 to RAC2
    -Changing RAC2 network and hostname details
    -Configuring user equivalency
    -Installing clusterware 10.2.0.1
    -Installing Oracle rac database 10.2.0.1
    -Tips and Tricks of troubleshooting Oracle RAC Database and clusterware.....

    Labels: ,


    We have moved to

    http://onlineAppsDBA.com

    kindly check onLineAppsDBA.com in future

    add to del.icio.usdel.icio.us  ¦  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 @ 11:52 PM  
    21 Comments:
    • At 11:30 AM, Blogger fhasweh said…

      nice post keep them up
      fadi

       
    • At 11:58 AM, Blogger Atul Kumar said…

      Thanks Fadi.

       
    • At 12:36 AM, Blogger Unknown said…

      Atul,
      I accidently stumbled upon your blog and I was stunned to see the amount of clarity and simplicity you put in your posts.

      Kudos to you for making a complex thing as RAC sound so easy with your screenshots and instructions.

      Keep up the good work.

       
    • At 12:45 AM, Blogger Atul Kumar said…

      Hi Alok,
      Thanks for such a Nice compliment :)

       
    • At 6:46 AM, Blogger Babu said…

      Hi kumar,

      nice post, i'm learn new thinks.. If possible vmware config. in suse linux 9.3

      babu

       
    • At 10:29 AM, Blogger Atul Kumar said…

      Hi Babu, Follow same steps in suse 9 and update here if you hit some issues

       
    • At 12:18 PM, Blogger Vamsi Chikkam said…

      Hi Atul,

      First I would I like to thanks for the excellent post.

      I m following up with your blog and learning lot of things.

      I m using RHAS3 instead of Red Hat Linux ES 3. Found following 3 rpm are dependencies for 3 rpm files mentioned in the post:

      1) gnome-libs-1.4.1.2.90-34.1.i386.rpm
      2) libpng10-1.0.13-8.i386.rpm
      3) ORBit-0.5.17-10.4.i386.rpm


      Vamsi Chikkam

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

      Hi Vamasi ,
      Thanks for sharing this information with readers. If you install package list as mentioned in RedHat install in previous doc these rpm's will authomatically be installed

       
    • At 8:15 AM, Anonymous Anonymous said…

      Hi,

      Is it mandatory to go with SCSI? or can we create hard disks for votingdisk,ocr using IDE.I am trying to configure RAC on VM. but got stuked here.

      Thanks,
      appsdba

       
    • At 9:50 AM, Blogger Atul Kumar said…

      SCSI is not requirement you can try with IDE as well but I SCSI is recommended.

       
    • At 7:12 PM, Anonymous Anonymous said…

      Actually you don't need the voting disk to be 5GB, do you? 512M is enough?

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

      Yes this is right that we don't need voting disk of 5 GB and 250 MB is enough. Extra Hard disk if you need more voting disk but still I think 5 GB is too much may be 1 GB is more than enough

       
    • At 9:04 PM, Anonymous Anonymous said…

      Thanks for you prompt reply. It is like get authorization from the guru. will use 250MB for my implementation.

       
    • At 5:53 PM, Anonymous Anonymous said…

      Hi Atual,

      I am trying to install 10gR2c on my laptop using VMware.
      But I always stuk in last while installing clusterware.
      When I run root.sh . It showd me " Failure to upgrade Oracle Cluster registry ......"

      I tried to check on internet but didn't get any help regarding that.
      please help me

      Further please let me know is 1Gm ram is enough for installation or not.

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

      This comment has been removed by the author.

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

    • At 10:06 AM, Anonymous Anonymous said…

      hi atul ,

      great job dear , actually i m working with solaris 9 os platform . can i use same step for solaris 9 os . please comment .
      Thanks
      sameer

       
    • At 1:06 AM, Anonymous Anonymous said…

      Atul,
      This is great work. I do have question. I tries to create 4 hard drives for linux os, ocr, voting disk and asm. I created them as IDE not scsi. The last one created as scsi and I couldn’t partition it because I couldn’t see it when I use fdisk –l. any idea. Thanks again

       
    • At 12:16 PM, Anonymous Anonymous said…

      Hi Atul,

      Really a nice work to spread knowledge.

      As I am going with above installation.. I got a problem, that when I tried to edit the settings of virtual machine.. I clicked on memory option.. But unfortunately button to "Add" is not enabled :(

      Any Idea about this??

      Abhishek

       
    • At 7:13 PM, Anonymous Anonymous said…

      i don't know what to say to u
      Atul Kumar ,just continue and keep
      impress us with your nice tutorial

      Zero

       
    • At 6:14 PM, Blogger SATISH.G.S said…

      Hi Atul,

      Configure Virtual Shared Storage
      ________________________________

      During my first Linux boot process , the O/S detect the new SCSI adaptor When prompted,i hit a key to continue.
      This will bring up the [Hardware Added] screen for the LSI Logic Ultra320 SCSI adaptor.
      and i selected the [Configure] button to register the new SCSI adaptor.

      But when i rebooted both of my virtual hosts(vmlinux1 and vmlinux2) for the second time, it is not asking me to configure.

      My question:

      Configuration is a one time task or need to be carried for all the reboots?

      Thanks and Regards,
      Satish.G.S

       
    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 @ onlineappsdba.com

    See my complete profile

    View Atul Kumar's profile on LinkedIn

    E-mail Subscription

    Enter your email address:

    Delivered by FeedBurner

    Search
    Only search this Blog
    Categories
  • 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
    Archives
    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
    Comments
    ADs
    Copyright © 2006 teachmeoracle.com All rights reserved Presented by Atul Kumar