DataGuard... [not transfort achivelog between db primary and standby] m

Dear all Dataguard gurus [sorry if I'm wrong place this message]

I tried to install oracle 10g dataguard on 2 machines with Centos 4.6 for the development

After installation is finished, I have some "STRANGE"... when I do a query to dataguard1

dataguard1 is the primary database machines [hostname]
dataguard2 is waiting for database machines [hostname]

sys@dataguard1 > select the sequence #, first_time next_time in v$ archived_log;

SEQUENCE # FIRST_TIM NEXT_TIME
---16 24 JULY 09 24 JULY 09
17-24 JULY 09 24 JULY 09
18-24 JULY 09 24 JULY 09
19-24 JULY 09 24 JULY 09
20-24 JULY 09 24 JULY 09
21-24 JULY 09 24 JULY 09
22-24 JULY 09 11 AUGUST 09
23 11 AUGUST 09-12 AUGUST 09
24 12 AUGUST 09-12 AUGUST 09
25 AUGUST 12 09 12 AUGUST 09
26 12 AUGUST 09-12 AUGUST 09

sys@dataguard1 > select sequence #, applied
2 from v$ archived_log
3 order of sequence #.

SEQUENCE # APP
---
16 NO.
17 NO.
18 NO.
19 NO.
20 NO.
21 NO.
22 NO.
23 NO.
24 NO.

But if I do the same charly on the backup database

sys@dataguard2 > select the sequence #, first_time next_time in v$ archived_log;

nothing archives... and not the application...


here my parameter file parameter not included

primary DB... on dataguard1 machines dbname: dgtest
*.db_file_name_convert='/U01/app/Oracle/oradata/dgtest','/U01/app/Oracle/oradata/dgtest '
* .db_name = "dgtest".
*. DB_UNIQUE_NAME = "dgtest".
* .fal_client = "dgtest2".
* .fal_server = "dgtest".
* .job_queue_processes = 10
* .log_archive_config = 'DG_CONFIG = (dgtest, dgtest2)'
*. Log_archive_dest_1 ='LOCATION = / U02/oradata/Archive/dgtest /.
valid_for = (all_logfiles, all_roles)
db_unique_name = dgtest'
* .log_archive_dest_2 = "service = dgtest2 lgwr async
valid_for = (online_logfiles, primary_roles)
db_unique_name = dgtest2'
* .log_archive_dest_state_1 = 'enable '.
* .log_archive_dest_state_2 = 'enable '.
*.log_archive_format='%s_%t_%r.arc'
*.log_file_name_convert='/U01/app/Oracle/oradata/dgtest','/U01/app/Oracle/oradata/dgtest ',.
' / u01/app/oracle/flash_recovery_area/DGTEST/onlinelog / ',' / u01/app/oracle/flash_recovery_area/DGTEST/onlinelog /'
* .service_names = "dgtest".
* .standby_file_management = "auto".

sleep machines... dataguard1 dbname: dgtest2
*.db_file_name_convert='/U01/app/Oracle/oradata/dgtest','/U01/app/Oracle/oradata/dgtest '
* .db_name = "dgtest".
*. DB_UNIQUE_NAME = "dgtest2".
* .fal_client = "dgtest2".
* .fal_server = "dgtest".
* .log_archive_config = 'DG_CONFIG = (dgtest, dgtest2)'
*. Log_archive_dest_1 ='LOCATION = / U02/oradata/Archive/dgtest /.
valid_for = (all_logfiles, all_roles)
db_unique_name = dgtest2'
* .log_archive_dest_2 = "service = dgtest lgwr async
valid_for = (online_logfiles, primary_roles)
db_unique_name = dgtest'
* .log_archive_dest_state_1 = 'enable '.
* .log_archive_dest_state_2 = 'enable '.
*.log_archive_format='%s_%t_%r.arc'
*.log_file_name_convert='/U01/app/Oracle/oradata/dgtest','/U01/app/Oracle/oradata/dgtest ',.
' / u01/app/oracle/flash_recovery_area/DGTEST/onlinelog / ',' / u01/app/oracle/flash_recovery_area/DGTEST/onlinelog /'
* .remote_login_passwordfile = "EXCLUSIVE."
* .service_names = "dgtest".
* .standby_file_management = "auto".

What could be the problem?

Thank you for the attention You ' r & help

might help the problem ;) hunterX

Published by: dadi kang on August 13, 2009 12:09 AM

Published by: dadi kang on August 13, 2009 12:10 AM

Hello

Views of queries

DBA_LOGSTDBY_EVENTS
DBA_LOGSTDBY_LOG
DBA_LOGSTDBY_NOT_UNIQUE
dba_logstdby_progress
dba_logstdby_skip
dba_logstdby_unsupported

And check the alerts.log in all cases. Also check the listener.ora configuration and tnsnames.ora

See you soon,.

Rodrigo Mufalani
http://mufalani.blogspot.com

Tags: Database

Similar Questions

  • No communication between the primary and standby

    Hello

    I have configured the DG,

    primary-> testprod
    standby mode-> testprod_s
    I started, standby machine instance watch with testprod and its place...
    but there is no communication between the primary and standby...

    How can I ask/check communication?

    Heartbeat PING [ARC3]: Unable to connect to the day before "testprod_s". Error is 12514

    eve of post form

    status of $lsnrctl
    $lsnrctl services

    When oracle not registered with listener service, this kind of errors occurred.
    The value of register LOCAL_LISTENER & manually as below in sleep mode and post

    SQL > alter the registry system;

  • synchronization between the primary and standby database

    Hi all

    We have 2 database, we have 2 requirment

    (1) making a primary database and secondly of Eve
    (2) synchronization only differential data betwwen the primary and secondary daily.


    Please help me

    Hello

    What is the physical standby?
    Do you have the chance to look over the physics of the standby database.
    You just need to apply daily archived file generated to the standby database. This can be done manually or automatically through data guard.

    Concerning
    Anurag

  • DataGuard no synchronization between the primary and Standby databases

    Dear Sir

    If the database is a central problem of corruption in a given segment, an index for example, the synchronization process is always for the other node?

    I found a problem, because the primary database has been altered and block synchronization occurred, because the sequences were in the same paragraph, for making the switch and newspapers registered in the database side, we had problems because the details were not in the second node, so we have problems because the information contained in an instance that was not high school.

    In the Bank primary block has been altered, but not in the secondary block has been altered, you can be?
    Now we have a database with information not included in the other cases, it takes using SQL commands to migrate data from one instance to another.

    Thank you,

    Alexander
    In the Bank primary block has been altered, but not in the secondary block has been altered, you can be?

    "Corrupted" means the database down? The exact error message after your get?

    Thank you

  • Synchronization errors between the primary and Standby - Cause of Performance issue

    Hello

    We have an Informatica Repository Database, which has also a standby Database configured.

    One of these days we had errors in synchronization that is mentioned below.

    Sun Dec 15 05:07:19 2013

    Errors in the /opt/oracle/admin/ROSINP/bdump/rosinp_arc0_802.trc file:

    ORA-16191: customer main newspaper not connected waiting for shipment

    "PING [ARC0]: Heartbeat cannot connect to standby mode ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = tcp) (HOST = uora115r)(PORT=1521))) (CONNECT_DATA = (SERVICE_NAME = rosinr_XPT

    . BSCA.eds.com) (instance_name = rosinr) (Server = Dedicated)))'. The error is 16191.

    Sun Dec 15 05:12:19 2013

    Logging of 1017 errors received on the eve

    This can be only a cause of Informatica service down? Also this synchronization can result in performance problems?

    There is no DB related errors on the database apart from that.

    Kind regards

    Narayan

    Cannot be known from the information provided.

  • What is the difference between codec primary and secondary codec in cts-3000?

    Hello

    I'm a novice on telepresence. This community is only a place to resolve issues for me.

    What is the difference between codec primary and secondary codec in cts-3000?

    I know the primary function of the codec. but I don't know exactly of secondary function of codec.

    Help me please.

    Hello

    On a CTS 3000 system, you have 1 codec primary and secondary 2 codecs. Secondary codecs are responsible for the camera left and right and view the connections. They communicate the main codec via an Ethernet cable.

    Here is a guide to the installation of a CTS-3000 so that you can see the routing of cables.

    http://www.Cisco.com/c/en/us/TD/docs/Telepresence/cts_3000/guide/3000_assembly_guide/CH08_Routing_Power_and_Signal_Cables.html

    In addition, if you are interested to learn more about the telepresence as of last year, Cisco introduced the video CCNA certification track. Maybe it's something you are interested in.

    https://learningnetwork.Cisco.com/community/certifications/ccna_video

    PEI

  • Hi, why my color is not the same between the library and the development.

    Hi, why my color is not the same between the library and the development. The color is yellow in the library... I'm not problem before windows 10...

    thx for your answer...

    The upgrade of Windows 10 has probably replaced you previous monitor with an incompatible profile mode. Calibrate your monitor or assign the previous monitor profile to your screen

    http://Windows.Microsoft.com/en-us/Windows7/change-color-management-settings

  • change ip address of the database servers primary and standby

    Hello.

    I have an oracle server primary and backup (version 11.2.0.4) on windows 8 profesional.

    They work well until today.

    Today, I had to change my ip address on both servers.

    After that I changed the ip address of the OS, I changed the ip address in tnsnames.ora and listener.ora files only.

    A moment that everything worked well. But now the archivelog files not copy to the standby server.

    Is there a place where I have to change ip or the settings on the database?

    Please, I hope you can help me.

    Best regards

    Hello

    After that I changed the ip address of the OS, I changed the ip address in tnsnames.ora and listener.ora files only.

    A moment that everything worked well. But now the archivelog files not copy to the standby server.

    1. If it worked for a while after the change of ip address

    3. make sure your journal alerts, what it says? information about the error?

    2. first thing ipadress sequenced in tnsnames.ora and listener.ora on primary and standby

    3. check ping to the host-level work and tnpsing is reached or not. If both are working check listeners are up or not and they are able to identify the services of db, registered or not.

    4. now, connect as sysdba password on the servers file

    5 check v$ achive_Dest_status for valid or relevant destination which is assistance for the transfer of the archives of primary Eve (the error column)

    -Not especially to knew what the problem is, you should get the controls.

    -Pavan Kumar N

  • How to configure Enterprise Manager Database Control (MCCD) to make it work on 2 servers (primary and standby) work according to the rules of the DG

    Hello everyone I use Oracle Database EE 11.2.0.4 with DG.

    In these cases, I need to get Enterprise Manager Database Control running against DB with no CARS and no DG I do the following:

    I have SQLPLUS logon as user SYS or SYSTEM and drop the account sysman and business objects:

    DECLARE

    CURSOR c1 IS

    SELECT master, synonym_name name

    OF dba_synonyms

    WHERE table_owner = "SYSMAN";

    BEGIN

    TO r1 c1 LOOP

    IF r1.owner = "PUBLIC" THEN

    RUN IMMEDIATELY "DROP PUBLIC SYNONYM ' |" R1. Name;

    ON THE OTHER

    RUN IMMEDIATELY "DROP SYNONYM ' |" R1. Owner: '. ' || R1. Name;

    END IF;

    END LOOP;

    END;

    /

    Mgmt_view DROP USER CASCADE;

    /

    DROP ROLE mgmt_user;

    /

    Sysman DROP USER CASCADE;

    /

    After that, I run

    EMCA - config dbcontrol db-rest recreate

    But what do I do in case I have 2 servers (primary and standby) work according to the rules of the DG?

    Hello

    It is not possible to monitor and administer a basic physical or logical standby, IE using Enterprise Manager Database Control Data Guard.  This is mainly due to the fact that Database Control is designed to monitor the 1-database and an environment Data Guard, by definition, includes more than 1 database.

    If you attempt to run emca against a database of pending, you will get an error like (i.e. ORA-01219: database is not open).

    Of course, database Control, can be used to monitor the current main database (with no capacity to administer or control Data Guard related features).  In such a case, failover Database Control needs to be reconfigured to run on the new primary database using the commands described in detail in Note 278100.1 how to remove, create and recreate DB Control In A Database, section c. recreate/ReConfig DB control, Option 2 10 g. recreate the control DB Configuration files and repository.

    Enterprise Manager Grid Control or Cloud control provides the functionality for display, monitor, and administer the primary and standby databases in a Data Guard configuration.

    Reference: It is Possible to configure the database for a logical or physical Standby Database command? (Doc ID 315116.1)

    You can effectively use EM 12 c cloud control to monitor and manager ensures DB

    Ref to the link for more details below

    Set up and manage to Oracle Data Guard with Oracle Enterprise Manager Cloud control 12 c

    Kind regards

    Rahul

  • Purge logs archiving on things primary and Standby and for Data Guard RMAN


    Hi, I saw a couple of orders in regard to the purge archive records in a Data Guard configuration.

    Set UP the STRATEGY of SUPPRESSION of ARCHIVE to SHIPPED to All RELIEF;

    Set UP the STRATEGY of ARCHIVELOG DELETION to APPLIED on All RELIEF;

    Q1. The above only removes logs archiving to the primary or primary and Standby?

    Q2. If deletions above archive logs on the primary, is it really remove them (immediately) or does the FRA to delete if space is needed?

    I also saw

    CONFIGURE ARCHIVELOG DELETION POLICY TO SAVED;

    Q3. That what precedes, and once again it is something that you re primary side?

    I saw the following advice in the manual of Concepts of data protection & Admin

    Configure the DB_UNIQUE_NAME in RMAN for each database (primary and Standby) so RMAN can connect remotely to him

    Q4. Why would I want my primary ro connect to the RMAN Repository (I use the local control file) of the standby? (is this for me to say define RMAN configuration settings in the Standby) manual

    Q5. Should I only work with the RMAN Repository on the primary or should I be also in things in the deposits of RMAN (i.e. control files) of the standby?

    Q6. If I am (usually mounted but not open) Physics, of standby I able to connect to its own local repository for RMAN (i.e. control based on files) while sleep mode is just mounted?

    Q7. Similiarly if I have an old lofgical (i.e. effectively read-only), to even connect to the local RMAN Repository of Eve?

    Q8. What is the most common way to schedule a RMAN backup to such an environment? example cron, planner of the OEM, DBMS_SCHEDULER? MY instinct is cron script as Planner OEM requires running the OEM service and DBMS_SCHEDULER requires the data runs?

    Any idea greatly appreciated,

    Jim

    The above only removes logs archiving to the primary or primary and Standby?

    When CONFIGURE you a deletion policy, the configuration applies to all destinations archive

    including the flash recovery area. BACKUP - ENTRY DELETE and DELETE - ARCHIVELOG obey this configuration, like the flash recovery area.

    You can also CONFIGURE an archived redo log political suppression that newspapers are eligible for deletion only after being applied to or transferred to database backup destinations.

    If deletions above archive logs on the primary, is it really remove them (immediately) or does the FRA to delete if space is needed?

    Its a configuration, it will not erase by itself.

    If you want to use FRA for the automatic removal of the archivelogs on a database of physical before you do this:

    1. make sure that DB_RECOVERY_FILE_DEST is set to FRA - view parameter DB_RECOVERY_FILE_DEST - and - setting DB_RECOVERY_FILE_DEST_SIZE

    2. do you have political RMAN primary and Standby set - CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON ALL STANDBY;

    If you want to keep archives more you can control how long keep logs by adjusting the size of the FRA

    Great example:

    http://emrebaransel.blogspot.com/2009/03/delete-applied-archivelogs-on-standby.html

    All Oracle is worth a peek here:

    http://emrebaransel.blogspot.com/

    That what precedes, and once again it is something that you re primary side?

    I would never use it. I always had it put it this way:

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;

    I would use only 'BACKED UP' for the data protection system. Usually it tell oracle how many times to back up before removing.

    Why would I want my primary ro connect to the RMAN Repository?

    Because if you break down, you want to be able to backup there, too.

    Also if it remains idle for awhile you want.

    Should I only work with the RMAN Repository on the primary or should I be also in things in the deposits of RMAN (i.e. control files) of the standby?

    Always use a database of catalog RMAN with Data Guard.

    If I am (usually mounted but not open) Physics, of standby I able to connect to its own local repository for RMAN (i.e. control based on files) while sleep mode is just mounted?

    Same answer as 5, use a catalog database.

    Similiarly if I have an old lofgical (i.e. effectively read-only), to even connect to the local RMAN Repository of Eve?

    Same answer as 5, use a catalog database.

    What is the most common way to schedule a RMAN backup to such an environment? example cron, planner of the OEM, DBMS_SCHEDULER? MY instinct is cron script as Planner OEM requires running the OEM service and DBMS_SCHEDULER requires the data runs?

    I think cron is still, but they all work. I like cron because the database has a problem at work always reports its results.

    Best regards

    mseberg

    Summary

    Always use a database with RMAN catalog.

    Always use CRF with RMAN.

    Always set the deletion «To APPLY ON ALL STANDBY» policy

    DB_RECOVERY_FILE_DEST_SIZE determines how long to keep the archives with this configuration.

    Post edited by: mseberg

  • Purge of the archivelogs on primary and Standby

    Hi all

    11.2.0.1

    AIX 6.1

    I'm tracking use of space in our FRA for DG primary and standby. I want all archivelogs purge once they have been applied in standby. Still, what is the use of it?

    I checked google and I found this procedure, will it's okay if this evil?

    Primary:

    =========

    RMAN

    {

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;

    }

    On hold:

    ========

    RMAN

    {

    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;

    }



    When I issue the command DELETE NOPROMPT ARCHIVELOGS OBSOLETE?


    Thank you very much

    zxy

    Hello

    remove the force archivelog all; Just delete everything he finds little matter whether or not it is necessary. It will remove files that have not been saved and will also remove the files not delivered/applied to forward.

    See you soon,.

    Harry

  • Sequence start/stop database primary and standby in RD

    Hello

    Can someone help me know the sequence of start/stop physical standby? I need the right order to start and stop primary and standby to 11g.

    Thank you

    Hello
    You stop first while waiting for database.

    Please see

    process shutdown and startup DataGuard

    Thank you

  • change log_archive_dest_1 on primary and standby databases

    All,

    I got a primary and standby that run smoothly... (10.2.0.4 on windows 2003) However, I'm running out of space on my drive root and need to change the location of my files of newspaper archives. I guess I have to change my pfile file and recreate the spfile on both servers of this:

    LOG_ARCHIVE_DEST_1 =
    "LOCATION = C:\Oracle\flash_recovery_area\PRIM\ARCHIVELOG
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES)
    DB_UNIQUE_NAME = PRIM'

    TO:

    LOG_ARCHIVE_DEST_1 =
    "LOCATION = E:\archive\flash_recovery_area\PRIM\ARCHIVELOG
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES)
    DB_UNIQUE_NAME = PRIM'

    Or can I change the two systems with the location on the fly safely?

    Thank you
    Tony

    user8143884 wrote:
    Since my primary and standby are on the same specifications of hardware do I need to run the same command on my watch? Or will he propigate during the day once before I run it on the primary?

    Thank you
    Tony

    You use LOG_ARCHIVE_DEST_1 = LOCATION = is for the primary for local path is to say, there is no interest to spread the path archivelog primary on the eve of the database as standby database has its own local path archivelog in the LOG_ARCHIVE_DEST_1 = LOCATION = parameter which will be affected after switchover mode ensures the primary database.

    Khurram

  • Why my display of the date of the mailbox does not have a / between the year and the month?

    I'm talking here about how the date of different e-mails appear in my Inbox. I have a / between the month and the day, and a / after the day, but I did not / between the year and the month.

    TB uses the date format short, such that defined by your operating system, which, in the case of Windows, is located in the Panel control/region and language.

    http://KB.mozillazine.org/Date_display_format

    There are a few modules that might also be useful:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ConfigDate/

    https://addons.Mozilla.org/en-us/Thunderbird/addon/Super-date-format/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

  • Unlike used MB of available space in the ASM disk between primary and standby database group

    Hi all

    We are seeing a difference in ASM disk group DATA1 USED_MB between elementary school a Standby.Its an AAM.4 node RAC

    Primary

    -------

    NAME                              TOTAL USED GB FREE GB REQUIRED FREE GB USABLE % USABLE free of CHARGE (GB)

    ------------------------------ ------------ ------------ ------------ ---------------- ---------------- --------------

    Data1 141 534 66 082 75 452 15 726 42.0 59 726

    DATA_XDP501 17 766 11 635 6 131 2 538 3 593 20.0

    Standby

    NAME                              TOTAL USED GB FREE GB REQUIRED FREE GB USABLE % USABLE FREE (GB)

    ------------------------------ ------------ ------------ ------------ ---------------- ---------------- --------------

    Data1 141 534 57 059 84 475 15 726 68 749 49.0

    DATA_XDP801 17 766 11 781 5 985 2 538 3 447 19.0

    Mode standby is runnig like

    OPEN_MODE

    --------------------

    READ ONLY TO APPLY

    Some body give an overview on what could be the purpose or specific controls will help

    Thank you

    Soundar.M

    Hello

    You can run sql in below document ASM sqlplus.

    Then, you will come to know which files are files of redundent on ASM diskgroup.

    HOW to map ASM FILES WITH FILES of DATABASE ONLINE (Doc ID 552082.1)

    Delete these additional level of the DSO files, then validate.

    Kind regards
    Loriette

Maybe you are looking for

  • problem: pinch to zoom in the yosemite is dependent on application

    In Mac OS 10.6.8 I can zoom in on any part of my screen regardless of what the application is running.  I find it very convenient.  I do it by holding down the control key and scrolling upward (to zoom in or zoom) or down (to zoom out).  This allows

  • Help, please! My mouse keeps highlighting everything

    Please help me its urgent. THX

  • Remove the expand/collapse TOC icon

    Is anyway to remove the collapse icon in the menu table of contents that I would use my own icon table of contents somewhere else?

  • ESXi-Networking

    I have ESXi server with 3 maps and I'm looking for advice for best practices to connect:My network environment: external ISP connection Cisco router.Two switch (vLan interconnection).Please can someone help!

  • DB file sharing - why it appear?

    I keep seeing these DB sharing files that appear whenever I create a file in Indesign.WHY they appear and clutter my account online?  I guess they are for use of the program, but why they aren't working behind the scenes?  This only happens with CS6.