Rac thread ARCs to single standby

We're testing a new 2-node RAC with a single-instance standby server. Since we only have standard edition, we don't have Data Guard available - we FTP the archive logs for both RAC threads out of ASM into a local directory and apply them to the standby with 'RECOVER AUTOMATIC STANDBY DATABASE'.
However, when one of the RAC nodes is down, the standby can't apply logs because it's waiting for the next log from the node that is down before continuing - Even though the UP node is doing work.
Is this normal? Should I be worried?
Ultimately it should only be a problem if a single RAC node dies - and the standby's only there in case the whole RAC dies - but I'm wondering if there's any way I can do this standby recovery when a single node is down (broken or shutdown for maintenance).
Thanks in advance.

>>However, when one of the RAC nodes is down, the standby can't apply logs because it's waiting for the next log from the node that is down before continuing - Even though the UP node is doing work.
standby should work in following scenario,becauase one node is still available.
post the output when one node is not available.
select * from (select inst_id,sequence#,next_time from gv$archived_log order by 3 desc) where rownum<50;
also post standby alertlog file when this problem occurs.

Similar Messages

  • 11gR2 dataguard using a primary 2 node RAC and a single standby

    Hi,
    I need to implement dataguard between 11gR2 RAC db to a single standby. How do I proceed?
    Secondly, I need to timely apply the archive log i.e I need the dataguard to be in SYNC mode only in the night and the standby in read only
    mode rest of the times. Can I achieve this using dataguard broker? If yes, can you please provide me the steps?
    regards,
    Ram

    Doing that would require jobs again.
    In your example:
    9 am:
    alter database recover managed standby database cancel;
    -- here you can actually specify anything greater 780 because of the cancel at 10 pm; this is just to make sure the archive logs are being shipped.
    alter database recover managed standby database delay=780 disconnect from session;
    -- and, if your requriement is still to have the standby open read only
    alter database open read only;
    10 pm:
    shutdown immediate;
    startup nomount;
    alter database mount standby database;
    alter database recover managed standby database cancel;
    alter database recover managed standby database using current logfile disconnect from session;
    with that setup:
    - your standby stops recovering at 9am
    - the archive logs of the primary will still be shipped to your standby side for any emergency
    - you'll have an open read only standby from 9am to 10pm
    - the archive logs will be real time applied from 10pm to 9am
    Note that this is just theory at the moment, I don't have a test set up like this. But it should give you an idea of what's possible and in what way you can accomplish your needs.

  • 9i RAC to single standby DB with Data guard

    hello gurus,
    I have a question, Im trying to set up a standby database.
    The primary DB would be a two node 9i RAC R2, to a one single standby DB.
    I done this already. My question is if I can use data guard with this type of configuration. I have try to configured it with OEM and the GUI does not support this.
    does any one know if this can be achieve using dataguard's CLI??
    thanks

    well that is something out of my reach for the moment.
    I have to do everything on 9i.
    I have the standby environment running already, i just want to make my life easier trying to ad min this environment using data guard

  • Single standby for cluster primary DB

    hi
    I'm looking for some paper and advices if it's possible /how/ to setup a single standby server for primary DB which is 2-nodes RAC cluster.
    I use 11.2 Std Ed. on Win2008 svr R2.
    Note, it's a Standard Oracle Ed.
    I saw some document on replicating single primary server, but I'd like also to find out how is it with above config: RAC primary <-> single standby.
    In particular, how to deal with 2 threads of archivelogs?

    g777 wrote:
    hi
    I'm looking for some paper and advices if it's possible /how/ to setup a single standby server for primary DB which is 2-nodes RAC cluster.
    I use 11.2 Std Ed. on Win2008 svr R2.
    Note, it's a Standard Oracle Ed.
    I saw some document on replicating single primary server, but I'd like also to find out how is it with above config: RAC primary <-> single standby.
    In particular, how to deal with 2 threads of archivelogs?
    Hi,
    You can find the details step by step in here
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-10g-racprimarysingleinstance-131970.pdf
    Hope this helps
    Cheers

  • Upgrade 10.2.0.4 RAC to 11.2.0.2 RAC using a transient logical standby?

    Has anyone performed a successful upgrade from 10.2.0.4 RAC to 11.2.0.2 RAC using a transient logical standby? I found one reference to this white paper "http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-transrollupg-168590.pdf" that describes steps to us transient logical standby to upgrade to 11.1.0.6 but I wasn't sure if it also works for upgrades to 11.2.0.2.
    I have a 3 node 10.2.0.4 RAC cluster running on rhel 4.8 with a 3 node dataguard physical standby (which the customer want to keep as a physical standby after the upgrade) that I need to upgrade to 11.2.0.2 with as little downtime as possible. This approach seems like a possible solution but I want to know if it is proven.

    Hi,
    I have a 3 node 10.2.0.4 RAC cluster running on rhel 4.8 with a 3 node dataguard physical standby (which the customer want to keep as a physical standby after the upgrade) that I need to upgrade to 11.2.0.2 with as little downtime as possible. This approach seems like a possible solution but I want to know if it is proven.I suggest you to log a S.R and confirm the same.
    thanks,
    X A H E E R

  • Clone multi-node RAC and ASM to single node

    Hi everyone.
    I need clone system with 3 application server and 2 oracle database RAC and ASM to single-node. The operating system is RHEL 5.
    I see some metalink notes, but we can't found nothing. I find notes with multi-node to single-node, but nothing with RAC to non-RAC.
    The eBS version is 11.5.10.2 and database version is 10.2.0.3
    Is possible this clone?
    Thanks very much.

    Hi User;
    Please follow below and see its helpful:
    EBS R12 with RAC and non-RAC
    Re: RAC to single instance ebs R12
    Re: Clone Oracle Apps 11.5.10.2 RacDB to Non-RAC DB
    Re: CLONING R12 RAC to NON RAC CLONING giving error RMAN-05517 temporary file
    [b]Migrating the DB-Tier (DB and CM) to Two node non RAC cluster[/b]
    Also check:
    http://www.oracle.com/technology/pub/articles/chan_sing2rac_install.html
    Regard
    Helios

  • Feasibility of making a RAC installation on a single machine

    Hii,
    Is it possible to make a RAC installation on a single machine using oracle 11gR2?If so, how?Pls guide me through.

    Feasible? ... certainly. Meaningful ... no!
    There are a number of reasons one might wish to implement RAC ... horizontal scaling and high availability come to mind. With a single machine both are impossible.
    Want to do this for purposes of personal training? ... Waste of time as you can not really learn how to build and maintain a real cluster. Far better to go to eBay, pick up a used 800 series or more recent NetApp, and create the real thing.

  • Managing Multiple threads accessing  a single instance of a class

    Hi,
    i have to redesign a class, say X, in such a way that i manage multiple threads accessing a single instance of the class, we cannot create multiple instances of X. The class looks like this:
    Class X{
    boolean isACalled=false;
    boolean isInitCalled=false;
    boolean isBCalled=false;
    A(){
    isACalled=true;
    Init(){
    if(!isACalled)
    A();
    B();
    C();
    isInitCalled=true;
    B(){
    if(!isACalled)
    A();
    isBCalled=true;
    C(){
    if(!isACalled)
    A();
    if(!isBCalled)
    B();
    }//end of class
    Init is the method that would be invoked on the single instance of this class.
    Now i cannot keep the flags as instance variables coz different threads would have differrent status of these flags at the same time, hence i can make them local, but if i make them local to one method, the others won't be able to check their status, so the only solution i can think of is to place all the flags in a hashtable local to method INIT AND INITIALIZE ALL OF them to false, as init would call other methods, it would pass the hashtable reference as an additional parameter, the methods would set the flags in the hashtable and it would be reflectecd in the original hashtable, and so all the methods can have access to the hashtable of flags and can perform their respective checks and setting of flags.
    This all would be local to one thread, so there's no question of flags of one thread mixin with the flags of some other thread.
    My question is :
    Is this the best way, would this work?
    In java, everything is pass by value, but if i pass the hashtable reference, would the changes made inside the called method to the hashtable key-value would be visible in the original hashtable declared inside the calling method of which the hashtable is local variable?

    In Java object variables are passed "by copy of reference", and primitive variables "by value".
    The solution with HashMap/Hashtable you suggest is ok, but I think you should read about ThreadLocal class:
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ThreadLocal.html

  • How to Create Manual Standby for a Oracle 11g RAC with ASM to Single Instan

    Hi All,
    I have a task to configure a Single Instance Standby Database with ASM for 2-node Primary RAC+ASM database.
    Version using : 11.1.0.6 Oracle 11g --- *" STANDARD EDITION "* Please note datagaurd will not be supported in standard edition.
    Primary database - 2 -Node RAC using ASM storage (All datafiles, redologs, controfile and archive logs)
    Need to setup a single instance standby database manually and than using scripts to transfer the archive logs from primary server to standby server to do recovery time to time.
    Please let me know if there are any configuration document(s) which can help me to set the manual standby? or need your kind help to give your valuable ideas how to go in above situation.
    Thanks in advance

    Niall Litchfield wrote:
    El DBA wrote:
    Well if the archive logs are stored in ASM on the primary nodes, you almost definitely want to be using RMAN to access them. Then to transfer between primary and standby there are many options, this is essentially the step that Data Guard takes care of - so if you (and I) are running Standard Edition, this is the part to "worry" about.
    I'm not really sure what you mean by this:
    As in standard edition the archive destination will be on ASMI don't think the Edition of Oracle (Standard or Enterprise) dictates where and how you store your archive logs, but it's possible I've misunderstood what you mean...SE dictates that database storage for RAC will be ASM, including archive log files. Anything else is not officially supported. I haven't tested but it may be that you can use LOG_ARCHIVE_DUPLEX_DEST to specify a local filesystem for archive log files as well.
    If that doesn't work you'll have to script rman "backup as copy" jobs regularly and then transport the results of that.
    Niall Litchfield
    http://www.orawin.info/
    By the way, it seems Robert has been pretty helpful, it's polite to give him some points dude. And since this is your thread, not mine, give him a "helpful" from me too :p
    El DBA
    Incidentally if you are forced down the RMAN backup as copy route then this will likely throw your current backup retention strategy somewhat, you'll need to think carefully about when an archivelog can be deleted following backup, how many times it might be backed up and so on. I do understand, and have argued for, the use of SE RAC. I also understand and have argued for and implemented manually managed standby a number of times. However by the time your primary database is a RAC instance and you need a standby for DR etc then you really have to look very seriously at whether Standard Edition is still the right investment or not. You will be spending a lot of DBA time managing and troubleshooting this, and you will find that it is less reliable than the off the shelf solution. I suspect that you are very close to the point where an EE installation becomes a worthwhile investment here.
    Niall Litchfield
    http://www.orawin.info/

  • How does a RAC DB 'spread' from single instance to multiple instances ?

    GI/RDBMS Version: 11.2.0.3
    OS: Oracle Linux 6.3
    Filesystem : ASM
    When a RAC database is created using dbca , Manually , or RMAN restore, the DB is created in the Node1 first with cluster_Database=FALSE .
    Then you run the following commands (for 3-node RAC)  from Node1
    srvctl add database -d lmnprod -o $ORACLE_HOME -p +LMNPROD_DATA01/lmnprod/spfilelmnprod.ora
    srvctl add instance -d lmnprod -i lmnprod1 -n hwcarser290
    srvctl add instance -d lmnprod -i lmnprod2 -n hwcarser291
    srvctl add instance -d lmnprod -i lmnprod3 -n hwcarser292
    Once the DB is created,mounted and opened in Node1 and the above commands are executed , you set cluster_Database=TRUE and startup the Instance2 and Instance 3 in Node2 and Node3.
    I just want to know how does Node2 and Node3 becomes aware of the DB and joins the DB cluster ? What happens internally ?

    Generally speaking, registering in OCR is not required for database to be a cluster database.
    Migration from single-instance database to cluster consists of creating redo logs and undo tablespace for new instance and enabling this instance (thread). If database is policy-managed, this is done automatically for new node.

  • 3 node RAC database need to build standby database

    Respected DBA's
    I have create 3 node rac architecture now i want create a single instance standby database is anyone tell me the steps or any documentation to consult.
    thanks

    See the [ MAA Home page|http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm#Database] for " [MAA 10g Setup Guide: Creating a Single Instance Physical Standby Database for a RAC Primary Database|http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimarySingleInstancePhysicalStandby.pdf] "

  • RAC Thread# 0

    Hi,
    I have noticed that our standby RAC shows thread#=0 (zero) in v$standby_log view. Whaere as primary doesn't have thread# 0. Is this expected behaviour? Or the DBA may had created these using thread# 0?
    Thanks.

    Both primary and standby has 16 standby redo logs. Primary has 8 logs for both thread 1 and 2. Following is the list of standby redo logs.
    SQL> select thread#, group#, status
      2  from v$standby_log
      3  order by thread#, group#;
       THREAD#     GROUP# STATUS
             0         14  UNASSIGNED
             0         15  UNASSIGNED
             0         16  UNASSIGNED
             0         17  UNASSIGNED
             0         18  UNASSIGNED
             1          8  ACTIVE
             1          9  UNASSIGNED
             1         12  UNASSIGNED
             1         13  UNASSIGNED
             1         21  UNASSIGNED
             1         22  UNASSIGNED
             2          7  UNASSIGNED
             2         10  ACTIVE
             2         11  UNASSIGNED
             2         19  UNASSIGNED
             2         20  UNASSIGNED
    16 rows selected.
    SQL>

  • Max no# of threads in a single session

    Hi all,
    I have a scenario wherein I have connected to SAP from JAVA using XBP interfaces.
    I want to call BAPI_JOB_DEFINITION_GET concurrently in a single session using sync threads. The problem what I am facing here is, I am able to handle 15 to 20 connections but for high volumes of threads(50) the JVM is crashing.
    I guess there is some limit set from SAP end.
    Could anybody provide any suggestions or advice about, the maximum number of connections and how can I set the parameter to modify the limit.
    Thanx in advance
    Milind.

    This topic should be posted in the Java Programming section, not the xMII section...

  • Threaded Queries from Single static Connection object - Good approach?

    Hi,
    I need to generate a report where I need to query count(1) from over one hundred tables from oracle 10g database. I am not updating or deleting any record.
    My approach is to use a single static connection object and create one thread for each table and capture the result back into a static hashtable.
    But still, I am not getting any substantial performance improvement. Earlier, my report took 40 minutes, when it was non-threaded and now it takes 30 minutes.
    Is there anything more I can do to make my report get the counts faster? Will a connection pool help?

    Tolls wrote:
    jschell wrote:
    I was told by the DBA that count(1) works faster than count(*)....that's why....Unlikely. Certainly not true in current versions of Oracle if that is the source.Not unlikely, actually not true. Beneath the hood Oracle turns a count(1) into a count(*) in order to deal with this. Why? Because count(1) is turned into count(*) in order to avoid it being slower (Oracle 7 was the last time count(1) was different). And the reason generally given is because so many people were mistakenly using count(1) thinking it performed better that they decided to put in the "conversion" to fix the silly queries.
    I think this it the [Ask Tom|http://asktom.oracle.com/pls/asktom/f?p=100:11:109792721681931::::P11_QUESTION_ID:1156159920245] link I used last time this came up here.
    I knew all that, but I missed that the OP had specified the database vendor and version.

  • Data pump export full RAC database  in window single DB by network_link

    Hi Experts,
    I have a window 32 bit 10.2 database.
    I try to export a full rac database (350G some version with window DB) in window single database by dblink.
    exp syntax as
    exdpd salemanager/********@sale FULL=y DIRECTORY=dataload NETWORK_LINK=sale.net DUMPFILE=sale20100203.dmp LOGFILE=salelog20100203.log
    I created a dblink with fixed instance3. It was working for two day and display message as
    ORA-31693: Table data object "SALE_AUDIT"."AU_ITEM_IN" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEPOPULATE callout
    ORA-01555: snapshot too old: rollback segment number with name "" too small
    ORA-02063: preceding line from sale.netL
    I stoped export and checked window target alert log.
    I saw some message as
    kupprdp: master process DM00 started with pid=16, OS id=4444
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_FULL_02', 'SYSTEM', 'KUPC$C_1_20100202235235', 'KUPC$S_1_20100202235235', 0);
    Tue Feb 02 23:56:12 2010
    The value (30) of MAXTRANS parameter ignored.
    kupprdp: master process DM00 started with pid=17, OS id=4024
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_FULL_01', 'SALE', 'KUPC$C_1_20100202235612', 'KUPC$S_1_20100202235612', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=18, OS id=2188
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_FULL_01', 'SALE');
    In RAC instance alert.log. I saw message as
    SELECT /*+ NO_PARALLEL ("KU$") */ "ID","RAW_DATA","TRANSM_ID","RECEIVED_UTC_DATE ","RECEIVED_FROM","ACTION","ORAUSER",
    "ORADATE" FROM RELATIONAL("SALE_AUDIT"."A U_ITEM_IN") "KU$"
    How to fixed this error?
    add more undotbs space in RAC instance 3 or window database?
    Thanbks
    Jim
    Edited by: user589812 on Feb 4, 2010 10:15 AM

    I usually increate undo space. Is your undo retention set smaller than the time it takes to run the job? If it is, I would think you would need to do that. If not, then I would think it would be the space. You were in the process of exporting data when the job failed which is what I would have expected. Basically, DataPump want to export each table consistent to itself. Let's say that one of your tables is partitioned and it has a large partition and a smaller partition. DataPump attempts to export the larger partiitons first and it remembers the scn for that partition. When the smaller partitions are exported, it will use the scn to get the data from that partition as it would have looked like if it exported the data when the first partiiton was used. If you don't have partitioned tables, then do you know if some of the tables in the export job (I know it's full so that includes just about all of them) are having data added to them or removed from them? I can't think of anything else that would need undo while exporting data.
    Dean

Maybe you are looking for

  • HP 1410 all-in-one Scanned Pictures not Saved

    Recently upgraded my pc to windows 8.1 but the HP 1410 all-in-one printer scanner will  not save scanned pictures.  I attempt to "scan to file" but when I click finish I receive the option to scan more pictures or end (done).  W"done" when I click do

  • Shuffled podcasts played one at a time

    I created a smart playlist with Podcast equals true. When I play it in shuffle mode, it plays just one podcast at a time. It simply stops after each track. If I play the playlist without shuffle, it correctly goes from podcast to podcast. This is jus

  • Standard processes in RDS for plant maintenance

    Does RDS support below process as best practice OR from below list which processes are available in RDS. Corrective Maintenance Break down Maintenance Preventive Maintenance ( Multi-counter, single Cycle, Strategy base) Shutdown Project oriented Refu

  • Replace content smart objects doesnt work properly.

    Hello fellow Photoshoppers, Currently i am working on reusable album templates with smart objects. At first i was very enthusiastic but this was soon to end. as the replacing doesnt work properly. I made the smart object by using: 1. > file 2. > plac

  • Link SHIPPMENT and delivery in routine (TCode VOFM)

    Hi Friends,     I want to link SHIPPMENT(application V7) and delivery (V6) in routine (TCode VOFM). is there any routine or routine structure with the combination of both. Thanks in advance. Vallamuthu.M