DataGuard Configuration problem / ORA-16047

So last night I decided to set up a test of physical database paused. I had everything working properly and when I started to play with the Data Guard Broker I started having a few problems. Now I can't get the logs to be shipped from the primary to the day before.

Version: Primary and Standby
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0    Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
OS: Primary and Standby
[oracle@dgdb0 trace]$ uname -a
Linux dgdb0.localdomain 2.6.32-100.28.5.el6.x86_64 #1 SMP Wed Feb 2 18:40:23 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
First of all, I noticed a problem with a gap in the sequence numbers.

Standby
SQL> SELECT sequence#, applied from v$archived_log order by sequence#;

 SEQUENCE# APPLIED
---------- ---------
     8 YES
     9 YES
    10 YES
    11 YES
    12 YES
    13 YES
    14 YES

7 rows selected.
Primary
SQL> archive log list;
Database log mode           Archive Mode
Automatic archival           Enabled
Archive destination           USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     37
Next log sequence to archive   39
Current log sequence           39
Here are the configuration on the primary information:
SQL> show parameter db_name

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
db_name                  string     dgdb0
SQL> show parameter db_unique_name

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
db_unique_name                 string     dgdb0
SQL> show parameter log_archive_config

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
log_archive_config             string     dg_config=(dgdb0,dgdb1)
SQL> show parameter log_archive_dest_2

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_2             string     service=dgdb1 async valid_for=
                         (online_logfile,primary_role)
                         db_unique_name=dgdb1
Sleep settings
SQL> show parameter db_name

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
db_name                  string     dgdb0
SQL> show parameter db_unique_name

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
db_unique_name                 string     dgdb1
So I proceeded to run this query:
SQL> SELECT error from v$archive_dest WHERE dest_name='LOG_ARCHIVE_DEST_2';

ERROR
-----------------------------------------------------------------
ORA-16047: DGID mismatch between destination setting and target
database
The error description is:
Cause:       The DB_UNIQUE_NAME specified for the destination does not match the DB_UNIQUE_NAME at the destination.
Action:     Make sure the DB_UNIQUE_NAME specified in the LOG_ARCHIVE_DEST_n parameter defined for the destination matches the DB_UNIQUE_NAME parameter defined at the destination.
As you can see above the DB_UNIQUE_NAME in the parameter LOG_ARCHIVE_DEST_2 to match that of the database pending.

Also DG_BROKER_START is false on the back-end databases and relief.

Finally, I deleted all the files DRC * the directory $ORACLE_HOME/dbs on primary servers and intelligence to make sure that the broker is not configured.

Where am I wrong? How can I get the standby caught up and working properly again?

I apologized if I missed something. I'm relatively new to databases in waiting.

Centinul;

I noticed a few things

1. If you run the query below the sleep mode, you will probably always get the results you've posted

SELECT sequence #, applied to the order of v$ archived_log by sequence #.

What to do if run it from primary school and I add the "DEST_ID" column to the query.

2. you may have more luck finding GAPS using these queries:

Select max(sequence#) from v$ archived_log in case of application = 'YES ';

Choose the process, status from v$ managed_standby;

SELECT * FROM V$ ARCHIVE_GAP;

3. you mix SQL result with data broker, which can bite you. You don't know where you went wrong, but I would create PFILE file versions before trying to broker data at both ends. You can view each setting and avoid problems before adding the data broker. Data broker will take control and you can even find that it adds entries to your settings file.

The ORA-16047 is probably related database parameter and that should help at least answer the question. For example you might miss log_archive_config on the standby or soething. In comparing the two PFILE should refine this

I checked my notes from data broker, but did not find an ORA-16047, ORA-01031, ORA-16675, ORA-12514 and ORA-16608, I managed.

For me I decided it was a good idea to run Data Guard without data broker at first, until I got the impression using SQL.

Finally if you have not already consider the purchase of Larry 'Oracle Data Guard 11g Handbook' Carpenter IMHO its worth every penny and more.

Best regards

mseberg

Tags: Database

Similar Questions

  • DataGuard broker WARNING: ORA-16610

    Hello

    Oracle 10g.
    I just configured dataguard broker and followed all the steps:
    http://apunhiran.blogspot.com/2009/09/how-to-configure-Data-Guard-Broker.html

    However, I am constantly with ORA-16610.
    no idea how to solve this problem?


    DGMGRL > see CONFIGURING

    Configuration
    Name: CatalogDR
    Activated: YES
    Protection mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    orclprd_wlg - primary database
    orclprd_akl - physical of the standby database

    Current situation for 'CatalogDR ':
    WARNING: ORA-16610: ' health check auto broker ' on order

    Ah broker!

    My friend calls it "broken data.

    I have my installation notes that I can post if you wish. I got this job and I love his speed, but I find it a pain and returned to SQL for all my orders.

    My offer to publish my broker note stands Setup

    mseberg

    Subsequently

    John;

    I checked my setup note and here is what I have on your common error:

    ORA-16607 on SHOW CONFIGURATION
    
    Problem: After creating your configuration and adding the standby database, you issued a SHOW CONFIGURATION as suggested. Instead of the expected SUCCESS, the report ends up with
    
    Warning: ORA-16607: one or more databases have failed
    
    . Checking with oerr ora 16607 was not very helpful (see above), and you neither can find anything in your alert.log nor any trace files.
    
    Cause: Probably at least one of your databases is not using an SPFILE.
    
    Solution: Check whether your databases have an SPFILE associated. It is usually located in $ORACLE_HOME/dbs/spfile$ORACLE_SID.ora. If it does not exist, create it: Login to your database as SYSDBA, and issue the command CREATE SPFILE FROM PFILE;. Even if it exists, to make the database using it you need to restart the instance - it must be used already at startup.
    

    Published by: mseberg on August 11, 2011 20:12

  • OC4J Configuration problem.

    Hello
    I installed oracle 10g on RHEL 5. during installation I create a startup called orcl database. After that, I can get the link em when I give emctl start dbconsole. Now, I created a database manually called ora, after I have can not start the emctl command it shows me error

    OC4J Configuration problem. /U01/app/Oracle/product/10.2.0/Db_1/OC4J/J2EE/OC4J_DBConsole_Oralinux_ora not found.

    Please help me...

    Try this link with IP instead of host name. http://Oralinux:1158 / console/em/aboutApplication

    as

    http://10.91.10.103:1158 / console/em/aboutApplication

  • Configuration problem?

    I'm new to Labview. I can't connect with 3458A. It works with 34401. I use a USB/GPIB from Agilent 82357 B interface. I have a VEE program that works with the 3458A. I think I have a driver or configuration problem. I am at a total loss, any help would be appreciated.

    I got it to work with the correct command. Thanks for your help. I have much better understand how this works now.

  • two drivers of PXI chassis with Configuration problem

    Hello

    I have two PXI chassis. One is PXI 1033 and works perfectly with the NI PXI-5404, 5105, 6509, 1409, installed 8336. The other is 1036 PXI with the PXI-5404 NI, 8366 installed. When I was trying wreath connect, as master 1033, 1036 as slave, I found several problems.

    1. in the Measurement & Automation Explorer, does not have my good guys in 1033. Instead, there is a sign of the Red Cross in bottom right with 6509, 5105, 5404.

    2. I can't find an another 5404 of the 1036. In fact, I can't find 1036 in MAX.

    Update BIOS. My PXI system is already identified under the name 'NOR PXI - 1033 Embedded MXI Express' and Chassis1 is identified as 'NOR PXI 1033'.

    So I made several tests as below:

    1. unscrew the 5404 1036 slave. MAX can configure 2 1036 chassis. Ok. But when I reconnect 5404 in 1036, same result happened as stated above.

    2 uninstall the driver of 5404, so the 5404 in 1033 does not either now. And then reboot again, same result happens again. Cannot detect the 1033 chassis. Other vouchers in 1036 don't work either.

    Please, any suggestion is highly appreciated.

    Sincerely,

    Bin

    Hi Ben,

    This happens sometimes with MXI-Express:

    Error code 12 with MXI-Express

    http://forums.NI.com/T5/PXI/two-PXI-chassis-connection-with-configuration-problem/m-p/1475876#M9033

    In general, you can read this error 12 means on Device Manager:

    Explanation of error codes generated by Device Manager in Windows XP Professional

    http://support.Microsoft.com/kb/310123

    If it was a problem of bandwidth, PCI or PXI side, you could pull a few cards to see if that alleviates the problem, or that the link from Microsoft over the States, you can disable the driver for other cards.

  • "When try to turn on my computer: Windows did not start because of the following ARC firmware boot configuration problem: the ' osload partition ' parameter setting is invalid

    Original title: configuration of the CRA

    Hi, I got this message then try to turn on my computer:

    "Windows did not start because of the following ARC firmware boot configuration problem: the ' osload partition ' parameter setting is invalid. "Please check the Windows documentation about the configuration option BOW and your reference manuals of the equipment for more information.

    can someone help me?

    Hi sugenghariyono,

    ·         Did you do changes on the computer before the show?

    ·         What is the brand and model of the computer?

    ·         Are you able to boot to the desktop?

    Follow the steps in the article.

    Error message: "Windows did not start because of a configuration of the disk of the computer problem.

    For reference:

    Advanced Troubleshooting for General startup problems in Windows XP

  • Network Configuration problem

    Hello:

    Since last week, when I click on an icon, for example, the Page Home/Windows 7 does not come on the screen.  Instead, warning to appear at the top of the screen saying... Problem with Internet connection or Network Configuration problem.  After 5 minutes, or later, however, the screen came, but it is very slow to open web pages.

    This problem occurs most often during the night, however for the last two days, sometimes also during the day.

    Until this problem started out of blue, wireless connection with Comcast was very smooth-ride,... instantamously the homepage of popping up.

    Hints on this would be greatly appreciated.

    Thank you

    This sounds like a problem with your Comcast service. In the United Kingdom, I would suggest that you run a speed test on your connection speed. You can get no doubt do the same wherever you are. While it could be the quality of your line, the calendar offers it's the volume of traffic from when children arrive home from school until they go to bed.

    You could compare notes with other Comcast customers.

    http://forums.Comcast.NET/

    Hope this helps, Gerry Cornell

  • DataGuard configuration

    Hello

    Operating system of my main server is 32-bit Windows. The backup server operating system is 64-bit Windows. Can I configure the Dataguard configuration. It works perfectly?

    Thanks in advance.

    Operating system of my main server is 32-bit Windows. The backup server operating system is 64-bit Windows. Can I configure the Dataguard configuration. It works perfectly?

    You did not mention the version of the database that you could use. 11 g, Yes, it is possible to have different primary and eve of binary OS.

    You can refer to this https://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB00067

    HTH

    -Jonathan Rolland

  • Configuration problem EM on 12 c OEM

    I started working on a new client, who was a repository of grid 12 c Setup program, and they have restarted a server for maintenance. When I tried to enter emctl start agent, I received the following.

    The MA Configuration problem. /U01/app/Oracle/product/11.2.0.3/dbhome_1/servername.domain.com_oem not found.

    Is there a way to create this file? is or if I should use emca, possible that I can perform a 'regeneration' without changing the initial configuration?

    Thanks everyone, I solved the problem. I made a backup of my old profiles.xml, created a void with just header and footer information, and everything started upward normally, thank you again!

  • OC4J Configuration problem. $OH / OC4J_DBConsole_IPADDR_db not found.

    Hi all

    I have a new installation of Oracle 11 g 2 m4.

    I tried several times creating dbconsole, ensuring that the environment variables are defined property and also in the response file, specifically ORACLE_HOSTNAME is set correctly.

    The emca - config... returns with success,

    but in the newspaper, it shows me the URL to control db being in the form of https:// < hostname >: 5500/em

    Under OracleHome, I have a directory in the form of < hostname > dbcontrol Private

    Although my departure db control fails with above message.

    emctl start dbconsole

    "OC4J Configuration problem. $OH / OC4J_DBConsole_IPADDR_db not found. »

    My question is since emca creates the control with the format https:// < hostname >: 5500/em , and it is properly configured in OracleHome, why "emctl" refers to IPADDR and allows me not to start dbcontrol?

    Thank you

    DP

    What is the name OS & version?

    what OS command under report

    hostanme

    can you do successfully as below

    Ping

    Ping

  • Photoshop CS6 configuration problem, code 16

    So I have a PC and I come again Mac Pro 2 days (it is a little difficult of is used), and my Mom took a tech shop any to download all of these programs for me. But when I tried to open Photoshop this configuration problem keeps popping up and the code is 16. I don't know how to fix it, please help! (Also if someone could elaborate on their answer that would be great, I'm really not very good with computers).

    http://helpx.Adobe.com/x-productkb/policy-pricing/configuration-error-CS5.html

  • demote the Group patch 3 10.2.0.5 in dataguard configuration

    Hello

    We run in running in linux x86_64 5 update 7 dataguard configuration.

    primary database "single instance": 10.2.4.4 (downgraded to 10.2.0.5)

    STANDBY database "2xnode CARS": 10.2.0.5 (need to downgrade)

    primary database successfully downgraded after slaughter again shipping services, etc...

    in 10.2.0.5 readme group of hotfixes, I can't find a note dealing with the ' how to make to delete/uninstall only from binaries group of patches as in dataguard we must not to run one of the scripts what database keys.

    thanking you in anticipation.

    Kind regards

    -Ahmad

    Hi Andre,

    It is not possible to uninstall a group of patches. Either Oracle home must be restored from Oracle home or install it again. Once this is done, you can simply enable log shipping and it should take care of database backup.

    334598.1 - how to restore a group of patches

    Thank you

    Ashish

  • Configuration problem of the mixture of the regions with and without installation of persistence of the disc causing the JSONFormatter to fail

    I have trouble setting my local setup correctly with a mixture of regions with different configuration of persistence of disc.  Is a configuration problem on my end or a bug in GemFire and/or Spring GemFire data?

    The configuration of my work is as follows:

    < gfe: replicated-region id = "replicatedRegion" cache-ref = "gemfireCache" disk-store-ref = "overflowOnlyDiskstore" persistent = "false" >

    < gfe:eviction type = threshold "HEAP_PERCENTAGE" = "90" action = "OVERFLOW_TO_DISK" / >

    < / gfe: replicated-region >

    < gfe:local - region id = "localRegion" cache-ref = "gemfireCache" / >


    With the above configuration, I can successfully call JSONFormatter.fromJSON (json) and get a reference to a PdxInstance object.  However, when I kinda modify configuration to enable the persistence of drive on one of the regions, the call to JSONFormatter.fromJSON (json) fails.  The change is as follows:


    < gfe:local - region id = "localRegion" cache-ref = "gemfireCache" persistent = "true" disk-store-ref = "persistOverflowDiskstore"/ >

    Without any additional modification, the following error starts occurring:

    com.gemstone.gemfire.pdx.JSONFormatterException: could not parse JSON document: [Source: java.io.StringReader@5549f0e, line: column 26,: 6]

    at com.gemstone.gemfire.pdx.JSONFormatter.fromJSON(JSONFormatter.java:66)

    ...

    Caused by: com.gemstone.gemfire.pdx.PdxInitializationException: The PDX metadata must be persistent in a limb that has persisted data. See CacheFactory.setPdxPersistent.

    at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.checkAllowed(PeerTypeRegistration.java:531)

    at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.verifyConfiguration(PeerTypeRegistration.java:515)

    ...

    Note that it is breaking while I try to get a reference to a PdxInstance, and if the code has not yet arrived at the point where I place a PdxInstance object in a region.

    Thanks for any help in advance.

    Hello

    JSONFormatter PDX uses as is the serialization mechanism from the Gemfire cache. As indicators of error, you must have your persistent PDX meta-data when you use PDX with an area that itself is persistent. Adjust your configuration as follows:

    
    

    It will use a default for PDX record store, but you can also use a specific store if you wish.

    When you use PDX, a "PDXType" is created for each class serialized with PDX and this type id is stored with the data in the region. If this region is persistent, then the PDXType, associated with this object must also be kept.

    -Jens

  • OEM EM Configuration problem.

    Hello

    I created the database using YES. End of the installation, he showed OEM url
    Enterprise Manager 10g Database Control URL:
    http://RHEL5.myserver:1158 / em

    When I try to connect oem, I couldn't. then I checked

    * $ emctl status *.
    TZ defined on Asia/Calcutta
    The MA Configuration problem. /U01/app/Oracle/product/10.2.0/Db_1/RHEL5.myserver_TSH1 not found.


    * $ emctl start dbconsole *.

    TZ defined on Asia/Calcutta
    Oracle Enterprise Manager 10 g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
    http://RHEL5.myserver:1158 / console/em/aboutApplication
    from Oracle Enterprise Manager 10 g Database Control... started.
    Logs are generated in the /u01/app/oracle/product/10.2.0/db_1/rhel5.myserver_orcl/sysman/log directory


    1. may I know, YES even created OEM, why I can't connect?
    2. I do not understand: the MA Configuration problem. /U01/app/Oracle/product/10.2.0/Db_1/RHEL5.myserver_TSH1 not found.

    My db_name is: orcl
    the product is 10. 2.0
    OS: redhat

    Thanks in advance...

    After you start the DB console, use a browser to access the console on the URL indicated in the output of the command "emctl start dbconsole":

    For example, go to URL https://rhel5.myserver:1158 / em

    In addition, if you have multiple databases to monitor/manage. Consider using MS Cloud Control.

    Doc on Cloud Control is available here:
    http://docs.Oracle.com/CD/E24628_01/index.htm

  • VMDirectpath configuration problems.

    Well, I think I Passthrough (VMDirectpath) configuration problems. I use vSphere VMware ESX, 4.0.0.

    I tried to configue passthrough, so I checked Configuration-Hardware-Advanced setting and I don't found "no device currently activated for passthrough.

    I clicked on "configuration Passthrough.. ' and tick"Mark of Passthrough devices"then I found all USB devices are passthrough capable but not running in passthrough mode and PCI/PCI bridges are not able to passthrough.

    After ignoring the warnig message ('vmnic0' assignment, which used by the virtual switch 'vSwitch0' for passthrough access can make the inaccessible host and can require a lot of effort to cancel.), I marked as the relay device, and of course I've known the significant effort to cancel. :$

    I could not access the server, and the start was now available for some time.

    What I want to really know is.

    I'm looking for the correct devices for passthrough

    and what was the Passthrough configuration problem.

    Is this Client vs server problem? or materials (such as the version of the kernel or CPU specifications)?

    Anyone knows the solution or has any advice, please help me.

    Thank you.

    Kwangwon Chae

    Hi kwangwon, it seems like you just a physical network adapter on the host ESX (i) and is used by the vSwitch0 (at installation time is created inteface vswif0 here commonly called console port or management service), that's why you get this 'warning' when you try to set this for VMDirectpath pci device and also, that's why you lose your connection to your host because it can no longer be used by your esx server.

    Kind regards.

    If you find this information useful, please give points to "correct" / "useful."

    My blog virtualizacion you en idioma

Maybe you are looking for