Oracle RAC in my Home Linux Box.

Hi,
I have two Linux box at home loaded with RHEL 4, both have normal IDE HDD, is there any way, so that i can test ORACLE RAC on them, i just want to test RAC and get know about its working etc. please give me some idea about it, thanks

There's no need to have SCSI or RAID devices, although recommended for production. Follow simply the installation guide, besides there are some step-by-step documents here on OTN.
Werner

Similar Messages

  • Error in installation of Oracle BRM setup on a Linux Box

    Hi All ,
    I am trying to install an Oracle BRM setup on a Linux Box but during installation
    I am facing a major error , please can anybody help me out in figuring out the cause . Any sort of help
    would be appreciable .......
    cat ./var/dm_oracle/dm_oracle.pinlog
    E Fri Feb 1 11:46:21 2008 178.65.112.65, dm:908 dm_main.c(44):2641 1:<machine>:<program>:0:0:0:0:0
    DM master dm_die: "bad mutexattr_setpshared of accept token: 38", errno 0
    Error while running pin_setup script
    PATH variable IS O.K...
    LD_LIBRARY_PATH variable IS O.K...\n
    You are the pin user
    You are in the pin group\n
    Starting setup.\n
    #===========================================================
    # Installation started at Fri Feb 1 10:08:25 2008.
    #===========================================================
    cm: Generating pin.conf file
    pin.conf is generated under /home/pin/opt/portal/7.3/sys/cm/pin.conf
    pin.conf is generated under /home/pin/opt/portal/7.3/apps/pin_remit/pin.conf
    dm_oracle: Generating pin.conf file
    pin.conf is generated under /home/pin/opt/portal/7.3/setup/scripts/pin.conf
    pin.conf is generated under /home/pin/opt/portal/7.3/sys/dm_oracle/pin.conf
    dm_oracle: Configuring database
    Creating Portal tablespaces ... this may take a few minutes
    Creating main tablespace 'pin00' (already exists)
    Creating index tablespace 'pinx00' (already exists)
    Creating temporary tablespace 'PINTEMP' (already exists)
    Creating 'pin' user
    Granting 'pin' correct permissions
    Altering 'pin' user default tablespace
    Altering 'pin' user temporary tablespace
    Finished creating the Portal tablespaces
    Continuing to Configure the database
    Dropping table from file
    Execute SQL statement from file /home/pin/opt/portal/7.3/sys/dm_oracle/data/drop_snapshots.source
    Execute SQL statement from file /home/pin/opt/portal/7.3/sys/dm_oracle/data/drop_tables.source
    Execute SQL statement from file /home/pin/opt/portal/7.3/sys/dm_oracle/data/create_dd_UTF8.source
    Loading objects from file
    pcmdd: bad connect for 178.65.112.65, errno 111
    Re-reading the pin.conf file "./pin.conf" since it has changed. Previous file mod time was 1201791202, now it is 1201878509
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UNKNOWN:0> field num=<0:0,0> recid=<0> reserved=<111>
    pcmdd: bad connect for brm1.iaglab.com, errno 111
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UNKNOWN:0> field num=<0:0,0> recid=<0> reserved=<111>
    Linux lib Version
    glib version :
    bash-3.00$ ls /lib/libc-*
    /lib/libc-2.3.4.so
    Oracle Version
    Oracle Version :
    SQL*Plus: Release 10.2.0.1.0

    I am having the same issue with installation of brm on AIX.
    My research tells me it has to do with dm_oracle start up and below :
    #========================================================================
    # dm_shmsize
    # (UNIX only) Specifies the size of shared memory segment, in bytes, that
    # is shared between the front ends and back ends for this DM.
    #========================================================================
    # dm_bigsize
    # (UNIX only) Specifies the size of shared memory for "big" shared memory structures,
    # such as those used for large searches (those with more than 128 results)
    # or for PIN_FLDT_BUF fields larger than 4 KB.
    Any other clues leads to resolve the issue helps.
    Thanks!

  • PATCH Oracle RAC 10gR2 DB on Linux

    Hello,
    I want to patch 2 node RAC 10gR2 DB (Standard Edition) on SLES 11. I have patched signle instance DB with OPATCH, but never patched RAC DB, kind of very nervous. I am not able to find generally and also from MOS regarding step by step process to patch RAC 10gR2 on SLES OS. In the readme of the Patch, I do not find step by step detail of how to ....regarding RAC. Following is the information regarding the current setup, please have a look and suggest/help me, as it's a production DB and I'm little afraid to Patch it.
    I've also other general questions please, like:
    - In RAC, how many homes are normall there to patch? DB,CRS, Grid?
    - Clusterware (CRS) and ASM has same home?. Are they same?. Pathing any one means pathing both ASM and CRS, right?
    oracle@dba01 [ec]: /home/oracle > echo $CRS_HOME
    /oracle/app/11.2.0/grid
    oracle@dba01 [ec]: /home/oracle > echo $ASM_HOME
    /oracle/app/11.2.0/grid
    oracle@dba01 [ec]: /oracle/app/10.2.0/db1/OPatch > opatch lsinventory
    Invoking OPatch 11.2.0.1.0
    Oracle Database 10g                                                  10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 3                            10.2.0.4.0
    There are 2 products installed in this Oracle Home
    Rac system comprising of multiple nodes
      Local node = dba01
      Remote node = dba02
    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    With the Real Application Clusters option
    ####### According to MOS patch advisor for the DB, found this patch for Linux-x86-64:
    Patch 12879929 - 10.2.0.4.11 Patch Set Update ## DATABASE PATCH SET UPDATE 10.2.0.4.11 (PRE-REQ 10.2.0.4.4|INCLUDES CPUJAN2012)
    Patch 9352164 - 10.2.0.4.4 Patch Set Update
    # Both are in Downloads folder on my local machine.
    SYS@rac1p1 AS SYSDBA> select * from registry$history;
    ACTION_TIME       ACTION  NAMESPACE VERSION   ID  COMMENTS   BUNDLE_SERIES
    30-MAR-10 07.38.3 APPLY    SERVER  10.2.0.4   6   CPUJan2010   CPU   6.877725 AM
    30-MAR-10 07.43.4 CPU                       6452863 view recompilation 5.716832 AM
    14-JUN-10 10.55.1 APPLY    SERVER  10.2.0.4   7   CPUApr2010   CPU   8.089709 PM
    oracle@dba01 [ec]: /home/oracle > echo $CRS_HOME
    /oracle/app/11.2.0/grid
    oracle@dba01 [ec]: /oracle/app/11.2.0/grid/OPatch > opatch lsinventory
    Patch  9352191      : applied on Mon Jun 14 22:28:04 CEST 2010 # Latest patch installed ..
    - - - # I think patch option for RAC which I read,,,rolling I cannot perform because its not Enterprise edition DB, minimum downtime also doesn't look like suitable, then I think I will adopt ALL NODE patching,isn'it?
    # In DB, I can find out through registry$history the latest PSU installed, but how would I find out which patch to install now in CRS/ASM home?
    # I was looking at srvctl and crsctl,etc commands....I am little confused between these both type of command to perform ...like to Shutdown instances,services,listener,nodes,etc...what commands do I need for this process, please?
    Bundle of thanks.
    Regards

    Hello,
    Thanks for the reply.
    What I noticed before that as ASM-GI has same home, so I need to apply one patch for that. After your reply I am planning to do it like that only.
    As I have posted in my main post the versions of patches to apply for Oracle Home. That seems somehow clear to me what to apply and,etc. Can you please suggest which Patch or how to find/select next patch version to apply to ASM/GI home please?
    When we select PATCH ADVISOR from MOS, for example in case of DB home, I select DB,Enterprise,Standard editio,9i,10g,11,d, OS Linux-x64,10.2.0.4. DB,OS version etc is OK, but I am confused what to select from that first drop down menu in order to select patch version for ASM/GI ??
    @onedba
    I am planning to Patch not upgrade.
    Thanks and regards.

  • Oracle RAC for SAP on Linux and OCFS

    We are going to be installing SAP with Oracle 10.2.0.4 RAC on Linux RHEL 5.2 and OCFS.  The Oracle RAC documentation states:
    You must store the following components in the cluster file system when you use RAC
    in the SAP environment:
    - Oracle Clusterware (CRS) Home
    - Oracle RDBMS Home
    - SAP Home (also /sapmnt)
    - Voting Disks
    - OCR
    - Database
    I'm curious about the requirement of installing the Oracle Home on shared clustered filesystem.  In other RAC installations I've built, I installed the binaries on local filesystems on each node.  This is to facilitate the concept of rolling patches.  With the SAP's requirement, it appears rolling patches are out of the question.  Can someone enlighten me on why SAP requires the Oracle Home reside on shared filesystem.
    Thanks

    We have even put /oracle/SID on OCFS, because the brtools cannot cope with local FS. If you take a backup on node1, then you cannot restore it from node2. Or you could start multiple brconnects at the same time (this is normally prevented with a lock file). Of course you could run all your all your br commands on a dedicated node, but this doesn't fit the RAC idea much.
    Just my two cents, of course this does not fully explain, why the ORACLE_HOME has to be shared as well.
    Best regards, Michael
    Edit: Ahh, now i recall, i really think it is because of the BR*Tools, they need the initSID.sap file in ORACLE_HOME/dbs. This implies that it won't be a big thing to get SAP on RAC running with local ORACLE_HOME's, but that doesn't help a lot as long as SAP does not officially support it...

  • Owb 10.2.0.1 install on oracle RAC 10.2.0.4 Linux

    Hi,
    i create Oracle RAC with DBCA on linux box.
    I want to install OWB 10.2.0.1 on RAC
    I have 2 node DB
    DBNAME = RAC
    istance name RACINST1 e RACINST2
    service unique name RACSRV1 on istance RACINST1
    e RACSRV2 on istance RACINST2
    How to configurate tnsnames.ora on owb_home on NODE 1?
    RAC1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = r00orac01-vip)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rac.dom.net)
    (INSTANCE_NAME = racinst1)
    either
    RAC1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = r00orac01-vip)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = racsrv1)
    (INSTANCE_NAME = racinst1)
    when run repository assistant on node1
    (/app/oracle/product/10.2.0/owb/owb/bin/unix/reposinst.sh)
    what is the right Oracle Service name?
    what is the right Net Service name?
    Thanks in Advance
    lukx

    Hi Oleg,
    many thanks for the answer.
    My doubt is on the right service name specificaton.
    I create 2 service unique name for istance 1 (racistnt1) ed istance 2 (racistnt2)
    I use srvctl command for create these.
    In tnsnames must by use on node 1
    (service_name = racsvr1)
    (istance_name = racistnt1)
    or
    (service_name = racsvr) --> cluster service name
    (istance_name = racistnt1)
    In tnsnames must by use on node 2
    (service_name = racsvr2)
    (istance_name = racistnt2)
    or
    (service_name = racsvr) --> cluster service name
    (istance_name = racistnt2)
    Steps Install OWB.
    1. instal OWB on node 1 --> OK
    2. copy rtrepos.properties from node 1 to node 2 --> OK
    3. sqlplus owbrep SQL>@start_service.sql -->OK (i test it without start service too)
    4. lunch reposinst.sh on node 2 --> KO
    the choose 'Registera Application Cluster (RAC) istance' don't appear
    Lukx

  • Access a dll file for an oracle adf app deployed on weblogic on linux box

    Hi:
    My department is trying to move an oracle adf application from oracle application server to weblogic 10.3 application server. After trying for a few weeks, everything looks fine except that the application is not able to access a dll file. For this adf application we use a dll file which is a C program to allow us to grab ip address and mac address for every user's computer for security reason. On our oracle application server on a linux box, everything is fine and the application is able to use access the dll fine. Technically, it is how the dll work. In our login.jspx, we declare a object:
    <OBJECT id="objMacAddr" height="0" width="0" classid="CLSID:D69161F0-C2BB-4212-9B67-62B908A07726" codebase="RMacAddress.dll#Version=1,0,0,1">
    when the user access our web application, the browser grab the dll file from the server while loading the page and a java script function in the page uses the dll file to grab the ip address and mac address for user's computer.
    It works on oracle application server. However, it does not work on Weblogic 10.3 server. Does anyone have similar experience? We have been told by oracle support that Weblogic 10.3 server does not recognize the dll file at all. One thing I don't understand is that both our oracle application and weblogic 10.3 are on linux box. Why dll works on oralce application server but not on weblogic 10.3 server? This issue has bothered us for quite a few weeks already. I just hope that anyone on this forum gives us some kind of hint or direction.
    Thanks,
    Jack

    Also,
    I checked the "monitoring" window of my datasource on weblogic server and saw that there are no failed database connections. So, the problem of a broken database connectivity can be ruled out.
    --Vivek                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Failover not happening the Oracle RAC 10g

    Hi All,
    I am new to RAC.
    I have installed Oracle RAC 10g on Redhat Linux 4.0. Till yesterday failover was happening that is when i stopped one instance on node01 the vip of node01 was transferred to node02.This was shown using ifconfig -a but now that is now happening.Don't know as what has happened.Can you please help me out
    Below information is given:
    [oracle@node01 ~]$ crs_stat -t
    Name Type Target State Host
    ora.hitesh.db application ONLINE ONLINE node02
    ora....h1.inst application ONLINE ONLINE node01
    ora....h2.inst application OFFLINE OFFLINE
    ora....SM1.asm application ONLINE ONLINE node01
    ora....01.lsnr application ONLINE ONLINE node01
    ora.node01.gsd application ONLINE ONLINE node01
    ora.node01.ons application ONLINE ONLINE node01
    ora.node01.vip application ONLINE ONLINE node01
    ora....SM2.asm application ONLINE ONLINE node02
    ora....02.lsnr application ONLINE ONLINE node02
    ora.node02.gsd application ONLINE ONLINE node02
    ora.node02.ons application ONLINE ONLINE node02
    ora.node02.vip application ONLINE ONLINE node02
    Listner status on node01 is given:
    [oracle@node01 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 06-APR-2013 12:59:29
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER_NODE01
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 06-APR-2013 11:59:03
    Uptime 0 days 1 hr. 0 min. 25 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /home/oracle/oracle/product/10.2.0/db_1/network/log/listener_node01.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.131)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "hitesh" has 2 instance(s).
    Instance "hitesh1", status READY, has 2 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    Service "hiteshXDB" has 2 instance(s).
    Instance "hitesh1", status READY, has 1 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    Service "hitesh_XPT" has 2 instance(s).
    Instance "hitesh1", status READY, has 2 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [root@node01 oracle]# crsctl check crs
    CSS appears healthy
    CRS appears healthy
    EVM appears healthy
    [root@node01 oracle]# ps -ef | grep lmon
    oracle 5741 1 0 12:07 ? 00:00:03 ora_lmon_hitesh1
    root 22582 20805 0 13:01 pts/2 00:00:00 grep lmon
    oracle 23643 1 0 11:58 ? 00:00:01 asm_lmon_+ASM1
    Please let me know what information else is required
    Edited by: user12924280 on Apr 6, 2013 12:36 AM

    Since you didn't say "thank you", I assumed my time was of no value to you.
    However, I shall try again.
    There is no relationship between instance failure and VIP failover. How can there be? What if you are running ten instances on each node, and one fails? Would you want the VIP to relocate? And I've already told you how to test it: kill the node. Just reboot it.

  • Scripting to gather oracle info on a Linux box Finding rac/normal instance?

    Hello all,
    I've been tasked by the disaster recovery team to get a little quick script for them to run, to see what oracle instances are on a box, if it is up, listener is running, etc.
    So far, with normal, one node instances I've had success. I grab data from the /etc/oratab file, and parse it out with awk to get a ORACLE_SID and and ORACLE_HOME.
    This script is run as the oracle user or a user in the dba group, so, that with each instance, I attempt a logon through SQL*Plus as connect / as sysdba and does a query to gather some instance information that I echo to the screen to establish that the instance is up and connectable.
    The problem I have run into, is if there is an instance listed for a node of a RAC cluster....it doesn't see that entries to /etc/oratab are quite the same using dbca for RAC nodes as normal nodes.
    For instance, say I have a cluster RAC which has nodes rac1 rac2 and rac3.
    From what I'm seeing...on the individual nodes, in the /etc/oratab entries only seem to be put in for the cluster RAC, rather that say rac1. My script which tries to set the oracle sid and home and connect / as sysdba fails. If the entry were put in there as rac1, it should work, I'd think.
    Can someone make suggestions for me to use with this script, so that I can find out what node instance is running, if RAC is on the computer...and automatically find and connect similar to how I'm doing with the single databases using /etc/oratab
    Is there a similar file to /etc/oratab that is used by the clusterware on the system?
    Thanks in advance,
    cayenne
    Edited by: cayenne on Apr 15, 2009 12:57 PM

    S2K wrote:
    please post your script here so we can see what exactly is going on...and help you point out stuff...Certainly...that might help indeed.
    Here is the listing:
    #! /bin/bash
    #grab original path so as to reuse on each loop interation to ensure ONLY
    # the oracle binaries from the proper oracle home are used.
    old_path=$PATH
    #set oracle_home/bin path for listener
    #to guess best fit, hit first home that is bootable
    #and not listed as ASM
    #start as empty
    listener_path=
    if [ -e "/etc/oratab" ]
    then
         #grab and clean the entries for oracle instances and their respective oracle homes
         oracle_instances=`cat /etc/oratab | sed '/#/d' | sed '/\*/d' | sed '/^$/d'`
         echo 'Testing connections to Oracle intances as listed in /etc/oratab'
         echo 'and testing connectivity, start times and status'
         echo '----------------------------------------------------------------------------------------------------'
         for oinstance in $oracle_instances;
         do
              oracle_sid=`echo $oinstance | awk -F":" '{print $1}'`
              oracle_home=`echo $oinstance | awk -F":" '{print $2}'`
              oracle_bootable=`echo $oinstance | awk -F":" '{print $3}'`
              echo
              echo 'Using ORACLE_HOME='$oracle_home
              echo
              export ORACLE_HOME=$oracle_home #set oracle home
              echo 'Setting ORACLE_SID='$oracle_sid
              echo
              export ORACLE_SID=$oracle_sid #set oracle sid
              echo 'Adding Oracle bin to path'
              echo
              echo '----------------------------------------------------------------------------------------------------'
              echo
              export PATH=$ORACLE_HOME/bin:$old_path #reset to old path plus new oracle home /bin
              #Test and set listener path
              # do I need this? to exclude asm for listener? && `expr match "$oracle_sid" \+ASM.*` = 0
              if [[ -z "$listener_path" && $oracle_bootable != "N" ]] #Test to see if listener path set yet, if not, is instance set bootable
              then
                   listener_path=$oracle_home/bin:$old_path
              fi
              #Next, connect through sqlplus and query v$instance table to prove connectivity
              output= #Reset output for each iteration
              output=`sqlplus -s "/ as sysdba" <<EOF
              set heading off feedback off verify off
              select 'Instance Name='||instance_name||' Host='||host_name||' Start Time='||to_char (startup_time, 'HH:MI AM MON DD,YYYY')||' Status='||status from v\\$instance;
              exit
              EOF`
              echo 'Connection to Database returns message:'
              # If sqlplus fails, print error message
              echo
              if [[ -z "$output" || `expr match "$output" .*ORA-.*` > 0 ]]
              then
                   echo 'Unable to conect and query database instance = '$oracle_sid
              else
                   echo $output
                   echo
                   echo '----------------------------------------------------------------------------------------------------'
                   echo
                   echo 'Schemas on this Database Instance: '$oracle_sid
                   echo
                   if [[ `expr match "$oracle_sid" \+ASM.*` = 0 ]] #Test to see if an ASM instance
                   then
                        #Hit sqlplus again, this time to grab and display a list of schema/usernames on this instance.
                        sqlplus -s "/ as sysdba" <<EOF
                        set heading off feedback off verify off pagesize 0
                        select username from dba_users order by username;
                        exit
    EOF
                   else
                        echo 'Instance '$oracle_sid' is an Auto Storage Management instance, no user schemas to report'
                   fi #end test for ASM
              fi
              echo
              echo '----------------------------------------------------------------------------------------------------'
         done
         echo
         ###Look into what path is used here for the listener!!
         output=''
         echo 'Checking output for querying the Oracle Listener'
         echo
         if [[ -n "$listener_path" ]]
         then
              lsnrctl status
         else
              echo
              echo 'Oracle Home Not set to bootable path, cannot find path for listener'
         fi
         echo
         echo '----------------------------------------------------------------------------------------------------'
    else
         echo '----------------------------------------------------------------------------------------------------'
         echo 'Unable to test connectivity to oracle database instances due to '
         echo 'the file /etc/oratab NOT being found on this system'
         echo '----------------------------------------------------------------------------------------------------'
    fi #End if statement testing if /etc/oratab present
    echo
    echo 'Listing Oracle processes currently running on this box'
    echo
    ps -ef | grep oracle
    echo
    echo '----------------------------------------------------------------------------------------------------'
    As I mentioned before, the problem comes when a RAC instance is in the /etc/oratab...apparently dbca puts in the RAC sid, not the node sid....and when my script tries to connect...it can't and throws the not started error.
    See other email for details of the problem.
    This is the script I'm working on....any suggestions greatly appreciated!!
    cayenne

  • SAN reboot for oracle DB at ASM in linux RAC

    Hi Experts,
    we use 10.2.0.4 database in ASM at oracle RAC in red hat 5 linux.
    we use 3 directoey ( asm, crs, and database)
    I got notes that SAN box (support SAM in database) will be reboot.
    Under this condition, what do i need to do? shutdown instance? database? crs? or asm instance?
    Thanks for your help?
    JIM

    user589812 wrote:
    what means is about start all oracle related services in sequence?CRS will start the complete Oracle cluster s/w cluster for you - ASM, RAC, nodeapps, etc.
    Usually, the only effort required is simply hitting the reset/power on button - as the o/s will boot, CRS will start and it will in turn bring up the s/w stack. No manual intervention required. (unless you on purpose configured it differently)
    Based on Billy suggestion, can I use srvctl stop nodeapps -n all and #ORA_CRS_HOME/bin/crsctl stop crsNo - my suggestion is that before the SAN maintenance window period start, you do a "+shutdown -h now+" on all cluster nodes to halt/powerdown each and every RAC server.
    And after the SAN maintenance period is over, and the SAN available again, ssh into the LoM (Lights Out Management) console of each server and do a "+start SYS+" (or equivalent) to powerup the server.
    In other words, with the SAN down/busy rebooting/undergoing maintenance, I would not want to have my RAC servers up and running as there is no storage layer to run them on. IMO, it is a lot safer to have these servers powered down to during such a maintenance period.
    PS. I have even had the odd case that during SAN maintenance power cables being pulled, Interconnect switches accidentally reset and so on - or you could have some bright spark also shutting down the aircon with the SAN and your RAC servers suffering heat problems and potential damage while running. So my question is - why should I take the risk of keeping my RAC servers up when the storage layer is not there and the cluster is broken and useless? Surely it makes a lot more sense to power down those servers too and then only power them on again when the maintenance period is over and the SAN (and data centre) is in a proper running state again.

  • Issue connecting to a second instance on a Oracle Linux Box.

    Hi all. I have the following scenario.
    - Two Oracle versions and instances on the same box (10g Rel2 and 11g Rel2).
    - Due to lack of disk space i installed 11g on another ORACLE_BASE / ORACLE_HOME:
    - Initial enviroment (10g):
    [oracle@VM1 ~]$ echo $ORACLE_BASE
    /home/oracle/app
    [oracle@VM1 ~]$ echo $ORACLE_HOME
    /home/oracle/app/OraDb10g
    [oracle@VM1 ~]$ echo $ORACLE_SID
    BETA
    [oracle@VM1 ~]$ echo $PATH
    /home/oracle/app/OraDb10g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    - 11g related values:
    [oracle@VM1 oracle]$ echo $ORACLE_BASE
    /u01/oracle
    [oracle@VM1 oracle]$ echo $ORACLE_HOME
    /u01/oracle/Oradb11g
    [oracle@VM1 oracle]$ echo $ORACLE_SID
    ALFA
    [oracle@VM1 oracle]$ echo $PATH
    /u01/oracle/Oradb11g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    [oracle@VM1 oracle]$
    Both databases are running including :
    - listener 1521 for 10g and 1525 for 11g-
    *10g:*
    [oracle@VM1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-JAN-2013 06:42:27
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1521*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 04-JAN-2013 05:25:12
    Uptime 0 days 1 hr. 17 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/OraDb10g/network/admin/listener.ora
    Listener Log File /home/oracle/app/OraDb10g/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "*BETA.azucarera_rioturbio.com.ve*" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETAXDB.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETA_XPT.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-JAN-2013 06:43:25
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1525*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 04-JAN-2013 05:23:02
    Uptime 0 days 1 hr. 20 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/oracle/Oradb11g/network/admin/listener.ora
    Listener Log File /u01/oracle/diag/tnslsnr/VM1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1525)))
    Services Summary...
    Service "*ALFA.rioturbio.com.ve*" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    Service "ALFAXDB.rioturbio.com.ve" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 oracle]$
    - Instances and Enterprise Manager Database Control:
    *10g:*
    [oracle@VM1 ~]$ emctl status dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /home/oracle/app/OraDb10g/VM1.rioturbio.com.ve_BETA/sysman/log
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /u01/oracle/Oradb11g/VM1.rioturbio.com.ve_ALFA/sysman/log
    [oracle@VM1 oracle]$
    The problem happen when i try to access the 11g instance using sqlplus:
    [oracle@VM1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:46:55 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> show sga
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    or
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:47:43 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    However when access is performed using a TNS service connection it works....!
    See:
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g@alfa
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:48:48 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    SQL> show sga
    Total System Global Area 1043886080 bytes
    Fixed Size 2219952 bytes
    Variable Size 620757072 bytes
    Database Buffers 415236096 bytes
    Redo Buffers 5672960 bytes
    SQL>
    Which seems to be the problem here? Why can't i connect to the 11g instance using sqlplus?. I don't think it is related to enviroment since access can be done using local naming service.
    Please help ...!
    PD: i did not replace scripts on /usr/local/bin when installing 11g.

    myluism wrote:
    Hi all. I have the following scenario.
    See embedded comments below
    - Two Oracle versions and instances on the same box (10g Rel2 and 11g Rel2).
    - Due to lack of disk space i installed 11g on another ORACLE_BASE / ORACLE_HOME:
    - Initial enviroment (10g):
    [oracle@VM1 ~]$ echo $ORACLE_BASE
    /home/oracle/app
    [oracle@VM1 ~]$ echo $ORACLE_HOME
    /home/oracle/app/OraDb10g
    [oracle@VM1 ~]$ echo $ORACLE_SID
    BETA
    [oracle@VM1 ~]$ echo $PATH
    /home/oracle/app/OraDb10g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    - 11g related values:
    [oracle@VM1 oracle]$ echo $ORACLE_BASE
    /u01/oracle
    [oracle@VM1 oracle]$ echo $ORACLE_HOME
    /u01/oracle/Oradb11g
    [oracle@VM1 oracle]$ echo $ORACLE_SID
    ALFA
    [oracle@VM1 oracle]$ echo $PATH
    /u01/oracle/Oradb11g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    [oracle@VM1 oracle]$
    Both databases are running including :
    - listener 1521 for 10g and 1525 for 11g-
    An unnecessary complication that achieves nothing. A single listener, using the default name LISTENER and the default port 1521 is quite capable of -- WAS DESIGNED TO -- service multiple database instances of multiple versions running from multiple homes. In a multi-version environment, you'll want to use the listener from the highest version.
    *10g:*
    [oracle@VM1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-JAN-2013 06:42:27
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1521*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 04-JAN-2013 05:25:12
    Uptime 0 days 1 hr. 17 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/OraDb10g/network/admin/listener.ora
    Listener Log File /home/oracle/app/OraDb10g/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "*BETA.azucarera_rioturbio.com.ve*" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETAXDB.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETA_XPT.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-JAN-2013 06:43:25
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1525*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 04-JAN-2013 05:23:02
    Uptime 0 days 1 hr. 20 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/oracle/Oradb11g/network/admin/listener.ora
    Listener Log File /u01/oracle/diag/tnslsnr/VM1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1525)))
    Services Summary...
    Service "*ALFA.rioturbio.com.ve*" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    Service "ALFAXDB.rioturbio.com.ve" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 oracle]$
    - Instances and Enterprise Manager Database Control:
    *10g:*
    [oracle@VM1 ~]$ emctl status dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /home/oracle/app/OraDb10g/VM1.rioturbio.com.ve_BETA/sysman/log
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /u01/oracle/Oradb11g/VM1.rioturbio.com.ve_ALFA/sysman/log
    [oracle@VM1 oracle]$
    The problem happen when i try to access the 11g instance using sqlplus:
    [oracle@VM1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:46:55 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    What was the setting of ORACLE_SID when you did this?
    SQL> show sga
    ORA-01034: ORACLE not availablewell, of course you get ORACLE not available. It already told you "Connected to an idle instance" . There is no running instance of the current value of ORACLE_SID.
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    or
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:47:43 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    However when access is performed using a TNS service connection it works....!
    Because when you connect with TNS, you are no longer dependent on the current setting of $ORACLE_SID.
    See:
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g@alfa
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:48:48 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    SQL> show sga
    Total System Global Area 1043886080 bytes
    Fixed Size 2219952 bytes
    Variable Size 620757072 bytes
    Database Buffers 415236096 bytes
    Redo Buffers 5672960 bytes
    SQL>
    Which seems to be the problem here? Why can't i connect to the 11g instance using sqlplus?. I don't think it is related to enviroment since access can be done using local naming service.Regardless of what you think, It is absolutely, 100% related to your environment settings.
    >
    Please help ...!repeat your above demo, but with this modification
    id
    cat /etc/oratab
    env |grep ORA | sort
    echo $PATH
    sqlplus / as sysdbaIn a multi-db environment, you need to always set your environment before trying to work with any database. The easiest way is to use the oracle utility 'oraenv'
    oracle:orcl$ . oraenv
    ORACLE_SID = [orcl] ? dwsbx
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 is /u01/app/oracle
    oracle:dwsbx$ echo $ORACLE_SID
    dwsbx
    oracle:dwsbx$Notice the command is 'dot space oraenv'
    >
    PD: i did not replace scripts on /usr/local/bin when installing 11g.

  • Using Oracle RAC VM tmeplates - Oracle Virtual Box

    Greetings - can any one guide me to use Oracle RAC vm templates using Oracle Virtual Box?
    Appreciated!

    There is no need to burn a DVD because Virtualbox can directly mount and boot from the .iso image you downloaded. It is usually a good idea to check the md5 checksum of your download with the number provided by the download page to verify your download is not corrupted. There are no problems installing any version of Oracle Linux under Virtualbox provided you have the right hardware. I suggest to check the Virtualbox documentation.
    Note: This is not a Virtualbox forum.

  • Adding Box for Oracle RAC(Clustering) to BIW 3.5 Oracle/Linus

    Hai Gurus,
    Suppose if we have 1 box with Bw3.5 Linux/Oracle and add another box to do Oracle RAC(clustring). Do we need to re-instal the Box 1 also or we can do that with small configuration changes.
    Guide me.
    Regards,
    Mano

    Hi Mano
    As in most cases there is a short answer and a longer one. Short:
    If your system is RAC ready, switching from single instance to cluster database and adding a new node is quite simple. From pure application side there will not be major changes necessary.
    Long:
    What do i need for oracle RAC, what do i have to do to make my system RAC ready?
    Hardware / OS
    You will need shared disks, cluster fs, on linux mostly OCFS2. If you don't have it yet, you need to get it and move your database on to it. You would probably need an additional lan interface for the interconnect.
    Oracle / Database
    You would have to install CRS, that is the oracle cluster software. Your oracle instance, listener will run as services controlled by CRS when RAC is enabled. You will need to configure separate redo threads and undo tablespaces for each node you add. Not least you would probably need an additional costly RAC extension license from your favorite oracle sales rep.
    SAP
    You should think about separate enqueue server and enqueue replication, although this is not mandatory. This is dependent on your reasons for using RAC. If it is high availability you should go for it.
    This is not a complete list, i just wanted to give you an initial idea, please ask if you need further details. If you start into RAC just now, you will have a long way to go, otherwise the short answer will apply.
    Best regards
    Michael

  • How to find out the version of oracle in a linux box

    HI All,
    Can anyone tell me how to find the version oracle 10g on a linux box.
    Thanks

    SQL> set line 1000;
    SQL> select banner from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> define
    DEFINE _DATE           = "12-NOV-09" (CHAR)
    DEFINE CONNECTIDENTIFIER = "loghost" (CHAR)
    DEFINE _USER           = "SYSTEM" (CHAR)
    DEFINE _PRIVILEGE      = "" (CHAR)
    DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
    DEFINE _EDITOR         = "Notepad" (CHAR)
    DEFINE OVERSION = "Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Producti
    With the Partitioning, OLAP and Data Mining options" (CHAR)
    DEFINE ORELEASE = "1002000100" (CHAR)
    SQL>
    Regards
    Asif Kabir

  • How to install oracle rac on linux using virtualbox

    Hi,
    I have recently started working on oracle rac
    I have system with 64 bit os windows 7 installed
    core i3 processor with 6 gb of ram
    I want to install grid infrastructure on linux running as a virtual machine
    how can I install and configure it? Please help me .
    can ubuntu  work as a virtual machine for oracle rac?

    Hi,
    I suggest you use Oracle Enterprise Linux on your lab.  There are a lot of step-by-step guide to install RAC on OEL.  A good example is by Tim Hall, search Google for "Tim Hall Oracle Database RAC Installation".

  • How to install oracle RAC 11g on oracle linux 5 using vmware workstation ?

    Hello;
    I need to Install Oracle RAC 11g R2 with database 11g ( 2 nodes ) but by using vmware workstation ( not server 2) on oracle linux 5-6 .
    So any document can help me please ..
    regards.

    http://www.oracle-base.com/articles/11g/oracle-db-11gr2-rac-installation-on-ol5-using-vmware-server-2.php
    http://appsdbaworkshop.blogspot.in/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    http://robertgfreeman.blogspot.in/2009/12/11gr2-rac-on-vmware-part-one.html

Maybe you are looking for

  • Error in Events Packaged Application

    Hello, I've been interested for some time in the "Events" packaged application. It was great to see it become available recently. I downloaded, installed, and ran it. It had a problem in changing the calendar type for display. I wanted a daily calend

  • 2nd ssd can't unmount or write after update

    I have a Mid 2010 Macbook Pro i7. Intel chipset is series 5 it says. I bought a new intel ssd that I put into the main drive bay, and then I put the Apple/Intel SSD drive that I had in previously into the Optical bay. The drive is fully readable but

  • Customer wants Inventory Transfer to associate Freight/Landed Cost to Items

    This is the situation: SAP B1 customer wants sells items from warehouse 01 and warehouse 02. Warehouse 01 on eastern side of Canada and Warehouse 02 on Western side. They would like to transfer certain items to warehouse 02. However, it involves Frei

  • Can I force a Flexconnect AP into Standalone mode?

    I've found an interesting setup where some remote sites have over 400+ ms latency to the controller (This is due to the 3G/4G WWAN connection back to corp), I am thinking this causing some issues since the required latency for Flexconnect is no more

  • Systems in same transport domain, but PRD import queue is empty

    Hi all! I have previously set up ERP 2005 development and QAS system, and there has been some development and transporting occuring between these two systems. Now I have installed the production system and added it to the transport landscape in STMS.