Log_archive_dest_2 DataGuard

Hi all

9i

RHEL5

In the dataguard configuration init.ora parameter, which is the best between the two? In terms of performance?

LOG_ARCHIVE_DEST_2 = "SERVICE = STBY LGWR ASYNC NOAFFIRM'"

or

LOG_ARCHIVE_DEST_2 = "SERVICE = STBY LGWR SYNC STATE '"


Thank you very much

JC


Hello, if your storage pending system is not the best of all or your /bandwidth of network latency is not very good, then choose ASYNC (and 9i, you can choose ARCH ASYNC... for a primary performance).

my personal experience:

300 km of primary education in the various networks... before I used ASYNC.

Primary and standby on the same data center with a low cost for standby disk storage: I used ASYNC.

Primary and standby on the same network (with good latency and bandwidth) and the upper disc AND VERY CRITICAL of DATABASE storage!, so I use SYNC.

With SYNCHRONIZATION option, all of the problems in writing to the backup site are in the PRIMARY.

Kind regards.

Tags: Database

Similar Questions

  • DataGuard problems, bad to the log_archive_dest_2 port configuration

    Hello! Thank you all in advance for your help and sorry for my English, I will try to explain as best as possible.

    We have a dataguard.

    It has two headphones, the ports are 1534 and 1544, but... someone changed their 1535 once there is and now I had to re-set up everything again.

    The thing is log_archive_dest_2 at the elementary level is wrong, because it points to instead of 1534-1535. I tried to edit init.ora and restart the instance but it always points to 1535 again.

    I don't know if this setting depends on the other, or there is a hidden configuration, I don't see

    **********
    Primary
    **********
    -----------------------------------------------------------------------------------------------------------------------------------------
    tnsnames.ora


    LICITARP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1544))(HOST = server01g))
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server01))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = LICITARP)
    )
    )

    LICITARR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server02g. XXXXXX.es) (PORT = 1544))
    (ADDRESS = (PROTOCOL = TCP) (HOST = server02. XXXXXX.es) (PORT = 1534))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = LICITARR. XXXXXX.es)
    )
    )

    LICITARP. XXXXXX.es =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))
    )
    (CONNECT_DATA =
    (SID = LICITARP)
    (SERVER = DEDICATED)
    )
    )

    LICITARPG. XXXXXX.es =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))
    )
    (CONNECT_DATA =
    (SID = LICITARP)
    (SERVER = DEDICATED)
    )
    )

    LICITARR. XXXXXX.es =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server02. XXXXXX.es) (PORT = 1534))
    )
    (CONNECT_DATA =
    (SID = LICITARR)
    (SERVER = DEDICATED)
    )
    )

    L_LICITARPG =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))

    L_LICITARP =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))





    -----------------------------------------------------------------------------------------------------------------------------------------
    Listener.ora


    SID_LIST_L_LICITARPG =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARP)
    )
    )

    L_LICITARP =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))
    )
    )
    L_LICITARPG =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))
    )
    )

    SID_LIST_L_LICITARP =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARP. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARR)
    )
    )


    -----------------------------------------------------------------------------------------------------------------------------------------
    parameters



    My ora init settings:

    LICITARP.log_archive_dest_1 ='location = "USE_DB_RECOVERY_FILE_DEST" ',' valid_for = (ALL_LOGFILES, ALL_ROLES)'"
    LICITARP.log_archive_dest_2 ='service = "LICITARR.xxxxxx.es ', delay LGWR SYNC AFFIRM = OPTIONAL compression 0 = DISABLE max_failure = 0 max_connections = 1 reopen = 300 db_unique_name ="LICITARR"net_timeout = 30 valid_for = (online_logfile, primary_role)'" "


    I start the database and when I show the parameters, log_dest_2 points to 1535, a bad port.

    SQL > show settings dest

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    audit_file_dest string/opt/oracle/admin/LICITARP/adu
    MP
    / opt/oracle/diag/rdbms/licitar string background_dump_dest
    p/LICITARP/trace
    core_dump_dest string/opt/oracle/diag/rdbms/licitar
    p/LICITARP/cdump
    db_create_file_dest chain
    db_create_online_log_dest_1 string
    db_create_online_log_dest_2 string
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_create_online_log_dest_5 string
    db_recovery_file_dest string/opt/oracle/oradata/flash_reco
    very_area
    whole large db_recovery_file_dest_size 100G
    diagnostic_dest string/opt/oracle
    Log_archive_dest chain
    location of string Log_archive_dest_1 = 'USE_DB_RECOVERY_FILE. '
    Dest", valid_for is (ALL_LOGFIL
    ES, ALL_ROLES)
    LOG_ARCHIVE_DEST_10 string
    service of string LOG_ARCHIVE_DEST_2 = "(DESCRIPTION = (ADDRESS

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    _LIST = (ADDRESS = (PROTOCOL = tcp
    () (HOST = server02)(¡¡¡PORT=1535!!!)))
    (CONNECT_DATA = (SERVICE_NAME = LI
    CITARR. XXXXXX.es)(SERVER=DE)
    DIQUE))) ', LGWR SYNC DISPLAY.
    Delay of RM = 0 OPTIONAL compressio
    n = DISABLE max_failure = 0 max_co
    nnections = 1 reopen = 300 db_un
    ique_name = "LICITARR" net_timeo
    UT = 30 valid_for = (online_logfi
    the, primary_role)

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string ENABLE
    allow the chain of log_archive_dest_state_10
    LOG_ARCHIVE_DEST_STATE_2 string ENABLE
    log_archive_dest_state_3 string ENABLE

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    allow the chain of log_archive_dest_state_4
    allow the chain of log_archive_dest_state_5
    allow the chain of log_archive_dest_state_6
    allow the chain of log_archive_dest_state_7
    allow the chain of log_archive_dest_state_8
    allow the chain of log_archive_dest_state_9
    log_archive_duplex_dest string
    log_archive_min_succeed_dest integer 1
    standby_archive_dest channel? / dbs/arch
    user_dump_dest string/opt/oracle/diag/rdbms/licitar
    p/LICITARP/trace
    SQL > show fal settings

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    string fal_client (DESCRIPTION = (ADDRESS_LIST =)
    Address = (Protocol = TCP) (Host = FL
    o5ora01) (port = 1534))) (CONNECT_
    DATA = (SERVICE_NAME = LICITARP. XX
    XXXXXX.es) SERVER = DEDICATED))
    string fal_server (DESCRIPTION = (ADDRESS_LIST =)
    Address = (Protocol = TCP) (Host = f
    lo5ora02) (port = 1534))) (CONNECT
    DATA = (SERVICENAME = LICITARR.) X
    XXXXX.es) (SERVER = DEDICATED)
    )



    **********
    Standby
    **********
    -----------------------------------------------------------------------------------------------------------------------------------------
    tnsnames.ora


    LICITARR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = LICITARR)
    )
    )

    LICITARR
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )
    (CONNECT_DATA =
    (SID = LICITARR)
    (SERVER = DEDICATED)
    )
    )


    L_LICITARR =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))


    LICITARR. XXXXXX.ES =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )
    (CONNECT_DATA =
    (SID = LICITARR)
    (SERVER = DEDICATED)
    )
    )



    -----------------------------------------------------------------------------------------------------------------------------------------
    Listener.ora



    SID_LIST_L_LICITARRG =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARPG. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARRG. XXXXXX.es)
    (SID_NAME = LICITARR)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARPG_dgb. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARPG_DGB. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARRG_dgb. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARRG_DGB. XXXXXX.es)
    (SID_NAME = LICITARR)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARR)
    )
    )

    SID_LIST_L_LICITARR =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARPG. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARRG. XXXXXX.es)
    (SID_NAME = LICITARR)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP_dgb. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARP_DGB. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR_dgb. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARR_DGB. XXXXXX.es)
    (SID_NAME = LICITARR)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARR)
    )
    )


    L_LICITARR =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )
    )



    L_LICITARRG =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1544))(HOST = server02g.intranet.XXXXXX.es))
    )
    )

    LISTENER_LICITARR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )

    SID_LIST_LISTENER_LICITARR =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARR)
    )
    )





    -----------------------------------------------------------------------------------------------------------------------------------------
    parameters


    SQL > show settings dest

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    audit_file_dest string/opt/oracle/admin/LICITARR/adu
    MP.
    / opt/oracle/diag/rdbms/licitar string background_dump_dest
    r/LICITARR/trace
    core_dump_dest string/opt/oracle/diag/rdbms/licitar
    r/LICITARR/cdump
    db_create_file_dest chain
    db_create_online_log_dest_1 string
    db_create_online_log_dest_2 string
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_create_online_log_dest_5 string
    db_recovery_file_dest string/opt/oracle/oradata/flash_reco
    very_area
    whole large db_recovery_file_dest_size 100G
    diagnostic_dest string/opt/oracle
    Log_archive_dest chain
    Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_
    DEST OPTION REOPEN = 300
    LOG_ARCHIVE_DEST_10 string
    service of string LOG_ARCHIVE_DEST_2 = "(DESCRIPTION = (ADDRESS
    _LIST = (ADDRESS = (PROTOCOL = tcp

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    () (HOST = server02)(PORT=1534)))
    (CONNECT_DATA = (SERVICE_NAME = LI
    CITARR. XXXXXX.es)(SERVER=DE)
    DIQUE))) ', LGWR SYNC DISPLAY.
    Delay of RM = 0 OPTIONAL compressio
    n = DISABLE max_failure = 0 max_co
    nnections = 1 reopen = 300 db_un
    ique_name = "LICITARR" net_timeo
    UT = 30 valid_for = (online_logfi
    the, primary_role)
    log_archive_dest_3 string

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    allow the chain of log_archive_dest_state_1
    allow the chain of log_archive_dest_state_10
    LOG_ARCHIVE_DEST_STATE_2 string ENABLE
    log_archive_dest_state_3 string ENABLE
    allow the chain of log_archive_dest_state_4

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    allow the chain of log_archive_dest_state_5
    allow the chain of log_archive_dest_state_6
    allow the chain of log_archive_dest_state_7
    allow the chain of log_archive_dest_state_8
    allow the chain of log_archive_dest_state_9
    log_archive_duplex_dest string
    log_archive_min_succeed_dest integer 1
    standby_archive_dest channel? / dbs/arch
    user_dump_dest string/opt/oracle/diag/rdbms/licitar
    r/LICITARR/trace

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



    If I tried that I managed to enter sqlplus in both nodes


    [oracle@server01 admin] $ sqlplus "sys/YYYYYYY @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = server02)(PORT=1534)) (CONNECT_DATA = (SERVICE_NAME = LICITARR.» "((XXXXX.es)(SERVER=DEDICATED) (CID = (PROGRAM = oracle) (HOST = server02)(USER=oracle))) as sysdba.


    SQL > select status from v$ instance;

    STATUS
    ------------
    MOUNTED



    [oracle@server01 admin] $ sqlplus "sys/YYYYYYY @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = server01)(PORT=1534)) (CONNECT_DATA = (SERVICE_NAME = LICITARP.» "((XXXXX.es)(SERVER=DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle))) as sysdba.


    SQL > select status from v$ instance;

    STATUS
    ------------
    OPEN





    I always get this message, where PORT = 1535 is incorrect, and the correct port is 1534:

    Message
    --------------------------------------------------------------------------------
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Impossible to archive log 2 thread 1 sequence 162530 (12514)
    ARCH: Starting to check in thread 1 sequence 162529 (13127536-13127548)
    ARCH: Completed check-in thread 1 sequence 162529 (13127536-13127548)
    Logging of 12514 errors received on the eve
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Impossible to archive log 3 thread 1 sequence 162531 (12514)

    Message
    --------------------------------------------------------------------------------
    ARCH: Starting to check in thread 1 sequence 162530 (13127548-13127555)
    ARCH: Completed check-in thread 1 sequence 162530 (13127548-13127555)
    Logging of 12514 errors received on the eve
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Failure to archive journal 1-wire 1 sequence 162532 (12514)
    ARCH: Starting to check in thread 1 sequence 162531 (13127555-13127565)
    ARCH: Completed check-in thread 1 sequence 162531 (13127555-13127565)
    Logging of 12514 errors received on the eve

    Message
    --------------------------------------------------------------------------------
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Impossible to archive log 2 thread 1 sequence 162533 (12514)
    ARCH: Starting to check in thread 1 sequence 162532 (13127565-13127570)
    ARCH: Completed check-in thread 1 sequence 162532 (13127565-13127570)
    Logging of 12514 errors received on the eve
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    Message
    --------------------------------------------------------------------------------

    LGWR: Impossible to archive log 3 thread 1 sequence 162534 (12514)
    ARCH: Starting to check in thread 1 sequence 162533 (13127570-13127575)
    ARCH: Completed check-in thread 1 sequence 162533 (13127570-13127575)
    Logging of 12514 errors received on the eve
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Failure to archive journal 1-wire 1 sequence 162535 (12514)
    ARCH: Starting to check in thread 1 sequence 162534 (13127575-13127582)

    Message
    --------------------------------------------------------------------------------
    ARCH: Completed check-in thread 1 sequence 162534 (13127575-13127582)
    Logging of 12514 errors received on the eve

    256 selected lines.



    Those for alert and new PORT = 1535 when he is wrong, since the correct port is 1534:

    ***********************************************************************

    Fatal OR connect 12514 error, connect to:
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=server02) (PORT = 1535)) (CONNECT_DATA = (SERVICE_NAME = LICITARR_DGB. XXXXX.es)(INSTANCE_NAME=LICITARR) (SERVER = DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle)))

    VERSION INFORMATION:
    AMT for Linux: Version 11.1.0.7.0 - Production
    Protocol TCP/IP NT to Linux adapter: 11.1.0.7.0 - Production Version
    Time: November 10, 2011 18:56:42
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564

    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************

    Fatal OR connect 12514 error, connect to:
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=server02) (PORT = 1535)) (CONNECT_DATA = (SERVICE_NAME = LICITARR_DGB. XXXXX.es)(INSTANCE_NAME=LICITARR) (SERVER = DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle)))

    VERSION INFORMATION:
    AMT for Linux: Version 11.1.0.7.0 - Production
    Protocol TCP/IP NT to Linux adapter: 11.1.0.7.0 - Production Version
    Time: November 10, 2011 18:56:42
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564

    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    I have recreated the password file in the primary and copy it to the secondary, after that I restarted both cases, but nothing

    No sense to me. Do you have a rebuild on my system and was not able to reproduce.

    At this point, I would like to grep for the problem (change of wider path if necessary)

    grep 1535 -R /opt/oracle/*
    

    I hate when it makes no sense. There must be somewhere.

    Best regards

    mseberg

    Subsequently

    I was thinking about it more. If you have a data broker, they can change the database settings. Any change of this?

    I see this in your settings file that supports this theory

    *.dg_broker_start=TRUE
    

    Any set of values in Data Guard Broker wins the spfile parameter. So no matter what you the SPFILE and PFILE broker file overwrites.

    How to remove safely a Data Guard Broker Configuration [261336.1 ID]

    Or modify the 'StaticConnectIdentifier' proposal the data broker. See doc Oracle E17023-04

    "6 scenarios using the DGMGRL command-line Interface"

    Example of

    DGMGRL> edit instance dg112i2 on database dg112i_prm set PROPERTY StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.11.225)(PORT=1555))(CONNECT_DATA=(SERVICE_NAME=DG112I_PRM_DGMGRL.au.oracle.com)(INSTANCE_NAME=dg112i1)(SERVER=DEDICATED)))';
    

    Published by: mseberg on November 11, 2011 13:53

    See data physical custody shall 11.2 primary RAC RAC standby using a second network [1349977.1 ID]

  • addition of relief in dataguard broker database fails

    When adding of Eve in dataguard broker database, I get the following error

    DGMGRL > add database as uat login is uat maintained as physical;

    Error: ORA-16698: parameter LOG_ARCHIVE_DEST_n defined for the object to add

    Failed.

    DGMGRL > output

    I deleted the log_archive_dest_2 parameter in the primary database and null value

    SQL > sho parameter log_archive_dest_1;

    VALUE OF TYPE NAME

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

    Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_

    DEST = VALID_FOR (ALL_LOGFILES, A).

    LL_ROLES) DB_UNIQUE_NAME = prod

    SQL > sho parameter log_archive_dest_2;

    VALUE OF TYPE NAME

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

    LOG_ARCHIVE_DEST_2 string

    log_archive_dest_20 string

    Can someone help me please

    vmkumar wrote:

    When adding of Eve in dataguard broker database, I get the following error

    DGMGRL > add database as uat login is uat maintained as physical;

    Error: ORA-16698: parameter LOG_ARCHIVE_DEST_n defined for the object to add

    Failed.

    DGMGRL > output

    I deleted the log_archive_dest_2 parameter in the primary database and null value

    SQL > sho parameter log_archive_dest_1;

    VALUE OF TYPE NAME

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

    Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_

    DEST = VALID_FOR (ALL_LOGFILES, A).

    LL_ROLES) DB_UNIQUE_NAME = prod

    SQL > sho parameter log_archive_dest_2;

    VALUE OF TYPE NAME

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

    LOG_ARCHIVE_DEST_2 string

    log_archive_dest_20 string

    Can someone help me please

    What you have shown here is the log_archive_dest_2 of the primary database. You must clear the log_archive_dest_2 of the standby database too.

    The error is speaking on the parameter log_archive_dest_2 of the database pending. 12 c, then the broker configuration, you must clear the log_archive_dest_2 (destinations archive remote) on the primary and standby databases. DG broker would take care of her.

    On autonomy in standby:

    SQL > alter system set log_archive_dest_2 = ";

    And then try to add the standby database to the broker configuration.

    HTH

    -Jonathan Rolland

  • RAC RAC, DataGuard

    Hi all

    I want to have dataguard with cars at two knots in physical configuration and standby.

    For this I have question how archives will be transmillted from the primary to physics.

    This means that the head node 1 will on node1 Eve and similarly for node 2 archives or all primary archives will be forwarded to node 1.

    Kind regards.

    It is understood that if any node on sby descends to archive two primary nodes will keep to be shipped on an active node of SBY (only MRP should be active on THST)... good?

    Yes, if MRP is not running on the active node of the standby, then you must manually start the MRP.

    If she is correct understanding, then I have only one doubt that we all configuration setting or a parameter for this archives begin is transmitting on the active node on SBY or oracle manages automatically?

    No, you don't have to make any changes.

    Reason: on the database principal, you set the log_archive_dest_2 (or any remote dest parameter to ship again to wait), you would use the "service ='.»»

    This alias would have the "scan name" Eve and all the nodes of the standby registered the listener to scan that you can be aware of. So even if 1 the standby node goes down, primary will always be able to ship the remake on the eve and the node is active on the eve will receive them and apply.

    For example:

    On the primary:

    The log_archive_dest_2 looks like:

    Service string LOG_ARCHIVE_DEST_2 = "srpstb", ASYNC NOAFFI

    Optional delay of RM = 0 compressio

    n = disable max_failure = 0 max_co

    nnections = 1 reopen = 300 db_uniq

    ue_name = "srpstb" net_timeout = 3

    valid_for 0, =(online_logfile,a)

    ll_roles)

    NET watch alias name looks like this:

    SRPSTB =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = ora12cdr-scan)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = srpstb)

    )

    )

    HTH

    -Jonathan Rolland

  • With dataguard EBS can be cloned?

    Hi all

    EBS 11i

    OEL 5

    I'm dataguard configuration to our ebs.

    I noticed init.ora added new parameters like:

    db_name = PROD

    instance_name = PROD

    fal_client = PROD

    fal_server = STANDBY

    Log_archive_dest_1 = 'LOCATION=/p01/app/oracle/product/9.0.1/dbs/arch. '

    LOG_ARCHIVE_DEST_2 = "SERVICE = STANDBY LGWR ASYNC NOAFFIRM'"

    log_archive_format = %t_%s.dbf

    log_archive_start = true

    Remote_login_passwordfile = EXCLUSIVE lock

    service_name = PROD

    What happens if I cloned our PROD to the TEST instance? The new shell settings?

    Thank you very much

    JC

    Yes because you cannot configure the data with the same target environment guard env set up with your production environment (source).

    Thank you

    Hussein

  • Doubt on the performance mode maximum dataguard

    HI gurus,

    We have a dataguard environment configured in 12.1.0.2.0 on 5.6 OEL. DataGuard is configured in maximum performance using following congiguration,

    18:26:26 SQL > show parameter log_archive_dest_2

    VALUE OF TYPE NAME

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

    string LOG_ARCHIVE_DEST_2 = TGOID NOAFFIRM LGWR ASYNC COMPRESSION service = ENABLE VALID_FOR =(ALL_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = TGOID

    Here I used LGWR ASYNC and enabled real-time apply to my waiting to help,

    SQl > alter recover managed standby database disconnect log file using current;

    Here are my doubts,

    1. If we allow real time apply, the changes will reflect on the eve when a commit happens in elementary school. is this correct?

    But here I do not see this behavior, changes are get applied to the previous day only when I do a log switch. (as in the case of the mode of transport ARCH)

    2. so, if I want to get changes made to the previous day when a commit happens at the elementary level, is I need to set the following?

    First of all,

    ALTER system set log_archive_dest_2 = service = TGOID ASSERT LGWR SYNC COMPRESSION = ENABLE VALID_FOR = (ALL_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME = TGOID scope = both;

    Secondly,.

    ALTER DATABASE BASE_DE_DONNEES SLEEP TOGETHER IN ORDER TO MAXIMIZE THE AVAILABILITY/MAXIMIZE PROTECTION.

    is this correct?

    3 if its OK what is the advantage of using lgwr async in maximum performance? then, what is meant by real time applies to maximum performance?

    Thank you and best regards,

    Mahi

    If you want the data validated to be simultaneous on two sites, use maximum availability (or maximum Protection).  The 'risk' with maximum Protection, it is that if the network link fails or breaks down the day before or the day before is not able to write it again received, the primary has put an end.  The 'advantage' (but also the 'risk' If you keep monitoring it) with maximum availability is the primary can return to maximum Performance If the night before does more (for any of the reasons stated in the first sentence)

    Allow standby redo logs Oracle to write again to the backup site without waiting that the primary archive the Redo Log.  If your primary online Redo log is archived every 30 minutes and you only run on base ARCH, you may lose 30 minutes of transactions.

    Hemant K Collette

  • ORA - 16698:LOG_ARCHIVE_DEST_n when you configure dataguard

    Hello

    Im trying to configure a Dataguard under oracle 12 c

    DB01 is primary, DB02 is standby

    On DB01

    ALTER system set log_archive_dest_1 =' LOCATION = / DATA01/DB/DB01/flash/archiv/VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = DB01';

    ALTER system set log_archive_dest_2 is 'SERVICE = DB02 ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = DB02';.

    On DB02

    Set log_archive_dest_1 =' LOCATION = / DATA01/DB/DB02/flash/archiv/VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = DB02'

    Set log_archive_dest_2 = 'SERVICE = DGN01 ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = DGN01'

    I have issue_

    Create the "DG" configuration as database primary is "DB01" connect identifier is DB01;

    ORA - 16698:LOG_ARCHIVE_DEST_n parameter defined for the object to add

    I discovered that the destination must not be into siege mode.

    Notes on the Oracle:

    To clear the LOG_ARCHIVE_DEST_n parameter, use the ALTER SYSTEM SET LOG_ARCHIVE_DEST_n =""

    However, when configuring physical Standby I read:

    This destination transmits redo data to the remote physical expectations

    Can someone give me a hand

    Christian

    Log_archive_dest_n manual management (and other DG Associates init parameters) and using Data Guard Broker to manage automatically these settings is not the right way (it may cause inconsistency between the spfile and broker configuration files).
    You must clear the log_archive_dest_n parameters defined with the attribute of SERVICE and without NOREGISTER attribute, and then try to create the broker configuration (it will automatically set the log_archive_dest_n when you add a database to the configuration).

    When you use data guard broker always make your changes through DGMGRL for consistency purposes.

    Kind regards

    Ivica Arsov

  • DataGuard - why transport is LGWR is not good?

    Hello, I have new Dataguard questions.

    Recently I set up Active dataguard environmental laboratory in this way:

    tnsnames.ora (both)

    PRIM_DB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ebstestfixdb) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = EBSTPF)))

    STBY_DB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ebscapadb) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = EBSTB)))

    DB primary

    HOST = ebstestfixdb

    PORT = 1521

    SID = EBSTPF

    Watch DB

    HOST = ebscapadb

    PORT = 1521

    SID = EBSTB

    (1) in primary DB:

    $ sqlplus / as sysdba

    SQL > ALTER SYSTEM SET LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (EBSTPF, EBSTB)';

    SQL > ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 = 'SERVICE = COMPRESSION stby_db = ENABLE ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = EBSTB';

    SQL > alter system set log_archive_dest_state_2 = 'reporter ';

    SQL > alter system set log_archive_max_processes = 8;

    SQL > create pfile='/tmp/initEBSTB.ora' of spfile;

    $ cd $ORACLE_HOME/dbs

    orapwd file $ = $ORACLE_HOME/dbs/orapw$ ORACLE_SID password = jajah38

    SQL > select * from v$ pwfile_users;

    (2) copy password file, init.ora and tnsnames.ora on backup server

    (3) check the standby settings (keep the original SID main DB):

    log_archive_config ='DG_CONFIG = (EBSTPF, EBSTB)

    log_archive_max_processes = 8

    fal_server = "prim_db."

    db_unique_name = "EBSTB".

    Comment/remove LOG_ARCHIVE_DEST_2 and log_archive_dest_state_2

    (4) primary backup server backups

    $ scp ebstestfixdb: / u01/fra/EBSTPF/backup automatic/2014_10_06 / * / u01/fra/EBSTPF/backup automatic/2014_10_06 /.

    $ scp ebstestfixdb: / u01/fra/EBSTPF/backupset/2014_10_06 / * / u01/fra/EBSTPF/backupset/2014_10_06 /.

    (5) start standby DB and create duplicates

    $ export ORACLE_SID = EBSTB

    SQL > startup nomount

    RMAN $

    RMAN > Connect target sys/jajah38@prim_db

    RMAN > auxiliary connection.

    RMAN > target database double standby nofilenamecheck.

    Publish

    (1) in primary DB

    SQL > alter system set log_archive_dest_state_2 = 'enable '.

    Modified system.

    (2) standby DB

    SQL > alter database open;

    Database altered.

    SQL > alter database recover managed standby database disconnect;

    Database altered.

    To control this, I use Nagios Plugin http://labs.consol.de/lang/en/nagios/check_oracle_health/

    and this plugin displays a warning:

    WARNING - Dataguard managed the recovery status MRP0 process is WAIT_FOR_LOG. Journal of transport is LGWR.

    This is the code of this warning:

    ($self-> {log_transport}) =

    $self-> {channel}-> fetchrow_array (q {}

    Select decode (count (*), 0, 'ARCH', 'LGWR') as log_transport

    v $ managed_standby

    where client_process = 'LGWR.

    });

    ... etc...

    # OK if log_transport's ARCH, but not if LGWR

    $mrp_message. = sprintf "transport journal is % s.", $self-> {log_transport};

    If ($self-> {log_transport} eq 'LGWR') {}

    ... etc...

    So, why the newspaper transport LGWR is bad?

    And what's wrong in my setup?

    Thank you

    Fernando

    No, none of your options are suitable.

    If you have ARCH, then you don't need real-time applies. Option B ARCH transport if you are waiting for newspapers to be switched, archived and shipped. Unless you set archive_lag_target you have no real guarantee speed will be.

    You want to:

    LGWR

    change retrieve managed waiting for basic to disconnect using the file current journal;

  • Installation of dataguard 0n 11 GR 2

    Hi, I'm trying to install dataguard on 11 GR 2... I have set up the primary database and set all settings... I also built the night before and set the settings...
    I took my primary backup and moved the day before using the 'SCP' command and changed the file pfile and dummy State nomount database.
    After doing all these steps, when I try to start the primary database, get the error like this...


    Connect to an instance is idle.

    SQL > startup nomount
    ORACLE instance started.

    Total System Global Area 836976640 bytes
    Bytes of size 1339740 fixed
    490737316 variable size bytes
    339738624 of database buffers bytes
    Redo buffers 5160960 bytes
    SQL > alter the editing of the database;

    Database altered.

    SQL > alter database open;
    change the database open
    *
    ERROR on line 1:
    ORA-03113: end of file on communication channel
    Process ID: 3625
    ID of the session: 1 serial number: 3



    Please suggest me how to correct his mistake...

    Hello

    1007519 wrote:
    database primary pfile...

    * .fal_client = "ERP".
    * .fal_server = "SERP".

    * .log_archive_config = 'dg_config = (erp, serp)'

    * .log_archive_dest_2 = "SERVICE = NOAFFIRM ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = serp-SERP'"

    database standby - pfile

    * .db_name = "erp".
    * .db_unique_name = "erp".

    You must write different db_unique_name for eve of database, you must change it to SERP
    * .db_unique_name = SERP

    * .fal_client = "DG_SERP".
    * .fal_server = "DG_ERP".

    * .log_archive_config = 'dg_config = (serp, erp)'

    *. Log_archive_dest_1 ='location = / U01/internship/Primary / valid_for = (all_logfiles, all_roles) db_unique_name = serp'
    * .log_archive_dest_2 = "SERVICE = DG_ERP NOAFFIRM VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = Les ASYNC"

    FAL_CLIENT is depracated you can use, but must be the same with the name of the service log_archive_dest_2
    Thus, the FAL_CLIENT must side Eve *. FAL_CLIENT = SERP. Add serp newtoek service name in the tnsnames.ora file.

    Best practices use the same file tnsnames.ora both side.
    Copy the tnsnames.ora file primary next in expectation and change according to the parameters of database as

    On Primary database: 
    
     *.fal_client='erp'
     *.fal_server='serp'
     *.log_archive_config='dg_config=(erp,serp)'
     *.log_archive_dest_2='SERVICE=SERP NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=serp'
     *.log_archive_dest_state_2='ENABLE'
    
    On Standby  database 
    
      *.db_name='erp'
      *.db_unique_name='serp'  
    
      *.fal_client='serp'
      *.fal_server='erp'
      *.log_archive_config='dg_config=(erp,serp)'
      *.log_archive_dest_1='location=/u01/stage/primary valid_for=(all_logfiles,all_roles) db_unique_name=serp'
      *.log_archive_dest_2='SERVICE=erp ASYNC NOAFFIRM  VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=erp'
    

    Concerning
    Mr. Mahir Quluzade

  • Configuring RMAN for dataguard.

    Hi all

    Here we have an environment dataguard with db1 (db_unique_name) as primary and db2 (db_unique_name) Physics of the standby database. For primary and secondary the ORACLE_SID is "oracledb." We have configured dataguard in environments of 10 g and we don't use a grid control. And now we want to configure rman for incremental backups. We use a third database of catalog which we recorded primary DB successfully. When the primary configuration of rman is show conflicts. Even changes to the main configuration of RMAN are applied on the standby too who I think shouldn't happen in this scenario. How to solve this problem? Is what is happening because of the ORACLE_SID even for primary and secondary school? I enclose the link from the doc, we also followed the errors and configuring in rman. Can anyone help?

    http://docs.Oracle.com/CD/B28359_01/server.111/b28294/RMAN.htm#BAJFBBBB


    RMAN > CONFIGURE ARCHIVELOG DELETION POLICY APPLIED PENDING;

    new RMAN configuration settings:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    new RMAN configuration settings are stored successfully
    from full resynchronization of the recovery catalog
    full complete Resync
    RMAN-08591: WARNING: invalid archivelog deletion policy

    RMAN > set UP DB_UNIQUE_NAME db1 CONNECT ID "db1".

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'db_unique_name': expected an a: ' archivelog, auxiliary, auxname, backup, channel, controlfile, clonename, compatible, datafile, device, by default, exclude, encryption, maxsetsize, retention, instant.
    RMAN-01007: line 1 column 11 file: entry standard


    RMAN > show all.

    from full resynchronization of the recovery catalog
    full complete Resync
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 2 DAYS WINDOW;
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP # by default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/10.2.0/db_1/dbs/snapcf_NIOS.f'; # by default


    Thank you.

    Hello

    You must set log_archive_dest_2 (for the standby database) mandatory
    Like this

    alter system set log_archive_dest_2= 'service=standby lgwr async valid_for=(online_logfiles,primary_role) *mandatory*';
    

    try again the configuration of the deletion of journal policy archive on RMAN.

  • How do I know the delay in the redo log apply on Active 11g Dataguard

    Hi all

    How do I know the delay in the redo log apply on Active Dataguard 11 g...

    Do we need to wait until the log switch occurs?

    Or is it recommended to provide a switch to log every 15 min, regardless of data is updated / inserted in primary school or not?

    Please suggest...

    Oracle: oracle 11g Release 2
    OS: RHEL 5.4

    Thank you

    Published by: user1687821 on February 23, 2012 12:02

    apply for time of arrival + 00 00:00:00.0 day (2) to second (1) interval February 23, 2012 03:02:16

    Here apply finish time is 'Zéro' if there are gaps in log files, this parameter shows the time it will take to resolve the discrepancy.

    apply the offset + 00 01:50:49 day (2) second (0) interval February 23, 2012 03:02:16
    transportation of shift + 00 01:50:49 day (2) second (0) interval February 23, 2012 03:02:16

    the time that redo data is not available (or) on the basis of data behind pending with the primary database.

    SQL >! date
    Thu Feb 23 03:03:34 CST 2012

    If you see your date system current and last does the end is not even a second. So probably there is no delay I would say.
    You can test by setting the timeout setting in log_archive_dest_2 (or) disable log_archive_Dest_2 for a while do two or three switches of newspaper and made attention to discrepancies between primary & eve and how does it point of view.

  • Upgrade Dataguard 9.2.0.8 (32-bit) to 10.1.0.5(64-Bit)

    What is the best way to do this with minimal downtime. I have two (2) machines [the two 32-Bit] primary (9.2.0.8) and Eve (9.2.0.8)... I need to switch the primary and standby to 10.1.0.5 (64-bit) to new hardware, limited service disruption. I'll have the new machines built and installed with 64 - Bit. My question is: can I have a computer 32-bit archlogs sending to a 64-Bit machine to apply (Dataguard)? My thought was to have the original upgraded to 10.1.0.5 (32-bit) 32-bit machine (9.2.0.8) Firstly build a Dataguard on one of the new 64-Bit machines and ship the new machine until the changeover weekend newspapers. I read a few posts that I can have a 32-bit database running on a 64-bit computer (with just the RPM 64 - Bit and 64-Bit o/s installed), deliver the newspapers to the Machine 64 - Bit, and then failover weekend change the wordsize of 32 bit to 64 bit, but don't know how true that is. Any help would be greatly appreciated

    I agree with FZheng, you should consider Oracle 11.

    You can avoid a database bounce by putting in place all your new settings Data Guard and FRA beforehand. And you can use an alter system to change the LOG_ARCHIVE_DEST_STATE_2 of "reporter" while you use RMAN duplicate to create the day before.

    So to build the new system, but add these settings even before starting the data move from Oracle 9.

    FAL_SERVER
    FAL_CLIENT
    STANDBY_FILE_MANAGEMENT=AUTO
    DB_UNIQUE_NAME
    DB_FILE_NAME_CONVERT
    LOG_FILE_NAME_CONVERT
    log_archive_dest_1
    log_archive_dest_2
    LOG_ARCHIVE_DEST_STATE_1
    LOG_ARCHIVE_DEST_STATE_2
    LOG_ARCHIVE_MAX_PROCESSES
    

    Create your spfile on the primary with LOG_ARCHIVE_DEST_STATE_2 set to ACTIVATE and you avoid a stop and restart later. Then change to DELAY until you build the day before. You can save time more by copying the password in advance. Wait to issue the FORCE LOGGING until all the data is transferred.

    Place your tnsnames and the Auditor including _DGMGRL on both servers in advance.

    If plan you correctly, you can use RMAN two copies and never primary stop. The day before will just begin to apply again them.

    If you find this "Helpful" Please mark as well.

    Best regards

    mseberg

  • Choose the mode of protection of active dataguard

    Hi gurus,

    I'm confused with dataguard Active Setup mode - what do I have to configure physical shall make use of an actress dataguard. I know that I can even use ensures maximum performance with redolog for real-time query. But what is the minimum protection mode to run active dataguard.

    How can I configure a delay of 1 hour for active dataguard in GR 11, 2?

    Thank you

    You said:
    >
    By default, Dataguard is in maximum performance mode... We can define the time of one hour by setting the
    LOG_ARCHIVE_DEST_2 = 'service = to_standby lgwr async affirm reopen = 60'
    or
    LOG_ARCHIVE_DEST_2 = 'service = to_standby lgwr async delay = 60'
    >

    I'm sorry, but your first log_archive_dest_2 value is not correct:
    The combination of ASYNC & AFFIRM is not taken in charge and not sensitive; REOPEN = 60 will not delay applying it again

    See here for a good explanation of log_archive_dest_n:
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17110/initparams121.htm

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • R12 with dataguard

    Salvation;

    I need advice on an issue.

    I have 2 instance working on VMware and am available for r12.0.4 on RHEL4 dataguard in following:
    Continuity of Oracle Applications Release 12 on exit 10 gr 2 - Single Instance database and RAC [ID 452056.1]

    The two server has the same SID,
    different db_unique_name,
    Users and the EBS installation path are same
    valid information IP and hostname in/etc/hosts
    tnsping knit both primary and standby

    The problem is archiving log doesn't send primary eve. DB primary while I run
    SQL > alter system archive log current;

    I have this in the error log:

    Beginning log switch checkpoint up to RBA [0x12.2.10], RCS: 9659887190524
    Thread 1 Advanced to record the sequence 18
    Currently Journal # 3 seq # 18 mem # 0: /u01/VIS/db/apps_st/data/log3.dbf
    Fri Jun 4 23:59:11 2010
    Additional checkpoint up to RBA to RBA [0x12.8.0] [0x11.1520.0], current journal line
    Fri Jun 4 23:59:43 2010
    Logging of errors 12545 has received on the standby+.
    Remove the new logging of errors LOG_ARCHIVE_DEST_2. +


    SQL > select status, dest_id, error from v$ archive_dest_status returns:

    DEST_ID ERROR STATUS
    --------- ---------- -----------------------------------------------------------------
    VALID 1
    2 of ERROR ORA-12545: Connect failed because target host or object does not exist
    INACTIVE 3
    4 INACTIVE
    5 INACTIVE
    6 INACTIVE
    7 INACTIVE
    8 INACTIVE
    9 INACTIVE

    DEST_ID ERROR STATUS
    --------- ---------- -----------------------------------------------------------------
    10 INACTIVE

    10 selected lines.


    I checked LOG_ARCHIVE_DEST_2 and good sound.
    I can use TNSPING wihtout problem (using "" < nom_du_contexte >ifile.ora ' under the $TNSdirectory ADMIN ")

    Server mutually can ping with the IP address or host name.

    Any who face a similar question before?

    Respect of
    HELIOS

    Helios,

    What is the value of the parameter 'log_archive_dest_state_2 '?

    Thank you
    Hussein

  • 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

Maybe you are looking for

  • Download the message is frozen in search mode.

    Won't download any new messages. The status bar displays no messages to download with the green bar running process. If I click on the "get email" button, I get this file is to be processed alerts for all of my email accounts. It is not the ISP I get

  • Mouse and keyboard no longer works in Windows XP Media Center edition

    I moved my Gigabyte Media Center and start the keyboard and mouse are are suddenly stopped working. Works very well to access the BIOS key and F8 for safe mode - has also no feature mouse keybpard or. So with any form of Windows I have no input contr

  • Config data write to File.VI missing in LV 2009

    In the earlier version LV 2009 files Config File (vi.lib\utility\config.llb) it was possible to invoke a write to disk using "Config data write to File.vi" were found in the llb above. In 2009 the Config of the LV functions files have been updated an

  • Why USB ports stop working after Windows loading screen?

    USB ports worked fine until a month or two it is a. I tried a system restore, but that did not work. System recovery PC Angel graphic screen freezes. I tried to uninstall and reinstall the USB controller from Device Manager, but it freezes and I have

  • Cannot view thumbnails by using the detailed view

    I'm unable to view thumbnails in windows Explorer while I'm using detailed view.  I can't see them when they are Extra Large.  I don't see their small, not in the list, not in an environment... just to Extra Large.  I hate them Extra Large.  I want t