Switchover/Failover of Database

HI guys
Have implemented 10g dataguard -> all ok.
Problem I have is if I succcessfully switchover, the standby listener still retains the active 'service_name' and the clients when connecting get ORA-01033: ORACLE initialization or shutdown in progress.
I tried creating trigger to update service_name as per DOCO eg Note:316740.1 and http://www.lazydba.com/oracle/0__147296.html
This doesn't seem to work. The services on both the new PROD and STDBY are still both registering the global service name with each listener - so hit the same ORA-01033: ORACLE initialization or shutdown in progress.
Whats the normal procedure (in detail please) of allowing applications to connect to new production server after switchover/failover ?? [Justin ?]
eg
1) DNS
2) SQLNET
thanks

HAs anyone else seen this issue - obviously I can shutdown the listener but thats not good for the broker communications - in 9i you could use a trigger - the doco says the same in 10g -> but doesn't seem to work ??
Have raised SR also.

Similar Messages

  • Primary and standby init file (switchove/failover)

    I have created standby database, its working fine, and logs are copying and being applied. I have successfully opened standby database in read only mode.
    Now I want to perform switchover and failover, please check parameters in init file that I have added.
    Primary database init file :
    *.control_files='D:\oracle\product\10.2.0/oradata/primary/\control01.ctl','D:\oracle\product\10.2.0/oradata/primary/\control02.ctl','D:\oracle\product\10.2.0/oradata/primary/\control03.ctl'
    *.db_name='primary'
    *.db_unique_name='PRIMARY'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primaryXDB)'
    *.log_archive_dest_1='location=D:\oracle\product\10.2.0\oradata\archive'
    *.log_archive_dest_state_1=ENABLE
    *.log_archive_dest_state_2=ENABLE
    *.log_archive_dest_2='SERVICE=standby LGWR ASYNC'
    *.log_archive_format='arc_%s_%t_%r.arc'
    *.fal_client='PRIMARY'
    *.fal_server='STANDBY'
    standby database init file :
    *.control_files='D:\oracle\product\10.2.0/oradata/primary/STANDBY_CONTROL.CTL'
    *.db_name='primary'
    *.db_unique_name='STANDBY'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primaryXDB)'
    *.log_archive_dest_1='location=D:\oracle\product\10.2.0\oradata\archive'
    *.log_archive_format='arc_%s_%t_%r.arc'
    *.log_archive_dest_state_2=ENABLE
    *.fal_server='PRIMARY'
    *.fal_client='STANDBY'
    *.standby_file_management=auto
    Please let me know if I need to add/modify any parameter to perform switchover & failover operations.
    Regards.

    Have a look on the below links:
    http://www.orafaq.com/wiki/DataGuard_implementation_for_Oracle_10gR2_
    http://emrebaransel.blogspot.com/2008/08/dataguard-switchover-guide-physical09.html_

  • Performing Switchover  Failover

    Most respected experts,
    i want to perform switchover, failover scenarios in my test dataguard environment.
    i want to know that
    1. What parameters do i need to change in parameter files, NETWORK configuration files ?
    2. Moreover my standby db in which mode ( (i) maximum performance (ii) maximum protection (iii) maximum availability
    i mean does this mode affect our failover , switchover operation.
    3.Is there any other important things which we have to follow to perform failover , switchover
    plz reply
    regards

    Rehan Tayyab wrote:
    1. What parameters do i need to change in parameter files, NETWORK configuration files ?
    You can configure network to communicate with primary site, depending on database role (using services, and triggers on db role change )
    2. Moreover my standby db in which mode ( (i) maximum performance (ii) maximum protection (iii) maximum availability
    i mean does this mode affect our failover , switchover operation.
    Switchover/failover in Maximum Protection mode will hung your env unless you set log_archive_dest_state_n pointing to your old primary to DEFER
    3.Is there any other important things which we have to follow to perform failover , switchover
    One of the most important - put Primary into Flashback mode before failover. Without Flashback you need to recreate Primary after failover.

  • Dataguard switchover & failover testing

    i want to build new physical & logical dbs just for testing & learning, as per menalink notes 736863.1 & 748595.1
    wondering that configuration will let me test switchover & failover testing?

    Hi there,
    Those notes help you to build a proper data guard configuration in both Physical and Logical Standby enviromnment.
    I would also recommend to check:
    - [The Oracle online documentation|http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/toc.htm]
    - [Oracle Maximum Availability Architecture site on OTN|http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm]
    These documents can provide a big picture of Data Guard configurations from different approaches as well as I would also recommend to learn and practice more advanced techniques and features such as Flasback database, Fast-start-failover or Cascaded destinations.
    Hope this helps,
    Good luck and regards,
    Jozsef

  • Consideration of DBFS when doing a switchover/failover to standby

    Can anyone let me know if i can configure the DBFS separated from the Production database with a dataguard standby to reduce the impact on my production database?

    Hello;
    Yes. To me a failover is a last resort. Ask yourself a few questions:
    Does my business require 100 percent uptime?
    How long will the Primary not be available?
    How long and how will I recover from the failover?
    Can I do a switchover instead?
    Every year we power down the main server room for a weekend. What I do is a switchover and then a switch back after the old primary comes up as the standby and catches up.
    Here are my failover test notes:
    http://www.visi.com/~mseberg/data_guard/Data_Guard_Failover_Test_using_SQL.pdf
    This may help too:
    Rolling a Standby Forward using an RMAN Incremental Backup To Fix The Nologging Changes (Doc ID 958181.1)
    Best Regards
    mseberg

  • SQL 2012 AlwaysOn cluster IP not moving after failover, causing database to be read-only

    SQL Server Cluster Name: SQLDAG01
    SQL Server Cluster IP: 10.0.0.50
    Cluster Listener IP: 10.0.0.60
    Node 1 Name: SQL01
    Node 1 IP: 10.0.0.51
    Node 2 Name: SQL02
    Node 2 IP: 10.0.0.52
    Everything is fine when SQL01 is the primary. When failing over to SQL02, everything looks fine in the dashboard but for some reason the cluster IP, 10.0.0.50, is stuck on node 1. The databases are configured to provide secondary read access. When executing
    a query on SQLDAG01, I get an error that the database is in read-only mode. Connectivity tests verify that SQLDAG01, 10.0.0.50, connects to SQL01 even though SQL02 is now the primary.
    I've been Googling this for the better part of the day with no luck. Any suggestions? Is there a Powershell command force the cluster IP to move to the active node or something? Also I'm performing the failover as recommended, from Management Studio connected
    to the secondary node.

    This was the answer, it had been setup to use the cluster name instead of the application name. Whoever installed Sharepoint connected it to SBTSQLDAG01 instead of SHAREPOINT01. Once we changed Sharepoint to connect to SHAREPOINT01, the failover worked as
    expected. We did have a secondary issue with the ARP cache and had to install the hotfix from http://support.microsoft.com/kb/2582281 to resolve it. One of the Sharepoint app servers was failing to
    ping the SQL node after a failover, the ARP entry was stuck pointing to the previous node. This article actually helped a lot resolving that: http://blog.serverfault.com/2011/05/11/windows-2008-and-broken-arp/
    One thing I did notice is that the SQL failover wizard does not move cluster groups "Available Storage" and "Cluster Group", I had to move those through the command line after using the wizard. I'm going to provide the client with a Powershell script that
    moves all cluster groups when they need to do a manual failover. This also happens to be why the Sharepoint issue started, "Cluster Group" is what responds to the cluster name SBTSQLDAG01. Moving that group over to the node that has the active SQL cluster
    group also made it work properly, but using the application name is the correct method.
    Thanks everyone for all your help. Although the nitpicking about terminology really didn't help, that was a pointless argument and we really could have done without it. Yeah I know 2008 called is "Failover Cluster Manager" and MSCS is the "2003 term" but
    really, they're basically the same thing and we don't really need to derail the conversation because of it. Also, If you look at the screenshot below you can clearly see "AlwaysOn High Availability" in SQL Management Studio. That's what it's called in SQL,
    that's where you do all the work. Trying to tell me it's "not a feature" is wrong, pointless, and asinine, and doesn't get us anywhere.
    Sorry it took so long to get back, I was off the project for a couple weeks while they were resolving some SAN issues that caused the failover to happen in the first place.

  • Switchover in Standby database.

    Hi All,
    DB:11g
    OS:AIX
    If I am performing a switchover for a Physical standby database, and I have successfully converted my Primary database to new Standby database and when I am trying to convert my Old Standby database to a new Primary database and let us say due to some error (the error is not the important here) I am not able to switch my Old standby database to a new primary database.
    What should be my possible steps to undo the switchover or to get me out of this hole?
    Regards,
    Sphinx

    Hi Mohamed,
    Thanks!
    Well, I was asked this question in an interview and I cross questioned him "What is the error?". He said that the error is irrelevant and you have to give me back a Primary database in minimum time.
    Since the original primary is now converted to a standby database and the old standby database is not getting converted to Primary database, so what steps I will have to do to get a Primary database in minimum time, at this moment even if I do not have a standby database that will do as per the interviewer.
    This is my concern, finding the error is secondary which I can dig once my Primary is back.
    In a nutshell, I just want to know if in the middle of a switchover that I have to perform in a time constrain, if my switchover fails as I have explained above. What approach or steps that I have to take to undo the swicthover or at least get my Primary back.
    Hope it calirifes.
    Regards,
    Sphinx

  • Switchover/Failover to physical standby

    Hi All,
    I have dataguard configured between Primary and physical standby. I would like to know how can i switch over to physical stanby when the network link is down between primary and physical standby.
    I mean what steps I can follow to make physical standby to primary and primary to staandby even when the network connectivity is down between them.
    Regards,
    Raj

    user12263161 wrote:
    Hi All,
    I have dataguard configured between Primary and physical standby. I would like to know how can i switch over to physical stanby when the network link is down between primary and physical standby. You can only failover in this case, but, if you have flashback on, you can reinstate ex-Primary to standby like described [url http://nikolayivankin.wordpress.com/2012/02/14/dgmgrl-reinstating-ex-primary-to-standby-by-flashback-database-feature/]here

  • EBS 11i (11i.10.2) Data Guard Switchover testing with Database 10gR2.

    In my new job, I have to test DG switchover and with EBS 11i.
    I know the database switchover part very well, but I don't know what needs to be done for 11i applications after switching from primary server to the standby server.
    Please guide me what steps/procedures needs to be followed to switchover 11i applications to the standby site after the database switched over to standby database?
    Both the database and the 11i applications installed on primary Linux server and the same architecture on the separate secondary Linux server.
    Thanks,

    Please also see:
    Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC [ID 1068913.1]
    Oracle E-Business Suite Release 11i High Availability Documentation Roadmap [ID 1072807.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 9i Standby Database - Failover Question - REF 227196.1

    Hi ,
    Im researching the use of a Standby DB for out Production DB....
    The Metalink DOC 227196.1 mentions that in failover , the Production going down , Standby becomes Primary and cannot be come Standby again , whereas with Switchover , they can be swapped as many times as you need for upgrades etc...
    "The Difference between a Switchover and a Failover is, that after a Failover, the Standby Database becoming a Primary now, cannot switchback to become a Standby Database again. In Opposition a Switchover exchanges the Database Roles (The Primary becomes a Standby and the Standby becomes a Primary). Switchovers can be performed arbitrarily, a Failover only once."
    If failover happens can someone tell me or point me in the right direction:
    a) Can you config Failover to happen automatically?
    b) If failover occurs , do you need to reconfig all the Primary/Standby DB again in the event that failover happens again?
    c) Any clear step by step guide to config of standby... The Oracle docs whilst very good are robust and some "summary" steps would be great
    thanks in advance
    Stephen

    HI,
    Please check this link:
    Physical Standby Database SWITCHOVER & FAILOVER Operations | Talip Hakan Ozturk's ORACLE BLOG
    Thank you

  • DB2 database doesn't start on FailOver server in HA

    Hi Experts,
    We have a sap cluster under AIX 6.1 and DB2 , during failover the database may not able to start.
    is only hold on
    db2start <-- waiting more than 3 hr no and reply.
    db2stop <-- waiting more than 3 hr no and reply.
    db2stop force <-- still cannot kill the db2
    db2_kill <-- still cannot kill the db2
    But when I restart the AIX again (shutdown -Fr) , then the db2 work
    fine ( no any problem )
    Could you advise how can I solve the db2 the issue ?
    p.s. we had checked other failover case is no any problem
    e.g.
    1. move cluster service using smit cl_admin
    2. remove the network cable physically
    ( problem case )
    2012-02-17-19.28.45.875329+480 <-- is the time haven follow case
    NodeA : standby mode ( only start the DI )
    NodeB : holding the SAP ( CI and ACSC )and DB2 cluster services
    thx,
    Tony
    Edited by: F SAPTEAM on Feb 19, 2012 5:12 PM

    2012-02-17-19.28.46.662153+480 I11771095A537      LEVEL: Event
    PID     : 10551470             TID  : 258         PROC : db2sysc 0
    INSTANCE: db2rtp               NODE : 000
    EDUID   : 258                  EDUNAME: db2sysc 0
    FUNCTION: DB2 UDB, fast comm manager, sqkfSessionManager::initSessionManager, probe:10
    START   : Starting FCM Session Manager
    1 resource group(s).
    128 sessions allocated.
    Maximum number of sessions supported is 64000.
    Total session manager memory required for 1 logical and 0 fail-over partitions is 1687552 bytes.
    2012-02-17-19.28.46.662996+480 I11771633A418      LEVEL: Event
    PID     : 10551470             TID  : 258         PROC : db2sysc 0
    INSTANCE: db2rtp               NODE : 000
    EDUID   : 258                  EDUNAME: db2sysc 0
    FUNCTION: DB2 UDB, fast comm manager, sqlkf_init_allocate_shared, probe:500
    START   : FCM infrastructure started
    FCM running in non-shared mode; FCM parallelism degree: 1; comm protocol: TCP/IPv4
    2012-02-17-19.28.47.721005+480 E11772052A1217     LEVEL: Error (OS)
    PID     : 10551470             TID  : 258         PROC : db2sysc 0
    INSTANCE: db2rtp               NODE : 000
    EDUID   : 258                  EDUNAME: db2sysc 0
    FUNCTION: DB2 UDB, oper system services, sqloAIXLoadModuleTryShr, probe:130
    CALLED  : OS, -, dlopen
    OSERR   : ENOEXEC (8) "Exec format error"
    MESSAGE : Attempt to load specified library failed.
    DATA #1 : Library name or path, 37 bytes
    /db2/db2rtp/sqllib/lib64/libdb2iocp.a
    DATA #2 : shared library load flags, PD_TYPE_LOAD_FLAGS, 4 bytes
    2
    DATA #3 : String, 621 bytes
         0509-130 Symbol resolution failed for /db2/db2rtp/sqllib/lib64/libdb2iocp.a because:
         0509-136   Symbol CreateIoCompletionPort (number 0) is not exported from
                 dependent module /unix.
         0509-136   Symbol GetQueuedCompletionStatus (number 1) is not exported from
                 dependent module /unix.
         0509-136   Symbol GetMultipleCompletionStatus (number 2) is not exported from
                 dependent module /unix.
         0509-022 Cannot load module /db2/db2rtp/sqllib/lib64/libdb2iocp.a.
         0509-026 System error: Cannot run a file that does not have a valid format.
         0509-192 Examine .loader section symbols with the
               'dump -Tv' command.
    2012-02-17-19.28.47.732826+480 E11773270A910      LEVEL: Error (OS)
    PID     : 10551470             TID  : 258         PROC : db2sysc 0
    INSTANCE: db2rtp               NODE : 000
    EDUID   : 258                  EDUNAME: db2sysc 0
    FUNCTION: DB2 UDB, oper system services, sqloAIXLoadModuleTryShr, probe:140
    CALLED  : OS, -, dlopen
    OSERR   : ENOEXEC (8) "Exec format error"
    MESSAGE : Attempt to load specified library augmented with object name failed.
    DATA #1 : Library name or path, 47 bytes
    /db2/db2rtp/sqllib/lib64/libdb2iocp.a(shr_64.o)
    DATA #2 : shared library load flags, PD_TYPE_LOAD_FLAGS, 4 bytes
    262146
    DATA #3 : String, 272 bytes
         0509-022 Cannot load module /db2/db2rtp/sqllib/lib64/libdb2iocp.a(shr_64.o).
         0509-153   File /db2/db2rtp/sqllib/lib64/libdb2iocp.a is not an archive or
                 the file could not be read properly.
         0509-026 System error: Cannot run a file that does not have a valid format.
    2012-02-17-19.28.47.761039+480 I11774181A565      LEVEL: Severe
    PID     : 10551470             TID  : 258         PROC : db2sysc 0
    INSTANCE: db2rtp               NODE : 000
    EDUID   : 258                  EDUNAME: db2sysc 0
    FUNCTION: DB2 UDB, oper system services, sqloLioInitIocp, probe:200
    CALLED  : DB2 UDB, oper system services, sqloLoadModule
    RETCODE : ZRC=0x870F009B=-2029059941=SQLO_MOD_LOAD_FAILED
              "Dynamic library load failed."
    DATA #1 : Library name or path, 12 bytes
    libdb2iocp.a
    DATA #2 : Library Search Path, 24 bytes
    /db2/db2rtp/sqllib/lib64
    2012-02-17-19.28.47.774698+480 E11774747A406      LEVEL: Warning
    PID     : 10551470             TID  : 258         PROC : db2sysc 0
    INSTANCE: db2rtp               NODE : 000
    EDUID   : 258                  EDUNAME: db2sysc 0
    FUNCTION: DB2 UDB, oper system services, sqloStartAIOCollectorEDUs, probe:30
    MESSAGE : ADM0513W  db2start succeeded.  However, no I/O completion port (IOCP)
              is available.
    Edited by: F SAPTEAM on Feb 19, 2012 5:16 PM

  • No client access on DAG switchover - Single site

    Let’s summarize my environment:
    I have 3 Exchange 2013 SP1 (cu4) server in one site. CAS01, only have cas role and MBX01&MBX02 have only mailbox. Both mailbox are in a DAG (DAG01).
    The server mounting my database is MBX02. Whenever a switchover to MBX01 occur (or when I force it whith Move-ActiveMailboxDatabase –server MBX02 -ActivateOnServer MBX01), all my client get disconnected so no more outlook, active sync
    and even owa. As soon as I roll them back on MBX02, everything returns to normal. However, every single email delivered while the DAG was mounted on MBX01 are getting delivered to the mailbox server so dag is working properly for the mail flow, minus the client
    access HA.
    Now I know that on Exchange 2010 and the issue could have been with the value of –rpcclientaccessserver on my database, but this value is not used anymore on 2013.
    Any ideas?
    Thanks

    Hi  S.Nithyanandham
    1. No my servers are working pretty fine is I create a non dag DB on MBX01, Client access and mail flow is fine. Turning off both Windows firewall didn’t
    change anything
    2.
    Server Check                Result Error
    MBX01  ClusterService       Passed
    MBX01  ReplayService        Passed
    MBX01  ActiveManager        Passed
    MBX01  TasksRpcListener     Passed
    MBX01  TcpListener          Passed
    MBX01  ServerLocatorService Passed
    MBX01  DagMembersUp         Passed
    MBX01  ClusterNetwork       Passed
    MBX01  QuorumGroup          Passed
    MBX01  FileShareQuorum      Passed
    MBX01  DatabaseRedundancy   Passed
    MBX01  DatabaseAvailability Passed
    Server Check                Result Error
    MBX02  ClusterService       Passed
    MBX02  ReplayService        Passed
    MBX02  ActiveManager        Passed
    MBX02  TasksRpcListener     Passed
    MBX02  TcpListener          Passed
    MBX02  ServerLocatorService Passed
    MBX02  DagMembersUp         Passed
    MBX02  ClusterNetwork       Passed
    MBX02  QuorumGroup          Passed
    MBX02  FileShareQuorum      Passed
    MBX02  DatabaseRedundancy   Passed
    MBX02  DatabaseAvailability Passed
    MBX02  DBCopySuspended      Passed
    MBX02  DBCopyFailed         Passed
    MBX02  DBInitializing       Passed
    MBX02  DBDisconnected       Passed
    MBX02  DBLogCopyKeepingUp   Passed
    MBX02  DBLogReplayKeepingUp Passed
    3. I’ve double check that  and recreated the dag binding multiple time with no luck.
    4. yes they are
    [PS] C:\Windows\system32>get-mailboxdatabasecopystatus | ft -au
    Name      Status  CopyQueueLength ReplayQueueLength LastInspectedLogTime ContentIndexState
    DB1\MBX01 Mounted 0               0                                     
    Healthy
    DB2\MBX01 Mounted 0               0                               
          Healthy
    DB3\MBX01 Mounted 0               0                                     
    Healthy
    DB4\MBX01 Mounted 0               0                                     
    Healthy
    [PS] C:\Windows\system32>get-mailboxdatabasecopystatus -server mbx02 | ft -au
    Name      Status  CopyQueueLength ReplayQueueLength LastInspectedLogTime ContentIndexState
    DB1\MBX02 Healthy 0               0                 2015-01-12 19:57:58  Healthy
    DB2\MBX02 Healthy 0               0                 2015-01-12 19:58:10  Healthy
    DB3\MBX02 Healthy 0               0                 2015-01-12 19:58:07  Healthy
    DB4\MBX02 Healthy 0               0                 2015-01-12 20:00:23  Healthy
    5. None except those related to the failover if I bring MBX02 down
    6. File share is fine and acessible.
    Then please explain me what you are trying to say on the below mentioned line?
    When I have a failover and database are mounted and healthy I can’t connect trougth any devices but email sent to my organization are devilered in databases correctly. I can see them with Get-MessageTrackingLog. In addition, my Wtachguard
    in front of my cas is not reporting any bounce or error, everything is delivred and queue is empty inside it.
    A big Thank you for your help
    Alex
    Alexandre Contant

  • During switchover operation in IE shows error "503 Service Unavailable".

    Hi,
    I have installed Oracle Enterprise Manager 10g Release 2 (10.2.0.2) on Windows 2003 server service pack 2.Everything works fine, but when I go for switchover/failover operation firstly error comes as “500 Internal Server Error” and then after refreshing the page “503 Service Unavailable”. Following are the logs.
    I applied the patch Grid Control Release 3 (10.2.0.3.0), but still same error occurs.
    Both database status is up and EM console home shows 100% up.
    Some Collected errors from emoms.trc
    2007-11-03 12:24:35,453 [Thread-25] ERROR em.dataguard updateDGStatus.453 - ConfigBean:updateDGStatus(): Exception java.lang.NullPointerException
    2007-11-03 12:25:01,703 [Thread-26] ERROR em.dataguard updateDGStatus.453 - ConfigBean:updateDGStatus(): Exception java.lang.NullPointerException
    2007-11-03 12:25:11,156 [Thread-27] ERROR em.dataguard updateDGStatus.453 - ConfigBean:updateDGStatus(): Exception java.lang.NullPointerException
    2007-11-03 12:25:17,906 [EMUI_12_25_17_/console/targets] ERROR jdk.NLSUtil getFormattedDateWithTZ.407 - Invalid region name format: GMT+05:30
    2007-11-03 12:25:17,906 [EMUI_12_25_17_/console/targets] ERROR jdk.NLSUtil getFormattedDateWithTZ.407 - Invalid region name format: GMT+05:30
    2007-11-03 12:25:19,343 [EMUI_12_25_19_/console/home] ERROR jdk.NLSUtil getFormattedDateWithTZ.407 - Invalid region name format: GMT+05:30
    2007-11-03 12:30:16,562 [Thread-34] ERROR db.rac getEMDFromRep.806 - Closed Connection
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:928)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:824)
         at oracle.jdbc.OracleConnectionWrapper.prepareStatement(OracleConnectionWrapper.java:72)
         at oracle.sysman.util.jdbc.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:467)
         at oracle.sysman.db.rac.util.ClusterUtil.getEMDFromRep(ClusterUtil.java:795)
         at oracle.sysman.db.rac.util.ClusterUtil.getEMD(ClusterUtil.java:888)
         at oracle.sysman.emo.util.DBVerify.getDBProperties(DBVerify.java:2454)
         at oracle.sysman.emo.util.DBStateUtil.doDatabaseShutdown(DBStateUtil.java:703)
         at oracle.sysman.db.dg.util.RemoteCtrl.shutdownDB(RemoteCtrl.java:596)
         at oracle.sysman.db.dg.util.ClientOperation.doClientOp(ClientOperation.java:368)
         at oracle.sysman.db.dg.util.ClientOperation$BounceThread.run(ClientOperation.java:215)
         at java.lang.Thread.run(Thread.java:534)
    2007-11-03 12:30:16,562 [Thread-34] ERROR emo.util verifyDBProperties.2073 - DBStateUtil.verifyDBProperties: EMD URL was null or empty.
    2007-11-03 12:30:23,265 [EMUI_12_30_23_/console/database/dataguard] ERROR em.dataguard onEvent.1233 - Data Guard: found errors during role change: Unable to retrieve the URL from repository. Check the specified target name and its corresponding target type. Other possible causes: remote EMD is not pointing to the web server, or remote target information has not been loaded.
    2007-11-03 12:30:41,328 [ApplicationServerThread-5] ERROR app.SessionObjectManager sessionDestroyed.128 - java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    2007-11-03 12:30:42,968 [PingHeartBeatRecorder] WARN emdrep.pingHBRecorder resetConnection.305 - SQLException caught while resetting connection ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    2007-11-03 12:30:43,093 [Job Dispatcher Thread] ERROR em.jobs mainTask.2346 - encountered error:
    java.sql.SQLException: ORA-01092: ORACLE instance terminated. Disconnection forced
    2007-11-03 12:30:44,046 [SeverityLoad https://ashok:3872/emd/main/] ERROR eml.XMLLoader markFileAsError.854 - Error repeated 2 times: ERROR-400|ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    2007-11-03 12:30:46,796 [AJPRequestHandler-ApplicationServerThread-6] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = https://ashok:3872/emd/main/)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    2007-11-03 12:33:29,843 [AJPRequestHandler-ApplicationServerThread-6] ERROR conn.ConnectionService verifyRepositoryEx.817 - Invalid Connection Pool. ERROR = ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    Regards,
    S Reddy

    Hi,
    Thanks for your reply.
    Steps Performed while configuring data guard.
    - Install Oracle Enterprise Manager 10 g with new database option on windows server 2003 enterprise edition service pack 2.
    - Applied patch of Oracle database 10g Release 2 (10.2.0.3)
    - Applied patch of Oracle Enterprise Manager 10g Grid Control Release 3 (10.2.0.3.0)
    Primary Database=GOOGLE
    Secondary Database=YAHOO
    Run the following commands in CMD.
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\oracle>set oracle_home=C:\Oracle_NET\db10g
    C:\Documents and Settings\oracle>set oracle_sid=GOOGLE
    C:\Documents and Settings\oracle>sqlplus /nolog
    SQL*Plus: Release 10.1.0.4.2 - Production on Thu Nov 8 09:44:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> CONNECT SYS/infodb1 as sysdba
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 536870912 bytes
    Fixed Size 790068 bytes
    Variable Size 162525644 bytes
    Database Buffers 373293056 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> show parameters unique;
    NAME TYPE VALUE
    db_unique_name string GOOGLE
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG
    SQL> create pfile from spfile;
    File created.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\oracle>sqlplus /nolog
    SQL*Plus: Release 10.1.0.4.2 - Production on Thu Nov 8 10:38:31 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> CONNECT SYS/infodb1 as sysdba
    Connected to an idle instance.
    SQL> [b]STARTUP NOMOUNT PFILE=C:\Oracle_NET\db10g\database\INITgoogle.ORA;
    ORACLE instance started.
    Total System Global Area 536870912 bytes
    Fixed Size 790068 bytes
    Variable Size 162525644 bytes
    Database Buffers 373293056 bytes
    Redo Buffers 262144 bytes
    SQL> create spfile from pfile;
    File created.
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\oracle>sqlplus /nolog
    SQL*Plus: Release 10.1.0.4.2 - Production on Thu Nov 8 10:41:32 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> CONNECT SYS/infodb1 as sysdba
    Connected to an idle instance.
    SQL> STARTUP MOUNT;
    ORACLE instance started.
    Total System Global Area 536870912 bytes
    Fixed Size 790068 bytes
    Variable Size 162525644 bytes
    Database Buffers 373293056 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    SQL> alter database archivelog;
    Database altered.
    SQL> alter database force logging;
    Database altered.
    SQL> select log_mode from v$database;
    LOG_MODE
    ARCHIVELOG
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    Then I login to site https://ashok:1159/em by using SYSMAN account which is the console for em.
    -     Then I created standby database through.<TARGETS-DATABASES-GOOGLE- MAINTENANCE -DATA GUARD- SET UP AND MANAGE-ADD STANDBY DATABASE- CREATE A NEW PHYSICAL STANDBY DATABASE>
    -     Then I verify the configuration it shows the following log.
    Initializing
    Connected to instance ASHOK:yahoo
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Data Protection Settings:
    Protection mode : Maximum Performance
    Log Transport Mode settings:
    GOOGLE: ARCH
    YAHOO: ARCH
    Checking standby redo log files.....OK
    Checking Data Guard status
    GOOGLE : Normal
    YAHOO : Normal
    Request ID: 2: 1: 638446177, Operation: CTL_GET_STATUS
    Checking Inconsistent Properties
    Checking agent status
    GOOGLE ... WARNING: No credentials available for target ASHOK
    Attempting agent ping ... OK
    YAHOO ... WARNING: No credentials available for target ASHOK
    Attempting agent ping ... OK
    Switching log file 90.Done
    Checking applied log on GOOGLE...OK
    Processing completed.
    Following are the files:
    Additional parameters in[b] INITgoogle.ora
    *.db_unique_name='GOOGLE
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(GOOGLE,YAHOO)'
    *.log_archive_dest_1='location=C:\Oracle_NET\ALD_DEST_1','VALID_FOR=(ALL_LOGFILES,ALL_ROLES)','mandatory','arch','DB_UNIQUE_NAME=GOOGLE','REOPEN=30'
    *.log_archive_dest_2='SERVICE=YAHOO','LGWR','ASYNC','VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)','DB_UNIQUE_NAME=YAHOO'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=ENABLE
    *.REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    *.LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
    *.LOG_ARCHIVE_MAX_PROCESSES=10
    *.fal_server=YAHOO
    *.fal_client=GOOGLE
    *.standby_file_management=auto
    *.db_file_name_convert='YAHOO/YAHOO','GOOGLE/GOOGLE'
    *.log_file_name_convert='C:\Oracle_NET\OD\YAHOO\YAHOO','C:\Oracle_NET\OD\GOOGLE\GOOGLE'
    listener.ora
    # listener50312.ora Network Configuration File: C:\DOCUME~1\oracle\LOCALS~1\Temp\listener50312.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = GOOGLE)
    (ORACLE_HOME = C:\Oracle_NET\db10g)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = GOOGLE_DGMGRL)
    (ORACLE_HOME = C:\Oracle_NET\db10g)
    (SID_NAME = GOOGLE)
    (SID_DESC =
    (GLOBAL_DBNAME = YAHOO_DGMGRL)
    (ORACLE_HOME = C:\Oracle_NET\db10g)
    (SID_NAME = YAHOO)
    (SID_DESC =
    (GLOBAL_DBNAME = YAHOO_DGMGRL)
    (ORACLE_HOME = C:\Oracle_NET\db10g)
    (SID_NAME = YAHOO)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ashok)(PORT = 1521))
    Tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\Oracle_NET\db10g\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    GOOGLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ashok)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = GOOGLE)
    YAHOO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ashok)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = YAHOO)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    -     Then Both databases are running
    -     It showing the data guard home page.
    -     Then I go for switchover operation the error occurs.

  • Data Guard Broker: errors ORA-16816 and ORA-16817 with Fast Start Failover

    Hi,
    my environment is:
    OS: Windows XP Professional Edition SP2
    DB: Oracle EE 10.2.0.3
    Primary db: orcl
    Standby db: stby
    both databases are running on the same server.
    I have configured Data Guard as described in the DG Administration Guide.
    In the Data Guard Broker I switch to 'stby' succesfully and 'stby' is the primary db and 'orcl' is the standby db.
    I switched back to 'orcl' as primary db and I get some errors:
    DGMGRL> show database 'orcl' statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
    DGMGRL> show database 'stby' statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * ERROR ORA-16816: wrong databaserole
    * WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
    DGMGRL> show configuration;
    Configuration
    Name: DG1
    Enabled: YES
    Protection Mode: MaxAvailability
    Fast-Start Failover: ENABLED
    Databases:
    orcl - Physical standby database
    - Fast-Start Failover target
    stby - Primary database
    Current status for DG1:
    Warning: ORA-16607: one or more databases failed.
    I have searched for solutions on Metalink and google, but with no success.
    Has anyone got this kind of problem?
    Any suggestions on how to resolve it?
    Thanks

    Hi DigerDBA
    I did your advice , the error disappear, and thanks for your advice , but do I need to keep standby_file_management='AUTO' or 'MANUAL' in primary and standby init files?
    Am asking this because when I use the observer the failover failed and I get the following error
    SQL Execution error=604, sql=[ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WAIT WITH SESSION SHUTDOWN]. See error stack below.
      ORA-00604: error occurred at recursive SQL level 1
      ORA-01275: Operation ADD LOGFILE is not allowed if standby file management is automatic.
    Complete Failover operation failed in the step when attempting to convert the database to be the new primary.
    Database Resource SetState Error (16771)
    01/07/2014 09:14:43
    Command FAILOVER TO epprod2 completed with error ORA-16771
    if possible can you advice me please?

  • Manual\DGMGRL Switchover Standby ora-01033 error

    I have created a standby server for my SAP application as a part of test Disaster Recovery scenario. I can see the redo logs getting applied from primary to standby. However when I manually switchover the roles i encounters ORA -01033 error at NEW PRIMARY server and logs are also not getting applied in this scenario.
    When i again changes the roles it works fine. I am not sure what is cause of ORA -01033 error. Here are the detailed tnsnames.ora of both sites.
    Primary Server
    P11.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11.WORLD)
    TO_STANDBY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = TO_STANDBY.WORLD)
    TO_PRIMARY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = TO_PRIMARY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
    Standby Site
    TO_PRIMARY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = TO_PRIMARY.WORLD)
    P11.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11.WORLD)
    TO_STANDBY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = TO_STANDBY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
    Now , when i enable the DGMGRL configuration and add standby database at primary the " log_archive_dest_2=''" goes empty . Here is the pfile of primary after enable of the DGMGRL.
    pfile of Primary
    *._B_TREE_BITMAP_PLANS=FALSE
    *._IN_MEMORY_UNDO=FALSE
    *._INDEX_JOIN_ENABLED=FALSE
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *._OPTIMIZER_MJC_ENABLED=FALSE
    *._SORT_ELIMINATION_COST_RATIO=10
    *._TABLE_LOOKUP_PREFETCH_SIZE=0
    *.archive_lag_target=0
    *.background_dump_dest='D:\oracle\P11\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='D:\oracle\P11\origlogA\cntrl\cntrlP11.dbf','D:\oracle\P11\origlogB\cntrl\cntrlP11.dbf','D:\oracle\P11\sapdata1\cntrl\cntrlP11.dbf'
    *.core_dump_dest='D:\oracle\P11\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=260938137
    *.db_files=254
    *.db_name='P11'
    *.db_unique_name='P11_primary'
    *.dg_broker_start=TRUE
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FAL_Client='to_primary'
    *.FAL_Server='to_standby'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.log_archive_config='nodg_config'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_primary'
    p11.log_archive_dest_1='location="C:\oracle\P11\oraarch\P11arch"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)'
    *.log_archive_dest_2=''
    *.log_archive_dest_state_1='enable'
    p11.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    p11.log_archive_format='ARC%S_%R.%T'
    *.log_archive_max_processes=10
    *.log_archive_min_succeed_dest=1
    p11.log_archive_trace=0
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.parallel_execution_message_size=16384
    *.pga_aggregate_target=347917516
    *.processes=80
    *.query_rewrite_enabled='false'
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.replication_dependency_tracking=false
    *.sessions=96
    *.sga_max_size=521876275
    *.shared_pool_reserved_size=26093813
    *.shared_pool_size=300938137
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    p11.standby_archive_dest=''
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='true'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
    pfile of standy DB
    *._B_TREE_BITMAP_PLANS=FALSE
    *._IN_MEMORY_UNDO=FALSE
    *._INDEX_JOIN_ENABLED=FALSE
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *._OPTIMIZER_MJC_ENABLED=FALSE
    *._SORT_ELIMINATION_COST_RATIO=10
    *._TABLE_LOOKUP_PREFETCH_SIZE=0
    *.background_dump_dest='D:\oracle\P11\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='D:\oracle\P11\origlogA\cntrl\control01.ctl','D:\oracle\P11\origlogB\cntrl\control02.ctl','D:\oracle\P11\sapdata1\cntrl\control03.ctl'
    *.core_dump_dest='D:\oracle\P11\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=155870822
    *.db_files=254
    *.db_name='P11'
    *.db_unique_name='P11_disaster'
    *.dg_broker_start=TRUE
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FAL_Client='to_standby'
    *.FAL_Server='to_primary'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.log_archive_config='DG_CONFIG= (P11_primary, P11_disaster)'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_disaster'
    *.log_archive_dest_2='SERVICE=to_primary LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_primary'
    *.log_archive_dest_state_1='enable'
    *.log_archive_dest_state_2='enable'
    *.log_archive_max_processes=10
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.parallel_execution_message_size=16384
    *.pga_aggregate_target=207827763
    *.processes=80
    *.query_rewrite_enabled='false'
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.replication_dependency_tracking=false
    *.sessions=96
    *.sga_max_size=311741644
    *.shared_pool_reserved_size=15587082
    *.shared_pool_size=300870822
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='true'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
    Here are the alert logs of primary DB.
    LTER SYSTEM SET log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))"',' ARCH SYNC NOAFFIRM delay=5 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="p11_disaster" register net_timeout=180 valid_for=(online_logfile,primary_role)' SCOPE=BOTH;
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET log_archive_trace=0 SCOPE=BOTH SID='p11';
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET log_archive_format='ARC%S_%R.%T' SCOPE=SPFILE SID='p11';
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET standby_archive_dest='' SCOPE=BOTH SID='p11';
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET log_archive_dest_1='location="C:\oracle\P11\oraarch\P11arch"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)' SCOPE=BOTH SID='p11';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET log_archive_dest_state_1='ENABLE' SCOPE=BOTH SID='p11';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH SID='*';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH SID='*';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET log_archive_max_processes=10 SCOPE=BOTH SID='*';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH SID='*';
    Sat Jul 02 16:29:27 2011
    Beginning log switch checkpoint up to RBA [0x3b7.2.10], SCN: 7939485
    Thread 1 advanced to log sequence 951
    Current log# 4 seq# 951 mem# 0: D:\ORACLE\P11\ORIGLOGB\LOG_G14M1.DBF
    Current log# 4 seq# 951 mem# 1: C:\ORACLE\P11\MIRRLOGB\LOG_G14M2.DBF
    Sat Jul 02 16:29:28 2011
    ALTER SYSTEM SET log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))"',' ARCH SYNC NOAFFIRM delay=5 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="p11_disaster" register net_timeout=180 valid_for=(online_logfile,primary_role)' SCOPE=BOTH;
    Sat Jul 02 16:29:28 2011
    ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
    Beginning log switch checkpoint up to RBA [0x3b8.2.10], SCN: 7939487
    Thread 1 advanced to log sequence 952
    Current log# 2 seq# 952 mem# 0: D:\ORACLE\P11\ORIGLOGB\LOG_G12M1.DBF
    Current log# 2 seq# 952 mem# 1: C:\ORACLE\P11\MIRRLOGB\LOG_G12M2.DBF
    Sat Jul 02 16:29:29 2011
    Error 12541 received logging on to the standby
    Check whether the listener is up and running.
    Sat Jul 02 16:29:29 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc1_2396.trc:
    ORA-12541: TNS:no listener
    FAL[server, ARC1]: Error 12541 creating remote archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=
    Here is the Alert log of standby
    RFS[2]: Identified database type as 'physical standby'
    Sat Jul 02 16:21:00 2011
    RFS[3]: Assigned to RFS process 1620
    RFS[3]: Identified database type as 'physical standby'
    Sat Jul 02 16:21:00 2011
    RFS[2]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00947_0755040789.001'
    Sat Jul 02 16:21:00 2011
    RFS[3]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00948_0755040789.001'
    Sat Jul 02 16:21:00 2011
    Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00947_0755040789.001
    Identified End-Of-Redo for thread 1 sequence 947
    Sat Jul 02 16:21:01 2011
    Media Recovery End-Of-Redo indicator encountered
    Sat Jul 02 16:21:01 2011
    Media Recovery Applied until change 7934481
    Media Recovery archivelogs detected beyond End-Of-REDO
    Resetting standby activation ID 1369083708 (0x519a8f3c)
    Completed: Alter Database Recover Managed Standby Database
    Sat Jul 02 16:21:29 2011
    Alter Database Recover Managed Standby Database Disconnect
    MRP0 started with pid=28, OS id=996
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 2 processes
    Clearing online redo logfile 1 D:\ORACLE\P11\ORIGLOGA\LOG_G11M1.DBF
    Clearing online log 1 of thread 1 sequence number 949
    Sat Jul 02 16:21:36 2011
    Completed: Alter Database Recover Managed Standby Database Disconnect
    Sat Jul 02 16:21:37 2011
    Clearing online redo logfile 1 complete
    Clearing online redo logfile 2 D:\ORACLE\P11\ORIGLOGB\LOG_G12M1.DBF
    Clearing online log 2 of thread 1 sequence number 946
    Clearing online redo logfile 2 complete
    Clearing online redo logfile 3 D:\ORACLE\P11\ORIGLOGA\LOG_G13M1.DBF
    Clearing online log 3 of thread 1 sequence number 944
    Clearing online redo logfile 3 complete
    Clearing online redo logfile 4 D:\ORACLE\P11\ORIGLOGB\LOG_G14M1.DBF
    Clearing online log 4 of thread 1 sequence number 945
    Clearing online redo logfile 4 complete
    Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00948_0755040789.001
    Media Recovery Waiting for thread 1 sequence 949
    Sat Jul 02 16:22:37 2011
    RFS[1]: No standby redo logfiles created
    RFS[1]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00949_0755040789.001'
    Sat Jul 02 16:22:37 2011
    RFS[1]: Archive log thread 1 sequence 949 available in 5 minute(s)
    Sat Jul 02 16:22:37 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 2200
    RFS[4]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[4]: No standby redo logfiles created
    Sat Jul 02 16:22:38 2011
    Media Recovery Delayed for 5 minute(s) (thread 1 sequence 949)
    Sat Jul 02 16:27:38 2011
    Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00949_0755040789.001
    Media Recovery Waiting for thread 1 sequence 950 (in transit)
    Sat Jul 02 16:29:42 2011
    RFS[4]: Possible network disconnect with primary database
    Aborting archivelog file creation: C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00950_0755040789.001
    If this a network disconnect, then this archivelog will be fetched again
    by GAP resolution mechanism.
    Please advice as i am not sure of i have created something in listener file for DGMGRL configuration..
    Regards

    DGMGRL> show configuration
    Configuration
    Name: my_dg
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    P11_primary - Primary database
    P11_disaster - Physical standby database
    Current status for "my_dg":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> SHOW DATABASE 'P11_primary' 'StatusReport';
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    p11 ERROR ORA-16737: the redo transport service for standby database "P11_disaster" has an error
    p11 WARNING ORA-16715: redo transport-related property LogXptMode of standby database "P11_disaster" is inconsistent
    DGMGRL> SHOW DATABASE 'P11_primary' 'LogXptStatus';
    LOG TRANSPORT STATUS
    PRIMARY_INSTANCE_NAME STANDBY_DATABASE_NAME STATUS
    p11 P11_disaster ORA-12541: TNS:no listener
    After this when i check the status of listener at P11_disaster site it was up . I restarted the listener and found following message in listener log at standby ( p11_primary) . These are the last lines of listener log.
    03-JUL-2011 13:36:40 * (CONNECT_DATA=(SID=P11)(GLOBAL_NAME=TO_STANDBY.WORLD)(CID=(PROGRAM=d:\oracle\p11\102\bin\ORACLE.EXE)(HOST=PROD104)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.104)(PORT=2244)) * establish * P11 * 0
    03-JUL-2011 13:36:40 * (CONNECT_DATA=(SID=P11)(GLOBAL_NAME=TO_STANDBY.WORLD)(CID=(PROGRAM=d:\oracle\p11\102\bin\ORACLE.EXE)(HOST=PROD104)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.104)(PORT=2245)) * establish * P11 * 0
    03-JUL-2011 13:45:25 * ping * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11.WORLDipc)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11ipc)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.102)(PORT=1527)))
    Listener completed notification to CRS on stop
    03-JUL-2011 13:45:34 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=p11adm))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869824)) * stop * 0
    TNSLSNR for 64-bit Windows: Version 10.2.0.2.0 - Production on 03-JUL-2011 13:45:42
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\P11\102\network\admin\listener.ora
    Log messages written to D:\oracle\P11\102\network\log\listener.log
    Trace information written to D:\oracle\P11\102\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=624
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11.WORLDipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.102)(PORT=1527)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    03-JUL-2011 13:45:46 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=p11adm))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869824)) * status * 0
    I am sure this is some configuration issue , however does not have clue :(

Maybe you are looking for

  • How do I keep a library in sync on 2 separate computers?

    Hi there, I am off to university in a month or so, and have therefore purchased a laptop to use while I am there. I currently have a desktop computer with iTunes on it, and I sync my iPhone and iPod Classic to it. I would like to have a clone of the

  • What is the print program for adobe form MEDRUCK_PO, How would I know that?

    Hello All, I am new to ADOBE forms and I have a requirement to develop a new Purchase Order Adobe Form . I need to confidure output types too. I am copying 'NEU' to 'ZNEU', and form name 'MEDRUCK_PO' to 'ZMEDRUCK_PO', but what would be the program na

  • Idoc partner type LI to File Scenario.

    Hello Experts . I have the following scenario. IDOC partner type LI to xml (file). So we are not atlking about logical system here and we may have to use parties. But I am not sure as to how to go about this approach. For now we have Idoc coming into

  • How can I do to use an OpenGL application in a Labview VI ?

    I would like to use it as a window in the GUI VI.

  • ArchCon 2010 Videos

    I was able to attend day one of ArchCon 2010 but was summoned home later in the evening preventing me from attending day two.  Spur of the moment I decided to see what my new(ish) HTC Incredible could do as far as video recording.  Here is the list d