oracle 10gr2 rac installation in redhat 5 linux using vmware

Upload: holisaliberoit

Post on 07-Jul-2018

276 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    1/36

    Home About Me Useful Queries Useful Scripts Disclaimer

    F R I DA Y , MA R C H 26 , 2 0 1 0

    Oracle 10gR2 RAC Installation in Linux 5, RHEL5

    using VMware Server2

    Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware.

    Important points to install 10gR2 oracle RAC in linux5.

    1.LINUX 5(Redhat 5) doesn't have /etc/sysconfig/rawdevices file. so

    e have to configure it.2. Edit the /etc/redhat-release version to redhat-4 and and to invoke

    the runInstaller  use the command

    $runInstaller -ignoreSysPrereqs. //this will bypass the os check //

    3. Next during clusterware installation at the end of root.sh in node

    2 end with error message.So we have adjust the parameters in vipca

    and srvctl files.

    4. vipca will fail to run. so we have to adjust some parameters and

    configure it manually.

    rest of things are similar like RAC 11gR1 installation in linux5 using

    VMware.

     please refer the documentation installing oracle 11gR1 RAC in LINUX5

    using vmware. if you have any doubts in my installation steps.

    11gR1RACInstallationOnOEL5UsingVMwareServer2

    10gR2 RAC Installation in RHEL4 using VMware

    step 1: vmware installation

    step 2: guest 0S (LINUX 5) INSTALLATION.

    step 3: pre installation steps for installing clusterware.step 4: Install Vmware tools

    all documents have been

    done in my testing

    environment. If you find

    any mistakes, please

    inform me to rectify my

    mistakes. Thanks for

    reading my blog post and

    your appreciation.

    RajeshkumarGovindarajan.

    "knowing is knowledge" 

    R A J E S H K U M A R . B . E

    ( C O M P U T E R S C I E N C E )

    "Do something (anything).

    If you don't do anything,

    you won't get anywhere.

    Make it your hobby, not achore, but above all have

    fun!"

    10g RAC Certified Expert

    O R A C L E D B A

    H A P P I N E S S I S R E A L W H E N

    S H A R E D

    In sweet memories of my ever loving brother "kutty thambi " ARUN KUMAR 

    Pagina 1 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    2/36

    step 5: creating  shared storage.

    step 6: clone virtual machine.

    step 7: Installing clusterware.

    step 8: Installing oracle software.

    Step 1.for vmware installation refer below link to install.

    vmware_server_installation

    Step 2.Guest Operating system installation: Redhat 5 Linux .

    Oracle 9i, 10g DBA

    Certified Professional

    G O O G L E B L O G S E A R C H

    Search

    powered by

    A R C H I V E S

    ► 2011 (6)

    ▼  2010 (46)

    ► November (1)

    ► October (3)

    ► September (2)

    ► August (12)

    ► July (10)

    ► June (1)

    ► May (7)► April (1)

    ▼  March (2)

    Why should we apply

    10.2.0.4 patch

    set?

    Oracle 10gR2 RAC

    Installation in

    Linux 5, RHEL5

    u...

    ► January (7)

    ► 2009 (58)

    Pagina 2 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    3/36

    defeat the defeat before

    defeat defeats you.

    “Give a man a fish and

    you feed him for a day.

    Teach a

    man to fish and you feed

    him for a lifetime.”

    Pagina 3 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    4/36

    R E C E N T P O S T S

    Physical StandbyDatabase forRead/Write Testing andReporting and revert

    back to the physicalstandby database using

    flashback restore point.

    Duplicate a databasewithout connecting to atarget database and arecovery catalog (11gR2New Features)

    RMAN TablespacePoint-in-Time Recovery(TSPITR) 11gR2

    EnhancementsRMAN cloning inarchive log mode

    ORA-01591: lock held

    P O P U L A R P O S T S

    acle 10gR2 RAC Installation

    in Linux 5, RHEL5 using

    VMware Server2

    UMP, UDUMP, ALERT LOG

    FILES IN ORACLE 11G

    A-00283: ORA-00314: ORA-

    00312: Error and solution

    nfiguration of 10g Data

    Guard Broker and Observer

    for Switchover

    cover a Dropped or

    Deleted Table Using RMAN

    Backup

    nverting Single instance to

    RAC instance Database

    Using DBCA

    SAUX datafile or

    tablespace corrupted orlost no backup available

    Pagina 4 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    5/36

    p by Step, document for

    creating Physical Standby

    Database, 10g DATA

    GUARD

    S-0215: Could not start

    resource

    'ora.rac2.LISTENER_RAC2.l

    snr'.

    mplete Recovery With

    RMAN Backup.

    S U B S C R I B E V I A E M A I L

    Subscribe to oracle dba byEmail

    F O L L O W E R S

    Join this site

    with Google Friend Connect

    Members (29)

    H E L P C H I L D R E N A N D

    O R P H A N S

    Pagina 5 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    6/36

    note: create tmp and swap with enough space. 

    Continue through the OEL 5 installation as you would for a normal

    server. A general pictorial guide to the installation can be found here.

    More specifically, it should be a server installation with a minimum of

    2G swap, firewall and SELinux disabled and the following package

    groups installed:

    GNOME Desktop Environment•

    Editors•

    Graphical Internet•

    Text-based Internet•

    Development Libraries•

    Development Tools•

    Server Configuration Tools•

    Administration Tools•

    Base•

    System Tools•

    X Window System•

    To be consistent with the rest of the article, the following information

    should be set during the installation:

    hostname: rac1.localdomain•IP Address eth0: 192.168.1.121 (public address)•

    Default Gateway eth0: 192.168.1.102•

    IP Address eth1: 192.168.2.131 (private address)•

    Default Gateway eth1: none•

    You are free to change the IP addresses to suit your network, but

    remember to stay consistent with those adjustments throughout the

    rest of the article.

    Once the basic installation is complete, install the following packageswhilst logged in as the root user.

    L A B E L S

    concepts9I 10gconcepts RACCONCEPTS rman

    CLUSTERWAREdataguard concepts11gCloning Installation OCR

    creationDatabase

    and MigrationUpgradation

    Pagina 6 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    7/36

    # FromEnt er pr i se Li nux 5 Di sk 1

    cd / medi a/ cdrom/ Ser verr pm - Uvh bi nut i l s- 2. *

    rpm- Uvh el f ut i l s- l i bel f - 0. *

    r pm - Uvh gl i bc- 2. *

    r pm - Uvh gl i bc- common- 2. *

    r pm - Uvh l i bai o- 0. *r pm - Uvh l i bgcc- 4. *

    r pm - Uvh l i bst dc++- 4. *

    r pm - Uvh make- 3. *

    cd /

    ej ect

    # FromEnt er pr i se Li nux 5 Di sk 2

    cd / medi a/ cdrom/ Ser ver

    r pm - Uvh compat - l i bst dc++- 33*

    rpm- Uvh el f ut i l s - l i bel f - devel - *

    r pm - Uvh gl i bc- header s*

    r pm - Uvh gl i bc- devel - 2. *r pm - Uvh l i bgomp*

    r pm - Uvh gcc- 4. *

    r pm - Uvh gcc- c++- 4. *

    r pm - Uvh l i bai o- devel - 0. *r pm - Uvh l i bst dc++- devel - 4. *

    r pm- Uvh uni xODBC- 2. *

    r pm - Uvh uni xODBC- devel - 2. *

    cd /

    ej ect

    # FromEnt er pr i se Li nux 5 Di sk 3

    cd / medi a/ cdrom/ Ser verr pm - Uvh sysst at - 7. *

    cd /

    ej ect

    if you have any doubts in installing 10g in linux please refer below link:

    10g inst a l la t ion in l inux5 

    3. Pre Installation steps for installing clusterware and oracle

    software.

    Oracle Installation Prerequisites

    Perform the following steps whilst logged into the RAC1 virtual machine

    as the root user.

    The /etc/hosts file must contain the following information.

    127.0.0.1 

    localhost.localdomain 

    localhost

     

    # Public

    192.168.1.121  rac1.localdomain  rac1

    192.168.1.122 

    rac2.localdomain 

    rac2

    #Private192.168.2.131

     

    rac1-priv.localdomain 

    rac1-priv

    192.168.2.132  rac2-priv.localdomain  rac2-priv

    Pagina 7 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    8/36

    #Virtual

    192.168.1.111 

    rac1-vip.localdomain 

    rac1-vip

    192.168.1.112  rac2-vip.localdomain  rac2-vip

    Add the following lines to the /etc/sysctl.conf file.

     

    kernel.shmmni = 4096

      # semaphores: semmsl, semmns, semopm, semmni

      kernel.sem = 250 32000 100 128

    net.ipv4.ip_local_port_range = 1024 65000

    net.core.rmem_default=4194304

    net.core.rmem_max=4194304

    net.core.wmem_default=262144

    net.core.wmem_max=262144

    Run the following command to change the current kernel parameters.

      /sbin/sysctl -p

    Add the following lines to the /etc/security/limits.conf file.

    oracle  soft  nproc  2047

    oracle  hard  nproc  16384

    oracle  soft  nofile  1024

    oracle 

    hard 

    nofile 

    65536

    Add the following lines to the /etc/pam.d/login file, if it does not

    already exist.

    session 

    required 

    pam_limits.so

    Disable secure linux by editing the /etc/selinux/config file, making sure

    the SELINUX flag is set as follows.

    SELINUX=disabled

    Create the new groups and users.

     

    groupadd oinstall

      groupadd dba

    groupadd oper

      groupadd asmadmin

     

    useradd -u 500 -g oinstall -G dba,oper,asmadmin oracle

     

    passwd oracle

    Create the directories in which the Oracle software will be installed.

    Pagina 8 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    9/36

     

    mkdir -p /u01/crs/oracle/product/10.2..0/crs

      mkdir -p /u01/app/oracle/product/10.2.0/db_1

      chown -R oracle:oinstall /u01

    Edit the /etc/redhat-release file replacing the current release

    information (Red Hat Enterprise Linux Server release 5) with the

    following:

    redhat-4

    eg:

    [root@rac1 ~]# vi /etc/redhat-release

    redhat-4

    Login as the oracle user and add the following lines at the end of

    the .bash_profile file.

      # Oracle Settings

     

    TMP=/tmp; export TMP

      TMPDIR=$TMP; export TMPDIR

    ORACLE_HOSTNAME=rac1.localdomain; export ORACLE_HOSTNAME

    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE

    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export

    ORACLE_HOME

    ORACLE_TERM=xterm; export ORACLE_TERM

    PATH=/usr/sbin:$PATH; export PATH

    PATH=$ORACLE_HOME/bin:$PATH; export PATH

    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export

    LD_LIBRARY_PATH

    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/

    rdbms/jlib; export CLASSPATH

     

    if [ $USER = "oracle" ]; thenif [ $SHELL = "/bin/ksh" ]; then

    ulimit -p 16384

    ulimit -n 65536

    else

    ulimit -u 16384 -n 65536

    fi

    fi

    The packages listed in this section (or later versions) are required

    for Oracle Clusterware 10g Release 2 and Oracle RAC 10g Release 2

    running on the Oracle Enterprise Linux 5 platform.

    Pagina 9 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMware...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    10/36

    32-bit (x86) Installations

      * binutils-2.17.50.0.6-2.el5

      * compat-libstdc++-296-2.96-138

      * compat-libstdc++-33-3.2.3-61

     

    * elfutils-libelf-0.125-3.el5

     

    * elfutils-libelf-devel-0.125

      * gcc-4.1.1-52

      * gcc-c++-4.1.1-52

      * glibc-2.5-12

     

    * glibc-common-2.5-12

     

    * glibc-devel-2.5-12

      * glibc-headers-2.5-12

      * libaio-0.3.106

      * libaio-devel-0.3.106

     

    * libgcc-4.1.1-52  * libstdc++-4.1.1

      * libstdc++-devel-4.1.1-52.e15

      * libXp-1.0.0-8

     

    * make-3.81-1.1

     

    * openmotif-2.2.3

      * sysstat-7.0.0

      * unixODBC-2.2.11

      * unixODBC-devel-2.2.11

    Step 4: Installing VMware tools

    Login as the root user on the RAC1 virtual machine, then select the

    "Install VMware Tools" as shown in below picture.

    Pagina 10 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    11/36

    Once the package is loaded, the CD should unmount automatically.

    You must then run the "vmware-config-tools.pl" script as the root

    user.

    # vmware-config-tools.pl

    Accept all the default settings and pick the screen resolution of your

    choice. Ignore any warnings or errors. The VMware client tools are

    now installed. Reboot the server before proceeding. After the reboot,

    it is possible the monitor will not be recognised. If this is the case

    don't panic. Follow the instructions provided on the screen and

    reconfigure the monitor setting, which will allow the XServer to

    function correctly.

    Shut down the RAC1 virtual machine using the following command.

    # shutdown -h now

    Step 5: CREATE SHARED STORAGE DISKS

    Pagina 11 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    12/36

    creating a shared storage disks

    ocr 

    votingdisk

    asm1

    asm2

    asm3

    here is a steps to create a ocr disk of size 1GB. follow the same steps to

    create voting disk and asm disks.

    select add hardware button and then select HARD DISK.

    Click browse button to select the shared storage disk.

    create a folder shared for storage storage and select shared and type

    ocr.

    Pagina 12 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    13/36

    select allocate all disk button.

    its very important to select Independent persistent

    select virtual device mode scsi1

    select optimize for performance

    Pagina 13 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    14/36

    and then click finish after than you can see the new added hard disk

    ith size 1 gb and its properties.

    Repeat the previous hard disk creation steps 4 more times, using the

    following values:

    File Name: votingdiskVirtual Device Node: SCSI 1:1

    Mode: Independent and Persistent

    File Name: asm1

    Virtual Device Node: SCSI 1:2

    Mode: Independent and Persistent

    File Name: asm2

    Virtual Device Node: SCSI 1:3

    Mode: Independent and Persistent

    File Name: asm3

    Virtual Device Node: SCSI 1:4

    Mode: Independent and Persistent

    At the end of this process, the virtual machine should look something

    like the picture below.

    Edit the contents of the "/u01/VM/RAC1/RAC1.vmx" file using a text

    editor, making sure the following entries are present. Some of the tries

    will already be present, some will not.

    di sk. l ocki ng = "FALSE"

    di skLi b. dat aCacheMaxSi ze = "0"

    di skLi b. dat aCacheMaxReadAheadSi ze = "0"

    di skLi b. dat aCacheMi nReadAheadSi ze = "0"

    di skLi b. dat aCachePageSi ze = "4096"

    di skLi b. maxUnsyncedWr i t es = "0"

    scsi 1. pr esent = "TRUE"

    scsi 1. vi r t ual Dev = "l s i l ogi c"

    scs i 1. shar edBus = "VI RTUAL"

    scsi 1: 0. pr esent = "TRUE"

    scsi 1: 0. mode = " i ndependent - per si st ent "

    scsi 1: 0. f i l eName = " / u01/ VM/ shar ed/ ocr . vmdk"

    scsi 1: 0. devi ceType = "pl ai nDi sk"

    scsi 1: 0. r edo = ""

    scsi 1: 1. pr esent = "TRUE"scsi 1: 1. mode = " i ndependent - per si st ent "

    scsi 1: 1. f i l eName = " / u01/ VM/ shar ed/ vot i ngdi sk. vmd

    k"

    Pagina 14 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    15/36

    scsi 1: 1. devi ceType = "pl ai nDi sk"

    scsi 1: 1. r edo = " "

    scsi 1: 2. pr esent = "TRUE"

    scsi 1: 2. mode = " i ndependent - per si st ent "

    scs i 1: 2. f i l eName = " / u01/ VM/ shar ed/ asm1. vmdk"

    scsi 1: 2. devi ceType = "pl ai nDi sk"

    scsi 1: 2. r edo = " "

    scsi 1: 3. pr esent = "TRUE"

    scsi 1: 3. mode = " i ndependent - per si st ent "

    scs i 1: 3. f i l eName = " / u01/ VM/ shar ed/ asm2. vmdk"

    scsi 1: 3. devi ceType = "pl ai nDi sk"scsi 1: 3. r edo = " "

    scsi 1: 4. pr esent = "TRUE"

    scsi 1: 4. mode = " i ndependent - per si st ent "

    scs i 1: 4. f i l eName = " / u01/ VM/ shar ed/ asm3. vmdk"scsi 1: 4. devi ceType = "pl ai nDi sk"

    scsi 1: 4. r edo = " "

    Start the RAC1 virtual machine by clicking the "Power on this virtual

    machine" button on the VMware Server Console. When the server has

    started, log in as the root user so you can partition the disks. The

    current disks can be seen by issueing the following commands.

    # cd / dev# l s sd*

    sda sda1 sda2 sdb sdc sdd sde sdf 

    #

    Use the "fdisk" command to partition the disks sdb to sdf. The following

    output shows the expected fdisk output for the sdb disk.

    # f di sk / dev/ sdb

    Devi ce cont ai ns nei t her a val i d DOS par t i t i on t ab

    l e, nor Sun, SGI or OSF di skl abel

    Bui l di ng a new DOS di skl abel . Changes wi l l r emai ni n memor y onl y,

    unt i l you deci de to wr i t e t hem. Af t er t hat , of co

    ur se, t he pr evi ous

    cont ent won' t be r ecover abl e.

     The number of cyl i nder s f or t hi s di sk i s set t o 1

    305.

     Ther e i s nothi ng wr ong wi t h t hat , but t hi s i s l ar

    ger t han 1024,

    and coul d i n cer t ai n set ups cause pr obl ems wi t h:1) sof t war e t hat r uns at boot t i me ( e. g. , ol d ver

    si ons of LI LO)

    2) boot i ng and par t i t i oni ng sof t war e f r om ot her O

    Ss

    ( e. g. , DOS FDI SK, OS/ 2 FDI SK)

    War ni ng: i nval i d f l ag 0x0000 of par t i t i on t abl e 4wi l l be cor r ect ed by w( r i t e)

    Pagina 15 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    16/36

    Command ( m f or hel p) : n

    Command act i one extended

    p pr i mar y par t i t i on ( 1- 4)

    p

    Par t i t i on number ( 1- 4) : 1

    Fi r st cyl i nder ( 1- 1305, def aul t 1) :

    Usi ng def aul t val ue 1Last cyl i nder or +si ze or +si zeM or +si zeK ( 1- 130

    5, def aul t 1305) :

    Usi ng def aul t val ue 1305

    Command ( m f or hel p) : p

    Di sk / dev/ sdb: 10. 7 GB, 10737418240 byt es

    255 heads, 63 sectors / t r ack, 1305 cyl i nder s

    Uni t s = cyl i nder s of 16065 * 512 = 8225280 byt es

    Devi ce Boot St art End Bl ocks

    I d System/ dev/ sdb1 1 1305 10482381

    83 Li nux

    Command ( m f or hel p) : w

     The par t i t i on t abl e has been al t er ed!

    Cal l i ng i octl ( ) t o r e- r ead par t i t i on t abl e.

    Synci ng di sks.

    #

    In each case, the sequence of answers is "n", "p", "1", "Return", "Return",

    "p" and "w".

    Once all the disks are partitioned, the results can be seen by repeating

    the previous "ls" command.

    # cd / dev# l s sd*

    sda sda1 sda2 sdb sdb1 sdc sdc1 sdd sdd1

    sde sde1 sdf sdf 1

    #

    /etc/sysconfig/rawdevices file is not available in the Linux 5 OS. SO

    e have to create a below file.

    [root@rac1 ~]# vi /etc/udev/rules.d/63-oracle-

    raw.rules 

    ACTION=="add", KERNEL=="sdb1", RUN+="/bin/raw /dev/raw/raw1 %

    N" 

    ACTION=="add", KERNEL=="sdc1", RUN+="/bin/raw /dev/raw/raw2 %

    N" 

    ACTION=="add", KERNEL=="sdd1", RUN+="/bin/raw /dev/raw/raw3 %

    N" 

    ACTION=="add", KERNEL=="sde1", RUN+="/bin/raw /dev/raw/raw4 %

    Pagina 16 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    17/36

    N" 

    ACTION=="add", KERNEL=="sdf1", RUN+="/bin/raw /dev/raw/raw5 %

    N" 

    KERNEL=="raw[1]*", OWNER="root", GROUP="oinstall",

    MODE="640" 

    KERNEL=="raw[2-5]*", OWNER="oracle", GROUP="oinstall",

    MODE="644" 

    [root@rac1 ~]

    # /bin/raw /dev/raw/raw1 /dev/sdb1 

    /dev/raw/raw1:  bound to major 8, minor

    17 

    [root@rac1 ~]# /bin/raw /dev/raw/raw2 /dev/sdc1

    /dev/raw/raw2:  bound to major 8, minor

    33 

    [root@rac1 ~]

    # /bin/raw /dev/raw/raw3 /dev/sdd1 

    /dev/raw/raw3:  bound to major 8, minor

    49 

    [root@rac1 ~]

    # /bin/raw /dev/raw/raw4 /dev/sde1 

    /dev/raw/raw4:  bound to major 8, minor

    65 

    [root@rac1 ~]

    # /bin/raw /dev/raw/raw5 /dev/sdf1 

    /dev/raw/raw5:  bound to major 8, minor

    81 

    [root@rac1 ~]# chown

    root:oinstall /dev/raw/raw1 

    [root@rac1 ~]# chown

    oracle:oinstall /dev/raw/raw2 

    [root@rac1 ~]# chown

    oracle:oinstall /dev/raw/raw3 

    [root@rac1 ~]# chown

    oracle:oinstall /dev/raw/raw4 

    [root@rac1 ~]# chown

    oracle:oinstall /dev/raw/raw5 

    [root@rac1 ~]# chmod

    640 /dev/raw/raw1 

    [root@rac1 ~]# chmod

    Pagina 17 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    18/36

    640 /dev/raw/raw2 

    [root@rac1 ~]# chmod

    640 /dev/raw/raw3 

    [root@rac1 ~]# chmod

    640 /dev/raw/raw4 

    [root@rac1 ~]# chmod

    640 /dev/raw/raw5 

    Step 6: CLONE THE VIRTUAL MACHINE

    The current version of VMware Server does not include an option to

    clone a virtual machine, but the following steps illustrate how this can

    be achieved manually.

    Shut down the RAC1 virtual machine using the following command.

    # shutdown - h now

    Copy the RAC1 virtual machine using the following command.

    # cp - R RAC1 RAC2

    Edit the contents of the "/u01/VM/RAC2/RAC1.vmx" file, making the

    following change.

    di spl ayName = "RAC2"

     And then follow the steps as below:

    Pagina 18 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    19/36

     Edit the hostname to rac2.localdomain

    #vi /etc/sysconfig/network

    and

    #hostname rac2.localdomain 

    #vi /etc/hosts 

    check the public,private and virtuals ips are correctly configured.

    Start the RAC1 virtual machine and restart the RAC2 virtual machine.

    When both nodes have started, check they can both ping all the public

    and private IP addresses using the following commands. 

    login as oracle user

    pi ng - c 3 r ac1pi ng - c 3 r ac1- pr i v

    pi ng - c 3 r ac2

    pi ng - c 3 r ac2- pr i v

    Configure SSH on each node in the cluster. Log in as the "oracle" user

    and perform the following tasks on each node.

    su - or acl e

    mkdi r ~/ . ssh

    chmod 700 ~/ . ssh

    Pagina 19 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    20/36

    / usr / bi n/ ssh- keygen - t r sa # Accept t he def aul t s

    et t i ngs.

    The RSA public key is written to the ~/.ssh/id_rsa.pub file and the

    private key to the ~/.ssh/id_rsa file.

    Log in as the "oracle" user on RAC1, generate an "authorized_keys" fileon RAC1 and copy it to RAC2 using the following commands.

    su - or acl e

    cd ~/ . sshcat i d_r sa. pub >> aut hor i zed_keys

    scp aut hori zed_keys r ac2: / home/ oracl e/ . ssh/

    Next, log in as the "oracle" user on RAC2 and perform the following

    commands.

    su - or acl e

    cd ~/ . sshcat i d_r sa. pub >> aut hor i zed_keys

    scp aut hori zed_keys r ac1: / home/ oracl e/ . ssh/

    The "authorized_keys" file on both servers now contains the public keys

    generated on all RAC nodes.

    To enable SSH user equivalency on the cluster member nodes issue the

    following commands on each node.

    ssh r ac1 date

    ssh r ac2 datessh r ac1. l ocal domai n dat e

    ssh r ac2. l ocal domai n dat e

    exec / usr / bi n/ ssh- agent $SHELL

    / usr/ bi n/ ssh- add

    You should now be able to SSH and SCP between servers without

    entering passwords.

    Before installing the clusterware, check the prerequisites have been

    met using the "runcluvfy.sh" utility in the clusterware root directory.

    while running this you will get unsuccessful message no need to worryabout this. ignore this only for vmware setup testing and education

    purpose, testing time no need to worry.

    / home/ or acl e/ cl ust er war e/ cl uvf y/ r uncl uvf y. sh st ag

    e - pr e crsi nst - n r ac1, r ac2 - ver bose

     Step 7: Installing Clusterware Software

    I N S T A L L T H E C L U S T E R W AR E S O F T W A R E

    Start the RAC1 and RAC2 virtual machines, login to RAC1 as the oracle

    user and start the Oracle installer.

    $cd clusterware

    Pagina 20 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    21/36

    To install 10gR2, you must first install the base release, which is

    10.2.0.1. As these version of OS are newer, you should use the following

    command to invoke the installer:

    $ runInstaller -ignoreSysPrereqs  // This will bypass the OS check //

    note: Edit the /etc/redhat-release file replacing the current release

    information (Red Hat Enterprise Linux Server release 5 ) with the

     following:

    redhat-4

    ./runInstaller -ignoreSysPrereqs

    change the clusterware directory 

    if you didn't edit the redhat-release file,you will get error here, and it

    checks for required rpm packages.

    add the rac2 host information

    Pagina 21 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    22/36

    change eth0 to public

    NEXT ,the ocr disk information, actually i forgot to take the

    snapshot 

    select external redundancy and ocr disk location: /dev/raw/raw1 

    Pagina 22 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    23/36

    For voting disk

    select external redundancy and voting disk location:/dev/raw/raw2

    first run /u01/app/oracle/oraInventory/oraInstRoot.sh in RAC1

    after completion run it in RAC2

    Second run /u01/crs/oracle/product/10.2.0/crs/root.sh in RAC1

    after completion run it in RAC2

    hile running root.sh in RAC2 NODE it ends with warning message.

    so follow the below steps

    [root@rac1 ~]# /u01/app/oracle/oraInventory/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@rac2 ~]# /u01/app/oracle/oraInventory/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@rac1 ~]# /u01/crs/oracle/product/10.2.0/crs/root.shWARNING: 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

    Pagina 23 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    24/36

    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

    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 :

    node 1: rac1 rac1-priv rac1

    node 2: rac2 rac2-priv rac2

    Creating OCR keys for user 'root', privgrp 'root'..

    Operation successful.

    Now formatting voting device: /dev/raw/raw2

    Format of 1 voting devices complete.

    Startup will be queued to init within 90 seconds.

    Adding daemons to inittab

    Expecting the CRS daemons to be up within 600 seconds.

    CSS is active on these nodes.

      rac1

    CSS is inactive on these nodes.

    rac2

    Local node checking complete.

    Run root.sh on remaining nodes to start CRS daemons.

    [root@rac2 ~]# /u01/crs/oracle/product/10.2.0/crs/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.

    Pagina 24 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    25/36

    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 :

    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.

    Adding daemons to inittab

    Expecting the CRS daemons to be up within 600 seconds.

    CSS is active on these nodes.

    rac1

      rac2

    CSS is active on all nodes.

    Waiting for the Oracle CRSD and EVMD to start

    Oracle CRS stack installed and running under init(1M)

    Running vipca(silent) for configuring nodeapps

    /u01/crs/oracle/product/10.2.0/crs/jdk/jre//bin/java: error while loading shared

    libraries: libpthread.so.0: cannot open shared object file: No such file or directory

    At end of root.sh on the last node vipca will fail to run with the

    following error:

    Oracle CRS stack installed and running under init(1M)

    Running vipca(silent) for configuring nodeapps

    /home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: error

    while loading

    shared libraries: libpthread.so.0: cannot open shared object file:

    No such file or directory

    Also, srvctl will show similar output if workaround below is not

    implemented.

    edit vipca (in the CRS bin directory on all nodes) to undo the setting of

    LD_ASSUME_KERNEL. After the IF statement around line 123 add an

    unset command to ensure LD_ASSUME_KERNEL is not set as follows:if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]

    then

    Pagina 25 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    26/36

    LD_ASSUME_KERNEL=2.4.19

     

    export LD_ASSUME_KERNEL

    fi

    unset LD_ASSUME_KERNEL 

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    27/36

    it wills gives the error. follow the steps. dont click next button.

    login as root user in node RAC2,

    /bin # ./oifcfg setif -global eth0/192.168.1.122:public

    /bin # ./oifcfg setif -global eth1/192.168.2.132:cluster_interconnect

    /bin # ./oifcfg getif 

    The goal is to get the output of "oifcfg getif" to include both public and

    cluster_interconnect interfaces, of course you should exchange your

    own IP addresses and interface name from your environment. To get

    the proper IPs in your environment run this command:

    /bin # ./oifcfg iflist

    [root@rac2 bin]# ./oifcfg setif -global eth0/192.168.1.122:public

    [root@rac2 bin]# ./oifcfg setif -global eth1/192.168.2.132:cluster_interconnect

    [root@rac2 bin]# ./oifcfg getif

    eth0  192.168.1.0  global  public

    eth0  192.168.1.122   global  public

    eth1  192.168.2.0  global  cluster_interconnect

    eth1  192.168.2.132   global  cluster_interconnect

    [root@rac2 bin]# ./oifcfg iflist

    eth0  192.168.1.0

    eth1  192.168.2.0

    [root@rac2 bin]#

    And then run vipca.

    /bin # ./vipca

    click next

    Pagina 27 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    28/36

    click next

    enter rac1-vip.localdomain

    Pagina 28 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    29/36

    click the retry button

    [root@rac1 bin]# ./crsctl check crs

    CSS appears healthy

    CRS appears healthy

    EVM appears healthy

    [root@rac1 bin]# ./crs_stat -t

    Name  Type  Target  State  Host 

    ------------------------------------------------------------

    ora.rac1.gsd  application  ONLINE  ONLINE  rac1 

    ora.rac1.ons  application  ONLINE  ONLINE  rac1 

    ora.rac1.vip 

    application 

    ONLINE 

    ONLINE 

    rac1 

    ora.rac2.gsd 

    application 

    ONLINE 

    ONLINE 

    rac2 

    ora.rac2.ons 

    application 

    ONLINE 

    ONLINE 

    rac2 

    ora.rac2.vip 

    application 

    ONLINE 

    ONLINE 

    rac2 

    [root@rac1 bin]#

    [root@rac2 bin]# ./crsctl check crs

    CSS appears healthy

    CRS appears healthy

    EVM appears healthy

    [root@rac2 bin]# ./crs_stat -t

    Name  Type  Target  State  Host 

    ------------------------------------------------------------

    ora.rac1.gsd  application  ONLINE  ONLINE  rac1 

    Pagina 29 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    30/36

    ora.rac1.ons  application  ONLINE  ONLINE  rac1 

    ora.rac1.vip  application  ONLINE  ONLINE  rac1 

    ora.rac2.gsd 

    application 

    ONLINE 

    ONLINE 

    rac2 

    ora.rac2.ons 

    application 

    ONLINE 

    ONLINE 

    rac2 

    ora.rac2.vip 

    application 

    ONLINE 

    ONLINE 

    rac2 

    [root@rac2 bin]#  

    step 8: Installing oracle software

     follow the same steps given in the below link. except invoking

    runInstaller.

    Start the RAC1 and RAC2 virtual machines, login to RAC1 as the oracle user and start the

    Oracle installer.

    To install 10gR2, you must first install the base release, which is 10.2.0.1. As these version

    of OS are newer, you should use the following command to invoke the installer:

    $ runInstaller -ignoreSysPrereqs 

    // This will bypass the OS check //

    ./runInstaller -ignoreSysPrereqs

    On the "Welcome" screen, click the "Next" button.

    rest of the things are similar in the given link documentation

     

    installing database software and create asm

    for any queries please contact me any time.

    Regards,

    Rajeshkumar Govindarajan

    Oracle DBA

    ConscientiaDBS

    [email protected]

    POSTED BY RAJESHKUMAR GOVINDARAJAN AT FRIDAY, MARCH 26, 2010 

    LABELS: 10G CONCEPTS, INSTALLATION , RAC CONCEPTS

    1 7 C O M M E N T S :

    doris.wochele said...

    Pefect! You saved my life today! Thanks a lot! Doris

    APRIL 9, 2010 2:59 PM

    just4you said...

    Hi,

    After clone the second rac (RAC2) I can't run both nodes at the

    same time, vmware gives an error ((("Power On Virtual Machine"

    Pagina 30 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    31/36

    failed to complete

    If these problems persist, please contact your system

    administrator.

    Details: Cannot open the disk 'C:\Virtual

    Machines\Shared\ocr.vmdk' or one of the snapshot disks it

    depends on.

    Reason: Failed to lock the file)))

    How to solve this issue !!??

    MAY 11, 2010 11:40 AM

    Rajeshkumar Govindarajan said...

    Hi friend,

    add into archive.vmx ‘disk.locking = “FALSE”‘

    just try it...

    regards,

    rajesh

    MAY 11, 2010 12:58 PM

    just4you said...

    Dear rajesh,

    Thank you for your fast reply.

    Actually I don't have archive.vmx on my pc, do I have to create

    it or where can I found it??

    Thank you for your help.

    Regards,

    MAY 11, 2010 3:11 PM

    Rajeshkumar Govindarajan said...

    Hi friend,

    in your machine you can find your .vmx file in the folder where

    you created or installed your guest operating systems , in your

    machine check 'C:\Virtual Machines\\

    ok bye , all the best...

    regards,

    rajesh

    Pagina 31 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    32/36

    MAY 11, 2010 3:37 PM

    Harikumar said...

    Looks very clean and nice. Would be better if screenshots are

    resized properly

    MAY 31, 2010 11:34 AM

    Rajeshkumar Govindarajan said...

    thanks hari,

    as per your advice and suggestion. i reduced the size of

    snapshots.

    hearty thanks for your support.

    MAY 31, 2010 5:09 PM

    Anonymous said...

    after runnig roort.sh on second node follwoing error occured.

    failure at final check of oracle CRS stack. 10

    Form ocrd.log:

    CRSRTI ocss is not ready received status 3 from css in crsd.log

    CSSCLNT classInitNative :connect failed

    COMMCRS CLSC_CONNECT :NO LISTENE

    Any ides?

    JUNE 19, 2010 11:59 PM

    Rajeshkumar Govindarajan said...

    refer the link and follow the step:

    http://dsstos.blogspot.com/2009/03/linux-oracle-rac-and-

    bonding-conundrum.htmlJUNE 20, 2010 12:08 AM

    Anonymous said...

    June 19, 2010 11:59 PM for this post, its resolved with following

    solution.

    Disable iptables on both nodes.

    #service iptables off.

    JUNE 21, 2010 12:11 AM

    Santanu said...

    Pagina 32 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    33/36

    hi, this is santanu.

    I am totally new to 10g RAC env.

    plz help me to start the steps from the beginning.

    My email ID

    [email protected] 15, 2010 12:08 AM

    Naveen said...

    Firstly Thanks Alot.....

    After runnig roort.sh on second node(RAC2) follwoing erroroccured.

    Failure at final check of oracle CRS stack. 10

    From csrd.log:

    2011-02-17 06:32:39.966: [ CRSRTI][1128128]0CSS is not ready.

    Received status 3 from CSS. Waiting for good status ..

    2011-02-17 06:32:41.456: [ COMMCRS][128535440]clsc_connect:

    (0xa319f98) no listener at (ADDRESS=(PROTOCOL=ipc)

    (KEY=OCSSD_LL_rac2_crs))

    2011-02-17 06:32:41.456: [ CSSCLNT][1128128]clsssInitNative:

    connect failed, rc 9

    2011-02-17 06:32:41.456: [ CRSRTI][1128128]0CSS is not ready.

    Received status 3 from CSS. Waiting for good status ..

    2011-02-17 06:32:42.458: [ CRSMAIN][1128128][PANIC]0CRSD

    exiting: Could not init the CSS context

    2011-02-17 06:32:42.461: [ default][1128128]Terminating clsd

    session

    So many people are facing this error. I think its due to cloned

    VM.

    I have stopped

    #service iptables stop

    Pagina 33 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    34/36

    #chkconfig iptables off

    I have also checked out

    "http://dsstos.blogspot.com/2009/03/linux-oracle-rac-and-

    bonding-conundrum.html "

    but there is no bonding directory in '/proc/net '

    I dont know how to create interface bonding .

    This problem may be due to NIC MAC Addresses because second

    node creates eth0.bak and eth1.bak automatically .

    I hope you will be able to resolve it . Waiting for reply.

    FEBRUARY 17, 2011 7:48 AM

    ashraf said...

    hi... am ashraf

    am very new in RAC configuration...

    if you have any document pls share to me....

    my gmail ID :[email protected]

    JUNE 1, 2011 11:46 PM

    ashraf said...

    Hi all,

    am Ashraf , am very new in RAC configuration...

    if you have any document related on this..pls share to me...

    my gmail ID: [email protected]

    JUNE 1, 2011 11:48 PM

    sap testing said...

    Awesome post. I followed each step and successfully installed

    Oracle Rac on my system. You have brilliantly explained all the

    steps and have also added the necessary screen shots of the

    steps that are a great help. I will share this post to all my

    friends too. Thanks for making this post.

    JUNE 22, 2011 2:46 PM

    Anonymous said...

    Pagina 34 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    35/36

    Post Older Post

    Post a Comment

    Create a Link

    Home

    Subscribe to: Post Comments (Atom)

    Hi,

    Sir tons of thanks to u for posting this article . i tried the

    installation on vmware workstation that didnt't worked .. then

    on vmware server but i was using ole4.4 so there was an issue

    prkc 1002 as times of nodes were not in sync i used ntp but

    couldn't install it on ole4.4 so then from above article isuccessfully installed rac of 10gr2 on ole5.5

    Thanks a lot and it really helped me to finally atlast install my

    rac

    keep posting such articles

    god bless u

    AUGUST 2, 2011 7:40 PM

    Anonymous said...

    Hi,

    From above i was able to succesfully install rac ... Could u show

    how to corrupt and recover voting disk and ocr

    Thanks in Advance :)

    AUGUST 4, 2011 1:44 PM

    Network Monitoring Tool

    -® !-. /- -

    ONLINE Cpr Certification .- .

    "".

    ..

    Ad System Certifications . .

    Cloud Computing Expo -

    10 . .

    Pagina 35 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...

    22/09/2011http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • 8/18/2019 Oracle 10gR2 RAC Installation in RedHat 5 Linux Using VMware

    36/36

    B R UC E L EE T IP S

    Thoughts are things.

    Impossibile trovare

    Pagina 36 di 36ORACLE DBA: Oracle 10gR2 RAC Installation in Linux 5, RHEL5 using VMw...