Create a Rac Database

Hii
I am testing a rac upgrade scenario and scenario is Create new one node rac database upload data from single instance database to new rac database and later add second node to rac database.
I have followed these steps
1.I have installed Cluster software on Centos node1
2.Create A rac database node1 .Oracle software installed local directory.I can see database in crs resources
3.I have add node2 via addNode.sh from node1 and crs working on two nodes correctly.I can see resources these belongs node1 and node2
4.I have installed only database software on node2
5.I run dbca on node1 and select manage instance add instance and I cant see node2 in available nodes only see node1
6.I run dbca on node1 and select create database I cant see node2 in available nodes again only see node1
7.I run dbca on node2 and select create database I cant see node1 in available nodes too only see node2
Where am I making misktake ?have you any advice ?
Os Centos
Crs 11gr2
Database 11gr2
Best Regards

It appears you manually installed the DB home on the second node. You need to instead run addnode.sh from the first node's DB home to install the DB binaries on the additional nodes.

Similar Messages

  • Help required of creating Oracle RAC database having multiple instances

    Hello Guys!
    I want to create one database having 2 instances on Oracle 11g R1
    I have 2 nodes in this Oracle RAC
    Database name will be Val
    and instance name on node 1 will be val1 and instance name on node 2 will be val2
    Raw storage will be used, that is, without using automatic storage management or an Oracle Cluster File System
    Can anyone help how to do that ?
    Thanks

    Hi,
    Wonderful example thanks for the link.You're welcome :)
    I'm little confused which option to choose in shared storage option of DBCA
    i.e. Cluster File System or Raw devices?I suggest you to use ASM for you database storage requirement and select raw devices. oracle recommends to use ASM storage for sahred database.
    thanks,
    X A H E E R

  • Question about DBCA generate script o create RAC database 2 node cluster

    Question about creating two node RAC database 11g after installing and configuration 11g clusterware. I've used DBCA to generate script to create a rac database. I've set
    environment variable ORACLE_SID=RAC and the creating script creates instance of RAC1 and RAC2. My understanding is that each node will represent a node, however there should only be one database with a name of 'RAC'. Please advise

    You are getting your terminology mixed up.
    You only have one database. Take a look, there are one set of datafiles on shared storage.
    You have 2 instances which are accessing one database.
    Database name is RAC. Instance names are RAC1, RAC2, etc, etc.
    Also, if you look at the listener configuration and if your tnsnames is setup properly then connecting to RAC will connect you to either one of the instances wheras connecting to RAC1 will connect you to that instance.

  • While creating RAC database on IBM AIX 5.3 following errors occur.

    Hi,
    I am creating a Oracle database on following configuration IBM AIX 5.3 box:
    OS: IBM AIX 5.3
    DB: Fresh installed Oracle 9.2.0.1 upgraded to Oracle 9.2.0.7 (Patch)
    While creating a RAC database on the above server i got following errors:
    ORA:00603 : ORACLE SERVER SESSION TERMINATED BY FATAL ERROR
    ORA-27504 : IPC error 380 OSD context
    ORA-27300 : OS system dependent operation : if_not_found failed with status:0
    ORA-27301 : OS failure mesage: error 0
    ORA-27302 : failure occured at:skgxpbaddr9
    Licence high water mark = 0
    Can any 1 help me out.Are the above error related to OS or something is wrong with the OS cluster / RAC. I tried creating single instance database on either of the server which are in cluster, no success.
    Also 1 more thing i would like to add is that iam able to create single instance database on server which are not in cluster.
    Any help regarding the above error is appreciated.

    This is a bug (for patchsets 9.2.0.6 and higher), see metalink:
    UNABLE TO START RAC INSTANCE AFTER APPLYING PATCHSET 9.2.0.6 ON AIX
    Note:300218.1
    Werner

  • Refresh new created RAC databases with expdp dmp got SCN error

    Hi, I did expdp full on a single instance database on AIX and scp to the new created LINUX RAC databases and ran a impdp full.
    However I saw the following error:
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Cannot set an SCN larger than the current SCN. If a Streams Capture configuration was imported then the Apply that processes the captured messages needs to be dropped and recreated. See My Oracle Support article number 1380295.1.I checked support.oracle.com, that note is not existed.
    Can anybody help me ? I would like to know if this is the error I can ignore.
    Thanks in advance.

    What user was used to perform expdp and impdp ? Pl note that "/ as SYSDBA" should not be used. Pl see the first "Note" sections here
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#i1012781
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_import.htm#i1012504
    HTH
    Srini

  • 2 RAC database in the same box

    Hello,
    I have a RAC env composed of 2 nodes. The database name is dbfunc1 and it is in 11gR2 version under Redhat Linux 5; this is a test env.
    Now we need to create another RAC database in the same hosts with database name dbfunc2 with exactly the same structure, same parameters, etc... this RAC database will be used for the same product but for test level 1 purpose. I am thinking to create an XML template for the dbfunc1 using dbca and then create silently the database dbfunc2.
    My question is: is it possible to use the already created and configured listener in the hosts or I must create a new listerenr listeneing on new ports to support the database dbfun2? Perhaps, both DB will use the SCAN listener ...
    Thank you
    Diego

    Diego wrote:
    Hello,
    I have a RAC env composed of 2 nodes. The database name is dbfunc1 and it is in 11gR2 version under Redhat Linux 5; this is a test env.
    Now we need to create another RAC database in the same hosts with database name dbfunc2 with exactly the same structure, same parameters, etc... this RAC database will be used for the same product but for test level 1 purpose. I am thinking to create an XML template for the dbfunc1 using dbca and then create silently the database dbfunc2.
    My question is: is it possible to use the already created and configured listener in the hosts or I must create a new listerenr listeneing on new ports to support the database dbfun2? Perhaps, both DB will use the SCAN listener ...
    Thank you
    DiegoYou can have both configuration i.e. one local listener for host for both database or two seperate. But as a best pratice you can create seperate listener for new database just to have proper load balancing.
    Its obvious that finally SCAN listenr will handover its connections to host listener, so if you have only one then there would be more connection (handle by local listener) as compared to past(when you had only 1 database),
    Now you have 2 databases so connections would be more.

  • Restore Rac database in another cluster

    Hello, I have a rac database in a clusterware compose by two node, for example node_1 and node_2, but now I need to pass the rac database from this original cluster to another that already exist.
    I have two idea but I do not know if they are correct. One is create a template from my Rac database, and then in the second cluster create a rac database from it. The second idea is to make a copy of the pfile and level 0 RMAN backup in one node of the second cluster and then restore the database there.
    Maybe twice idea are bad or maybe exist a better form to do it. I hope you can help me.

    Hi,
    Well, I believe that I was not clear in my last explanation.
    The hypothetical scenario is:
    One database using ASM (database name orcl) , two inatances in two separated servers (nodes serv1 and serv2) and two instances ( orcl1 and orcl1).
    In this scenary I lost everything and just have the backups of spfile, controlfile, database and archives.
    So the steps to recovery is (using serv1):
    1- Create the cluster (install clusteware, create CRS/Vdisk, create ASM instance)
    2 - Just install the oracle files in all nodes serv1 and serv2, but don't create the instance orcl1 and orcl2.
    3 - restore/recover spfile - rman
    4 - restore/recover controlfile - rman
    5 - restore/recover database with until clause - rman
    After these steps the instance orcl1 will be restored by RMAN in the serv1 and the database orcl was created in the ASM.
    But, plese correct if I'm wrong, the instance and database will not be registered in CRS (RMAN not register the instance).
    So I need to registry the instance and database with srvctl, doing:
    1 - create PFILE in serv1 for orcl1 (that point to SPFILE in ASM) and ORAPWD file.
    2 - add the database orcl to CRS
    3 - add the instance orcl1 to CRS
    4 - add the dependency about ASM and orcl1 from the node serv1 (using srvclt)
    But after this I have the instance orcl2 in serv2 to create.
    Just the instance, because the binaries already installed and the database was already created.
    TO complete I need to do the steps:
    1 - Copy/Create PFILE for instance orcl2 in serv2
    2 - add the instance orcl2 to CRS (using srvctl add instance)
    3 - add the dependency about ASM instance (that exists in server2) and Instance orcl2 from the node serv2 (using srvctl)
    4 - create PFILE and ORAPWD file.
    The question is, RMAN will registry the instanci and database in CRS?
    Another question, the RMAN will create PFILE and registry all instances of the original cluster?
    I believe that not for two questions, correct?
    Exists another path to restore/recover the RAC in this scenary?
    Thanks.

  • Not able to start the RAC database service

    Hi Experts,
    I have created a RAC Database service . I have made two instances as preferred and no instance as available. When i am trying to start the service
    (srvctl start service -s newser -d newdb) , the command is hanging.
    Please help me out.
    Thanks and Regards.

    Hi Ivan,
    Grateful for the clue.
    We got the similar issue in the following 2 node RAC setting:
    - hpux 11.31 v3 (rx3600 series)
    - Oracle 10.2.0.4
    I discovered in the logs under $ORACLE_HOME/log/node_1/racg/imon_some_db.log" :
    2011-07-02 12:26:33.193: [ RACG][19] [3903][19][ora.bw_st.bw_st1.inst]: GIMH: GIM-00104: Health check failed to connect to instance.
    GIM-00090: OS-dependent operation:mmap failed with status: 12
    GIM-00091: OS failure message: Not enough space
    GIM-00092: OS failure occurred at: sskgmsmr_13
    Will try the patch to see whether gets fixed.
    Best Regards,

  • Can I use data guard to create a RAC standby database for a non RAC primary

    Hi,
    we need to RAC our production database but the normal methods will mean a long outage. It is possible to create a standby as a single node RAC database and when ready do a graceful failover to the standby database and open it for business. The next step would be to create another RAC node from this on the original server.
    servers are already cluster aware, using ASM etc
    Oracle 10.2

    Yes, you will be able to setup RAC stnadby for a non-RAC Primary. For primary it just needs a available destination for redo shipping it doesn't matter whether it's RAC enabled or not. And ofcourse you are using 10.2 anyway only one node will be running MRP and that is too in standby mount mode.
    However since you have are using You may follow below sequence.
    1. Setup a new standby as RAC enabled.
    2. Perform a switchover.
    3. Shutdown the Old primary (which is standby now).
    4. Install CRS and RDBMS on the old primary and it's new node.
    5. Modify the cluster_database=TRUE and cluster_database_instances=<required number of instances>.
        With above modification mount the standby database in standby mode and start MRP.
    6. Introduce the database and instances to the OCR using SRVCTL add command.
    7. Once you your database is synchronized with Primary do a switchover.
    9. Now you can repeat step 3 to 6 on the other site too.   <- if you need your secondary site to be RAC enabled too
    10. Finally both the sites should be RAC enabled.
    Hope this is helpful!!!
    Thanks,
    Asif Haliyal

  • Differences in creating a Standby database in RAC

    Hi All
       SO...: Solaris 11 SPARC 64
       DB...: 11.2.0.3.6 (64 bits)
       My experience regarding creating Physical Standby Databases is restricted in only single instances to single instances. I am reading the book "Oracle Database 11g Release 2 High Availability", but, in parallel, i would like to hear from the experienced DBAs here some opinions and recomendations in how to implement a RAC to RAC solution. Below are my doubts:
       1) In single instance, using RMAN Backup to create the Physical Standby, i have to create manually a static Listener Entry. But in a RAC env, the listener is a resource, so, i have to create that resource in the Clusterware manually, or there is other approach?
       2) I have to create a pfile and start the instance in NOMOUNT mode, but in RAC, i have to start all the nodes in NOMOUNT, or just one node is sufficient?
       3) The archives will be replicated from FRA to FRA. Is this the best approach?
       My main concern is with the Listener and SCAN questions... If you have any considerations, they will be most welcome.
       Thanks in advance.

    Following link might be helpful
    http://www.oracledba.org/11gR2/dr/11gR2_dataguard_RAC_to_RAC.html

  • Create RAC Database Connection in Sql Developer

    Hi All,
    Can you please let me know how to create a new connection for a RAC Database. When we use the scan IP and service name, it always displays the network adapter could not establish the connection, even though the listener and database are up and running. After repeatedly, trying atlease 20 times, then it will connect to the database. There are no issue while connecting to a single instance database.
    Thanks & Regards,
    Krishna

    Hi Krishna,
    You don't give any details about version numbers but, in general, the Basic connection type should work -- there is no need to use TNSNames. If you can connect to the RAC system via SQL*Plus with an EZConnect string, one would hope the same host/port/service works in SQL Developer for a Basic connection type. But that may be just a hope, I suppose, depending on your overall configuration for SCAN. Or perhaps you pass the full TNS descriptor to connect to SQL*Plus?
    In case of long thin RAC JDBC URL, presumably you mean including the full TNS descriptor in the url. I really did not find very much on the forums regarding SCAN, but searching more widely on the internet I note someone resolving a JDBC-specific issue (where SQL*Plus connects just fine) with comments like this: +"The host name in the connectiong string be the same as the init.ora parameter remote_listener and it should also match to the SCAN name. We should not include any domain names with SCAN name , remote_listername and with HOST setting in connecting string"+. So apparently you have to be very careful with the url specification.
    Hope this helps,
    Gary

  • Creating a RAC standby database for a single instance database

    Dear All,
    I have a task of migrating a 500GB single instance database to a two-node RAC database with a little downtime at hand. My migration strategy is to:
    1) Create a RAC physical standby for the Single Instance database
    2) Switchover to RAC standby.
    Primary and Standby OS and DB configurations:
    OS: Windows Server EE 2003 (64-bit)
    DB: Oracle 10g Database Release 2 (10.2.0.4)
    Oracle 10g Clusterware Release 2 (10.2.0.4)
    To create a RAC standby, I will:
    a) Install Clusterware (10.2.0.1)
    b) Install Database (10.2.0.1)
    c) Patch both Clusterware and Database (10.2.0.4)
    d) Create ASM instance for both the nodes (+ASM1 & +ASM2)
    e) create standby controlfile on primary
    f) Move standby controlfile, RMAN backup of primary, pfile, listener.ora, tnsnames.ora, password file to standby host-1
    g) make necessary changes to the pfile on standby host-1 like cluster_database, instance_name, thread, ...
    h) mount standby database and restore backup
    Kindly validate my steps and if there already exists such a document then please do provide me with a link.
    Regards

    Please refer to MAA whitet paper :
    [http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf]
    [MAA website|http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm]

  • DBCA: Issue Creating a cluster database in RAC

    Hello Expert,
    We encountered some issues while trying to create a cluster database. The issue is:
    When running DBCA to create a cluster database, we seem unable to bring up the screen where we can choose "Oracle Real Application Cluster database". It only allows us to create single instance database. We must have missed some steps. Any suggestions?
    1. Below are the specs:
    * OS: Enterprise Linux Enterprise Linux AS release 4 (October Update 6) 2.6.9 67.0.15.0.1.ELsmp
    * Oracle Version: 10.2.0.3 with cluster on 2 nodes (for example: xxx1 and xxx2)
    * CRS version: 10.2.0.3
    * Running ASM with DATA, REDO, TEMP, FRA diskgroups
    * OCR and Voting disk on shared raw devices
    2. Results from running crs_stat
    $ crs_stat -t
    Name           Type           Target    State     Host
    ora....D1.lsnr application    ONLINE    ONLINE    xxx1
    ora....rd1.gsd application    ONLINE    ONLINE    xxx1
    ora....rd1.ons application    ONLINE    ONLINE    xxx1
    ora....rd1.vip application    ONLINE    ONLINE    xxx1
    ora....D2.lsnr application    ONLINE    ONLINE    xxx2
    ora....rd2.gsd application    ONLINE    ONLINE    xxx2
    ora....rd2.ons application    ONLINE    ONLINE    xxx2
    ora....rd2.vip application    ONLINE    ONLINE    xxx2 3. Result from cluster verify on node 1...
    $ cluvfy stage -post crsinst -n xxx1
    Performing post-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "xxx1".
    Checking user equivalence...
    User equivalence check passed for user "oracle".
    Checking Cluster manager integrity...
    Checking CSS daemon...
    Daemon status check passed for "CSS daemon".
    Cluster manager integrity check passed.
    Checking cluster integrity...
    Cluster integrity check passed
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations.
    Uniqueness check for OCR device passed.
    Checking the version of OCR...
    OCR of correct Version "2" exists.
    Checking data integrity of OCR...
    Data integrity check for OCR passed.
    OCR integrity check passed.
    Checking CRS integrity...
    Checking daemon liveness...
    Liveness check passed for "CRS daemon".
    Checking daemon liveness...
    Liveness check passed for "CSS daemon".
    Checking daemon liveness...
    Liveness check passed for "EVM daemon".
    Checking CRS health...
    CRS health check passed.
    CRS integrity check passed.
    Checking node application existence...
    Checking existence of VIP node application (required)
    Check passed.
    Checking existence of ONS node application (optional)
    Check passed.
    Checking existence of GSD node application (optional)
    Check passed.
    Post-check for cluster services setup was successful. 4. Result from cluster verify on node 2
    $ cluvfy stage -post crsinst -n xxx2
    Performing post-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "xxx2".
    Checking user equivalence...
    User equivalence check passed for user "oracle".
    Checking Cluster manager integrity...
    Checking CSS daemon...
    Daemon status check passed for "CSS daemon".
    Cluster manager integrity check passed.
    Checking cluster integrity...
    Cluster integrity check passed
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations.
    Uniqueness check for OCR device passed.
    Checking the version of OCR...
    OCR of correct Version "2" exists.
    Checking data integrity of OCR...
    Data integrity check for OCR passed.
    OCR integrity check passed.
    Checking CRS integrity...
    Checking daemon liveness...
    Liveness check passed for "CRS daemon".
    Checking daemon liveness...
    Liveness check passed for "CSS daemon".
    Checking daemon liveness...
    Liveness check passed for "EVM daemon".
    Checking CRS health...
    CRS health check passed.
    CRS integrity check passed.
    Checking node application existence...
    Checking existence of VIP node application (required)
    Check passed.
    Checking existence of ONS node application (optional)
    Check passed.
    Checking existence of GSD node application (optional)
    Check passed.
    Post-check for cluster services setup was successful. Thanks!
    Edited by: user10454776 on Mar 14, 2009 7:40 PM
    Edited by: user10454776 on Mar 14, 2009 8:11 PM

    user10454776 wrote:
    Hello Expert,
    We encountered some issues while trying to create a cluster database. The issue is:
    When running DBCA to create a cluster database, we seem unable to bring up the screen where we can choose "Oracle Real Application Cluster database". It only allows us to create single instance database. We must have missed some steps. Any suggestions?Hello non-expert.
    Until you provide some hints about operating system for each of the RAC machines, the networking you have installed (and whether you have the interconnect running), the shared disk mechanism (and whether it is confirmed shared raw or ASM), the Oracle software versions, whether your systems passed cluster verify ... we would be wasting our time guessing.

  • Oracle not available while creating RAC database

    Hi,
    I have got 2node Oracle 10gR2 RAC installed on solaris 10 and am using NFS for keeping clusterware and database files.
    cluvfy with pre dbinst option ran successfully.
    Now while creating RAC database through DBCA, I am getting Oracle not Available error message. No relevant message written in alert log.
    Can you suggest me as to what to do to resolve the issue please.
    Thanks in advance.

    Do you see any kind of logs under $OH/cfgtool*/dbca/..may be it will help with some pointers. If that doesn't give any useful information, try to startup nomount the instance using a sample init.ora file to see if reports anything in the alert log.
    Thanks
    -Chandra

  • Error in creating control file for 2 node RAC database

    SQL> CREATE CONTROLFILE set DATABASE "SBLS" RESETLOGS NOARCHIVELOG
    2 MAXLOGFILES 192
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 1024
    5 MAXINSTANCES 32
    6 MAXLOGHISTORY 292
    7 DATAFILE
    8 '+SBLDATA/SBLTST/DATAFILE/system.dbf'
    9 '+SBLDATA/SBLTST/DATAFILE/sysaux.dbf'
    10 '+SBLDATA/SBLTST/DATAFILE/undotbs1.dbf'
    11 '+SBLDATA/SBLTST/DATAFILE/undotbs2.dbf'
    12 '+SBLDATA/SBLTST/DATAFILE/users.dbf'
    13 '+SBLDATA/SBLTST/DATAFILE/sbl_data.dbf'
    14 '+SBLDATA/SBLTST/DATAFILE/sbl_idx.dbf';
    '+SBLDATA/SBLTST/DATAFILE/sysaux.dbf'
    ERROR at line 9:
    ORA-01967: invalid option for CREATE CONTROLFILE
    Please advice.

    ASMCMD> pwd
    +sblDATA/SBLTST/DATAFILE
    ASMCMD> ls -l
    Type Redund Striped Time Sys Name
    DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SBL_DATA.258.815440497
    DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SBL_IDX.259.815441389
    DATAFILE UNPROT COARSE DEC 26 11:00:00 Y SYSAUX.272.802440861
    DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SYSAUX.282.804173239
    DATAFILE UNPROT COARSE MAY 29 13:00:00 Y SYSTEM.262.804173239
    DATAFILE UNPROT COARSE DEC 26 11:00:00 Y SYSTEM.271.802440859
    DATAFILE UNPROT COARSE MAY 29 14:00:00 Y UNDOTBS1.270.804173239
    DATAFILE UNPROT COARSE DEC 26 11:00:00 Y UNDOTBS1.273.802440861
    DATAFILE UNPROT COARSE MAY 29 14:00:00 Y UNDOTBS2.265.804173409
    DATAFILE UNPROT COARSE DEC 26 11:00:00 Y UNDOTBS2.279.802441035
    DATAFILE UNPROT COARSE MAY 29 14:00:00 Y USERS.264.804173239
    DATAFILE UNPROT COARSE DEC 26 11:00:00 Y USERS.274.802440861
    N sbl_data.dbf => +SBLDATA/SBLTST/DATAFILE/SBL_DATA.258.815440497
    N sbl_idx.dbf => +SBLDATA/SBLTST/DATAFILE/SBL_IDX.259.815441389                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • What's the best way to share JE environments between servlets?

    Hi, I'm happily serving requests for the same webapp (so single servlet) which uses multiple JE environments. In my case I have an environment for each db, one of these environments is a login details only db. Things work great, three questions thoug

  • How to calculate actual amount on PO

    Hi, I have to calculate tax and discount on Purchase order and have add that to ekpo-netwr to get the actual amount. Can you please tell me how to do that? So far I have been taking the EKKO-KNUMV and going to KONV table and serach for records with t

  • Has anyone found a solution to the iPhone not connecting to iTunes problem yet?

    Is there a solution? Or do we just have to wait for Apple to release another update?

  • Variable in Visual Composer NW2004s

    I new in Visual Composer. I read the "How To…Work with Variables in SAP NetWeaver Visual Composer", but I have a problem with the drop-down list. I following step by step the solution, using the dynamic list but when I run the model I find the drop-d

  • Some (dumb) questions re the TB display

    Have just connectewd a new TB display to my  late 2012 mac mini. It is awesome. Gigabit ethernet port Just wonder why one would connect the screen to the Gigabit ethernet port? I have the MM connected to the DSL modem so why do the screen? I can unde