Standby DB switch over error

Hi,
while switching primary to standby,switchover_status on primary is to standby,
then I given ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN;
command and getting below error
ERROR at line 1:
ORA-16014: log 1 sequence# 62 not archived, no available destinations
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\PDONDS\REDO01.LOG'
ORA-00312: online log 1 thread 1: 'C:\ORACLE\REDOLOGGROUP1\REDOB1.LOG'

Hi,
after switch over roles of databases,on both ( newstandby and newprimary) DBs relogs are like below,
SQL> select * from v$logfile;
GROUP# STATUS TYPE MEMBER
1 ONLINE D:\ORACLE\ORADATA\PDONDS\REDO01.LOG
2 ONLINE D:\ORACLE\ORADATA\PDONDS\REDO02.LOG
3 STANDBY D:\ORACLE\ORADATA\STANDBYREDOLOGS\STDREDOA1.RDO
1 ONLINE C:\ORACLE\REDOLOGGROUP1\REDOB1.LOG
2 ONLINE C:\ORACLE\REDOLOGGROUP2\REDOB2.LOG
4 STANDBY D:\ORACLE\ORADATA\STANDBYREDOLOGS\STDREDOA2.RDO
5 STANDBY D:\ORACLE\ORADATA\STANDBYREDOLOGS\STDREDOA3.RDO
3 STANDBY C:\ORACLE\STANDBYREDOLOGS\STDREDOB1.RDO
4 STANDBY C:\ORACLE\STANDBYREDOLOGS\STDREDOB2.RDO
5 STANDBY C:\ORACLE\STANDBYREDOLOGS\STDREDOB3.RDO
10 rows selected.
in the status column it is displying blank space
please let me know why it is showing blak space ?

Similar Messages

  • Standby switch over problem

    Hi,
    after giving statements on primary DB
    alter system set aq_tm_processes=0;
    alter system set job_queue_processes=0;
    the primary DB switch_over status not turn to to-standby.

    Why do you expect the switch over status to change after these two ALTER SYSTEM commands ?
    Are you following some (Incomplete) Instructions / Note / Document ?
    What is it that you are trying to do ?
    What are the steps in the instructions that you are referring to ?

  • Standby switch over

    Hi,
    I have set up a data guard configuration with one primary database and one physical standby.
    log apply services and log transfer services work correctly.but when i want to do as switchover operation,
    the output of the following query is always ((session active))
    select switchover_status from v$database.
    i have only one session (/ as sysdba) on primary and one in standby.
    where is the problem?
    thanks.

    Why do you expect the switch over status to change after these two ALTER SYSTEM commands ?
    Are you following some (Incomplete) Instructions / Note / Document ?
    What is it that you are trying to do ?
    What are the steps in the instructions that you are referring to ?

  • Switch over in an environment with multiple standby

    i currently have one primary and one physical standby, I am due to create standby no2 on a different server and then use the new standby as primary ( migrate current primary to a new system) .
    I like to know
    1. if i can create new standby using backup copy of current standby? how about creating it over network? Is it possible? ( I want to avoid load on production)
    2. what happens after I switch over to new standby ? will my current standby become invalid? what are the options and best practices?
    thanks in advance

    emre baransel wrote:
    Hi,
    Yes you can create a second standby with your standby database RMAN backups, also you can copy database files with ftp.
    If you setup log_archive_dest_x parameters properly, after switchover, new primary will continue to ship archivelogs to second standby.
    You should set something like this on the standby:
    LOG_ARCHIVE_DEST_2 = SERVICE=XXX LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=XXX
    Regardsthanks for the reply, how would the other standby know that primary has changed and it should recieve its data from a diffrent primary ?
    am I correct syaing standby tries any of the db names specified in LOG_ARCHIVE_CONFIG and accepts logs from whichever is primary at the time ?
    also i am not using rman catalog , can i still use backup of standby to create a new standby ?
    thanks

  • Weblogic Server Switch over automatically due to too many open files error.

    Hi,
    I am facing problem in production environment. I am using Weblogic 8.1 SP4 application.
    Weblogic Server automatically switch over every 3 weeks due to few reasons.
    1. out of memorry error.
    2. Too many open files error.
    Please see my below portalserver. log files. Kindly provide some good solution to solve this problem.
    The following log is portalserver.log file
    ###<May 6, 2009 8:28:15 PM ICT> <Notice> <WebLogicServer> <ebizdr> <portalServer> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000205> <After having failed to listen, the server is now listening on port 9001.>
    ####<May 6, 2009 8:28:15 PM ICT> <Critical> <WebLogicServer> <ebizdr> <portalServer> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000204> <Failed to listen on port 9001, failure count: 1, failing for 0 seconds, java.net.SocketException: Too many open files>
    ####<May 6, 2009 8:28:15 PM ICT> <Error> <HTTP> <ebizdr> <portalServer> <ExecuteThread: '5' for queue: 'default'> <<WLS Kernel>> <> <BEA-101019> <[ServletContext(id=18480784,name=NBIAProject,context-path=)] Servlet failed with IOException
    java.io.FileNotFoundException: /var/opt/weblogic/user_projects/domains/eBizPortalDomain/portalServer/.wlnotdelete/NBIAPortalApp/NBIAProject/images/go.gif (Too many open files)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at weblogic.utils.classloaders.FileSource.getInputStream(FileSource.java:23)
         at weblogic.servlet.FileServlet.sendFile(FileServlet.java:563)
         at weblogic.servlet.FileServlet.service(FileServlet.java:206)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<May 6, 2009 8:28:16 PM ICT> <Notice> <WebLogicServer> <ebizdr> <portalServer> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000205> <After having failed to listen, the server is now listening on port 9001.>
    ####<May 6, 2009 8:28:16 PM ICT> <Critical> <WebLogicServer> <ebizdr> <portalServer> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000204> <Failed to listen on port 9001, failure count: 1, failing for 0 seconds, java.net.SocketException: Too many open files>
    ####<May 6, 2009 8:28:16 PM ICT> <Error> <HTTP> <ebizdr> <portalServer> <ExecuteThread: '5' for queue: 'default'> <<WLS Kernel>> <> <BEA-101019> <[ServletContext(id=18480784,name=NBIAProject,context-path=)] Servlet failed with IOException
    java.io.FileNotFoundException: /var/opt/weblogic/user_projects/domains/eBizPortalDomain/portalServer/.wlnotdelete/NBIAPortalApp/NBIAProject/images/search_right.gif (Too many open files)
    Thanks & Regards,
    Suriyaprakash.V

    Sorry for the late resp. Here's what dev suggests be investigated:
    I would want to know:
    Can they do a "$ORACLE_HOME/bin/dmstool -dump" and
    save/compress/send the results?
    Are there any errors printed in the Apache error_log while this leak occurs?
    The customer could/should re-check their TCP settings, especially the TCP time wait interval and generally follow the TCP settings recommended in Chapter 5 of the iAS Performance Guide for 9.0.2.
    Is there anything else interesting/unusual about the site?
    Let us know how it goes.

  • Switch over

    Hi Experts,
    DB version: 10.2.0.4
    OS : Linux
    I need to perform Switch over, Unfortunately i have given "alter database recover managed standby database finish" on standby database now the status of standby database is "RECOVERY NEEDED"
    and the status in primary database is "NOT ALLOWED".
    When i start MRP - alter database recover managed standby database disconenct from session;
    the errors in alert log file as:
    Errors in file /u00/app/oracle/admin/OFMSREGT/bdump/ofmsregt_arc1_15597.trc:
    ORA-16143: RFS connections not allowed during or after terminal recovery
    Tue Feb 1 22:41:27 2011
    PING[ARC1]: Heartbeat failed to connect to standby 'OFMSREGT'. Error is 16143.
    Tue Feb 1 22:43:37 2011
    Incremental checkpoint up to RBA [0x80.52ee.0], current log tail at RBA [0x80.52ee.0]
    I need to perform SWITCH OVER, Tell how to perform??
    Edited by: Autoconfig on Feb 1, 2011 8:12 PM

    Hi,
    First you have to resolve the error you are getting so make sure archiving should not happen from primary to standby because you started recovery,once your recovery is completed.
    Than follow the below steps:
    IN mount stage:
    SQL> alter database commit to switchover to physical standby;
    select switchover_status from v$database;
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    TO PRIMARY
    SQL> alter database commit to switchover to primary;
    Database altered.
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    TO STANDBY
    If it is production database raise an SR.Hope it helps.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • Post switch over in oracle dataguard 11g

    Dear Guru,
    Switch over has been completed successfully from primary database to standby database.
    new primaray database is open and accessible but its showing his satus in v$database as below.
    database_role = primary
    switchover_status = not allowed
    db_unique_name = dg1_stdby
    old primaray database which is now standby showing his satus in v$database as below.
    database_role = physical standby
    switchover_status = session active
    db_unique_name = dg1_primy
    when check status in data guard broker its
    for both the databases - dg1_primy and dg1_stdby its showing error ORA-16810: multiple errors or warnings detected for the database.
    when checked dataguard log file on new primary server its showing
    ORA-16816: incorrect database role
    ORA-16700: the standby database has diverged from the primary database
    Please guide me how to resolved issue.
    Thanks & Regards,
    Nikunj Thaker

    Hi Nikunj,
    You can find the scenario, in the "Problem : Data Guard Broker Switchover fails With ORA-16665 using Active Data Guard", on metalink.oracle.com
    First of all manually complete the Switchover, ie. restart the Databases in its new Role. Note that the final Role Change has not been recognized by the Broker, so you have to rebuild the Data Guard Broker Configuration when the Databases have been restarted:
    DGMGRL> remove configuration;
    DGMGRL> create configuration ...
    DGMGRL> add database ...
    DGMGRL> enable configuration;
    Best regards,
    Orkun Gedik

  • Switch over pending

    When i execute alter database commit to switch over to primary --> oracle sens recover media requiered

    It may be due to following:
    1) Any of your datafile is in recover state.
    2) Might be a control file issue.
    Please post the exact error you are getting and your standby alert.log file.

  • Help required how to make automatic switch over on RAC2

    Hello Support,
    We have 11g R1 on windows 2003.
    User complained if node 1 of OracleRAC1 gets down, automatic switch over to RAC2 is not occuring and connection error occured.
    What steps to see, in order to make sure it should be performed automatically please?
    Thanks

    Hi Billy,
    TAF is a service ? Can it be connected on Apache Tomcat application server
    Oracle version 11.1.0.6
    Users are connect via Tomcat Application server with Oracle RAC having 2 nodes in it.
    Users don't receive data if node 1 (RAC1) goes down. connection error message.
    Where as if RAC2 is down user can still connect to RAC1 and can retrieve data.
    Outside note- I want to understand the difference with Public and VIP of Oracle. My current understanding and correct me if I'm wrong, users are connected with RAC1 Public IP and in case of failure , VIP of RAC1 take over and eventually RAC2 and so on....
    Thanks

  • Physical standby database fail-over

    Hi,
    I am working on Oracle 10.2.0.3 on Solaris SPARC 64-bit.
    I have a Dataguard configuration with a single Physical standby database that uses real time application. We had a major application upgrade yesterday and before the start of upgrade, we cancelled the media recovery and disabled the log_archive_dest_n so that it doesn't ship the archive logs to standby site. We left the dataguard configuration in this mode incase of a rollback.
    Primary:
    alter system set log_archive_dest_state_2='DEFER';
    alter system switch logfile;
    Standby:
    alter database recover managed standby database cancel;Due to application upgrade induced problems we had to failover to the physical standby, which was not in sync with primary from yesterday. I used the following method to fail-over since i do not want to apply any redo from yesterday.
    Standby:
    alter database activate physical standby database;
    alter database open;
    shutdown immediate;
    startupSo, after this step, the database was a stand alone database, which doesn't have any standby databases yet (but it still has log_archive_config parameter set and log_archive_dest_n parameters set but i have 'DEFER' the log_archive_dest_n pointing to the old primary). I have even changed the "archive log deletion policy to NONE"
    RMAN> configure archivelog deletion policy to none;After the fail-over was completed, the log sequence started from Sequence 1. We cleared the FRA to make space for the new archive logs and started off a FULL database backup (backup incremental level 0 database plus archivelog delete input). The backup succeded but we got these alerts in the backup log that RMAN cannot delete the archivelogs.
    RMAN-08137: WARNING: archive log not deleted as it is still neededMy question here is
    1) Even though i have disabled the log_archive_dest_n parameters, why is RMAN not able to delete the archivelogs after backup when there is no standby database for this failed-over database?
    2) Are all the old backups marked unusable after a fail-over is performed?
    FYI... flashback database was not used in this case as it did not server our purpose.
    Any information or documentation links would be greatly appreciated.
    Thanks,
    Harris.

    Thanks for the reply.
    The FINISH FORCE works in some cases but if there is an archive gap (though it didn't report in our case), it might not work some times (DOCID: 846087.1). So, we followed the Switch-over & Fail-Over best practices where it mentioned about this "ACTIVE PHYSICAL STANDBY" for a fail-over if you intend not to apply any archivelogs. The process we followed is the Right one.
    Anyhow, we got the issue resolved. Below is the resolution path.
    1) Even though if you DEFER the LOG_ARCHIVE_DEST_STATE_N parameter's on the primary, there are some situations where the Primary database in a dataguard configuration where it will not delete the archive logs due to some SCN issues. This issue may or may not arise in all fail-over scenarios. If it does, then do the following checks
    Follow DOCID: 803635.1, which talks about a PLSQL procedure to check for problematic SCN's in a dataguard configuration even though the physical standby databases are no available (i.e., if the dataguard parameters are set, log_archive_config, log_archive_dest_n='SERVICE=..." still set and even though corresponding LOG_ARCHIVE_DEST_STATE_N parameters are DEFERRED).
    If this procedure returns any rows, then the primary database is not able to delete the archivelogs because it is still thinking there is a standby database and trying to save the archive logs because of the SCN conflict.
    So, the best thing to do is, remove the DG related parameters from the spfile (log_archive_config, log_archive_dest_n parameters).
    After i made these changes, i ran a test backup using "backup archivelog all delete input", the archive logs got deleted after backup without any issues.
    Thanks,
    Harris.
    Edited by: user11971589 on Nov 18, 2010 2:55 PM

  • Manual switch over for maintenance

    Hi experts:
    Following are the steps for Manual Switch over from primary to standby
    connect /@PRIM as sysdba
    ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN;
    connect /@STAN as sysdba
    ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
    ON previous primary
    SHUTDOWN IMMEDIATE;
    SQL>STARTUP MOUNT;
    New Primary (previous stand by )
    ALTER DATABASE OPEN;
    I have primary & standby with protection mode maximize availability
    How can I vice versa the above process lets say my primary is down for maintenance & i want this as my primary again ?
    one more thing is that reports are generated from standby right now so it mean active dg is configured.
    Regards

    Hello;
    Try to remember if you databases are in sync its kind of like having one database in two different roles, Primary role and Standby role.
    Also if you want to do maintenance then don't issue this command after switchover, wait until the maintenance is complete and then issue it and Data Guard will catch up :
    alter system set log_archive_dest_state_2=enable;Once you have done a switchover its a good idea to do a log switch and make sure the new primary and standby are working correctly. Once you have done that the step to switch back are as follows : ( Do not use if you have Data Guard Broker setup )
    h3. Verify that it is possible to perform a switchover operation.
    SQL> select switchover_status from v$database;
    Note:All v$database switchover_status values are shown at the bottom of this page.
    If SWITCHOVER_STATUS returns SESSIONS ACTIVE then you should either
    disconnect all sessions manually or when performing step 2 you should append
    the with session shutdown clause. For example:
    SQL> alter database commit to switchover to standby with session shutdown;h3. Convert the primary database to the new standby
    SQL> alter database commit to switchover to standby with session shutdown;
    Note: This might take a few minutes.h3. Shutdown the former primary and mount as a standby database
    SQL> shutdown immediate
    Note: An ORA-01507: database not mounted is normal
    SQL> startup nomount
    SQL> alter database mount standby database;h3. Defer the remote archive destination on the old primary
    SQL> alter system set log_archive_dest_state_2=defer;h3. Verify that the physical standby can be converted to the new primary
    QL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    TO PRIMARY
    Note that if the status returns SESSIONS ACTIVE then you should append the with session shutdown clause to the command in step 6.h3. Convert the physical standby to the new primary ( step 6 )
    SQL> alter database commit to switchover to primary;h3. Shutdown and startup the new primary
    SQL> shutdown immediate
    ORA-01109: database not open
    SQL> startuph3. Enable remote archiving on the new primary to the new standby
    SQL> alter system set log_archive_dest_state_2=enable;h3. Start managed recover on the new standby database
    SQL> recover managed standby database disconnect;
    Media recovery complete.
    SQL>
    Note: It’s a good idea to perform a log switch on the new primary.
    SQL>alter system switch logfile;Best Regards
    mseberg

  • Dataguard switch over connection

    Hi all,
    suppose we configured dataguard in high protection mode. Now all the users are connecting to primary database.
    Primary netservice name is prim and standby netservice name is stand,
    Now if we switch over this primary database to standby and standby to primary to which database users are going to connect. how they connect to current primary database (previously it was standby).
    How application will connect to the primary database (previously it was standby). all the applications will be using prim netservice name right...? what would be stuff from dba's end.
    Please let me know.
    Thank you!

    Hi;
    There is seeded dg forum site. For your future issue i suggest close your thread here as changing thread status to answered and move it to Oracle Discussion Forums » High Availability » Data Guard which you can get more quick response
    Regard
    Helios

  • Switch over for oracle application

    Hi Guru
    By using dataguard we can achieve switch for database but i need how to configure switch over on oracle apps 11i
    Thanks
    user7300437

    Hi,
    Please see section 5 in
    Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g [ID 216212.1]
    Section 6.1 in
    Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC [ID 1068913.1]

  • Physical/Logical Switch Over

    Hi Champions,
    I just want to know what is the diffrence in logical and physical standby switch Over.
    DGMGRL's process how internal process works.
    any suggesion is appriciated.
    Regards,
    Shitesh Shukla

    Here you go....
    http://ayyudba.blogspot.com/2007/10/performing-switchover-in-data-guard.html
    Hope this helps,
    Regards
    Duplicate RAC Database using RMAN
    http://www.oracleracexpert.com/2009/12/duplicate-rac-database-using-rman.html
    Send EMAIL using UTL_MAIL in Oracle
    http://www.oracleracexpert.com/2009/11/send-email-using-utlmail-in-oracle-10g.html

  • Switch Workspace error message after update to 4.5.1

    I don't think this is a big deal compared to some of the other upgrade issues people seem to be having, but when I launch 4.5.1 I get the "Switch Workspace" error message. Checking the box seems to make it go away the next time I launch FB 4.5.1.
    When I upgraded from FB4 to FB4.5 I exported my workspaces/projects over a new directory, which was kind of a pain. Checking that "Do not... " is probably the better approach if it doesn't affect the workspace.

    Digital Editions is supported via webcase only, at http://www.adobe.com/support/contact. There is no phone support, so if you phoned support and were given an incorrect answer we'd like to know (the correct answer would have been to create a support case for you!)
    If you have more specifics on where you were told that there was no support except forums please let me know so we can attempt to correct it.
    What we now have on this thread are two different errors, probably unrelated.
    W_ADEPT_CORE_USER_CREDENTIALS_NOT_FOUND
    I don't know what this one means exactly yet. Asking Engineering for more info. In the meantime please do open a support case.
    "441 Could not authenticate..."
    This means that the request back to the authentication server failed for some reason. There can be a number of reasons for this. If this is an ebook from a vendor contact the vendor first and make certain it's not an activation error on their end. Also check to see if you get similar errors on the free books at http://www.adobe.com/products/digitaleditions/. Errors with the free books would indicate a possible network problem such as a firewall or some caching preventing the call back to the activation server from working.
    Regards,
    Bentley Wolfe
    Senior Support Engineer, Flash/Flash Player
    Adobe

Maybe you are looking for

  • Generate Insert Statement Script to Extract Data from Table in Oracle 7i

    Hi all, I have an old Oracle legacy system that is running for over 15 years.Every now and then we need to extract data from this table@ ORacle 7i to be imported back to Oracle 10G. My thoughts are to create a script of Insert statements in oracle 7

  • Tool tips/ java

    Hi- I am working on a form in ES with a submit button. I am currently having issues with people hitting submit more than once, because when the PDF is submitted it takes time, and they are not sure they have done it right instead of waiting for the c

  • Hard Drive Spin Down....Good or Bad??

    'Two questions, really, but first some background.  I have an earlier Mac Pro running 10.7.3 (as I recall).  I also have a Sonos music system.  All the hard drive bays in the Mac Pro are occupied.  The first has a 2 TB Western Digital RE that has my

  • How to disable the flash and sound of the camera o...

    would I like to know how I do to disable the Flash and sound of the camera of N73? or does anybody know about some software that makes that?

  • Java risk on MAC

    How much is running Java a risk with  mountain Lion? Do I need to remove it? I have a couple of remote work platforms that require it for me to log in Message was edited by: skinnerpdx