DGMGRL Configuration

Suppose that

I have SERVICE_NAME = pdt03

DB_UNIQUE_NAME = pdto3

Net_service_name = TO_PDTDB03

> > On primary

DGMGRL > create < DG-Config-Name > database configuration is ...  connect identifier is ... ?

> > Waiting

DGMGRL > add data ... as an identifier connection is ... maintained like physics;

What would be the appropriate value for both cases?

DB version: 11.2.0.1

> On primary

DGMGRL > create configuration database is ...  connect identifier is ... ?

It should be the primary db_unique_name and its connection string (the NET alias name).

In your case, it would be like:

DGMGRL > create configuration as primary database is "pdb3" connect identifier is to_pdtdb03.

> Pending

DGMGRL > add data ... as an identifier of connection is ... continued as the physical;

What would be the appropriate value for both cases?

In the same way on the day before, it's Eve db_unique_name and the Net alias name.

DGMGRL > add the '' database as an identifier of connection is continued as the physical;

You can check the Data Guard Broker Configuration | Shivananda Rao

HTH

-Jonathan Rolland

Tags: Database

Similar Questions

  • Broker configuration files not be created at the level of the BONE

    DB version: 12.1.0.2 on Oracle Linux 6.7

    Type: Physical standby

    I'm trying to set up data guard broker for my own DB. Primary and standby phyical are autonomous DBs.

    As the first step, I tried to create a broker configuration files in the following locations. But it is not created is at the level of the BONE.

    No idea why?

    SQL > ALTER SYSTEM SET DG_BROKER_CONFIG_FILE1 = ' / oradata/DG_BROKER/dr1APGCMS.dat' scope = both;

    Modified system.

    SQL > ALTER SYSTEM SET DG_BROKER_CONFIG_FILE2 = ' / datastore/DG_BROKER/dr2APGCMS.dat' scope = both;

    Modified system.

    -The configuration files will be created at the level of the BONE

    $ ls-l /oradata/DG_BROKER/dr1APGCMS.dat

    method: cannot access the /oradata/DG_BROKER/dr1APGCMS.dat: no such file or directory

    $

    $

    $ ls-l /datastore/DG_BROKER/dr2APGCMS.dat

    method: cannot access the /datastore/DG_BROKER/dr2APGCMS.dat: no such file or directory

    So, I thought that the configuration files will be created only when Michael is started. So, I started using

    SQL > alter system set dg_broker_start = TRUE scope = both;

    Modified system.

    But the configuration files are not yet created. These directories are empty. I can see that the process Michael started in elementary school

    $ ps - ef | grep Michael

    Oracle 7577 1 0 22:43?        00:00:00 ora_dmon_APGCMS

    -extract from the primary alerts log

    ALTER SYSTEM SET dg_broker_config_file1='/oradata/DG_BROKER/dr1APGCMS.dat' SCOPE = BOTH;

    Sat Dec 26 22:41:49 2015

    ALTER SYSTEM SET dg_broker_config_file2='/datastore/DG_BROKER/dr2APGCMS.dat' SCOPE = BOTH;

    Sat Dec 26 22:43:39 2015

    From MICHAEL background process

    Sat Dec 26 22:43:39 2015

    ALTER SYSTEM SET dg_broker_start = TRUE SCOPE = BOTH;

    Sat Dec 26 22:43:39 2015

    MICHAEL started with pid = 40, OS id = 7577

    Sat Dec 26 22:43:42 2015

    From Data Guard Broker (MICHAEL)

    From INSV background process

    Sat Dec 26 22:43:47 2015

    INSV started with pid = 43, OS id = 7579

    Sorry... I just removed the post for security reasons. (Host names has been a matter of concern). But I have the day before with my comment. The configuration files will be created once you create the dgmgrl configuration.

    -Jonathan Rolland

  • DGMGRL - ORA-01031 insufficient privileges

    Hello

    I created the DGMGRL configuration but unable to add standby database.


    DGMGRL > create the DG AS PRIMARY DATABASE configuration IS "db1" CONNECT IDENTIFIER IS "db1".

    "Dg" configuration created with the primary database 'db1 '.

    I get the error while trying to add intelligence - db2 below

    DGMGRL > see Configuring

    Configuration - dg

    Protection mode: MaxPerformance

    Databases:

    Db1 - primary

    Fast-Start Failover: DISABLED

    The configuration status:

    PEOPLE WITH DISABILITIES

    DGMGRL > add DATABASE 'db2' AS the CONNECT IDENTIFIER IS db2;

    Error: ORA-01031: insufficient privileges

    Failed.

    can someone help me... where the problem is...

    Can we copy the password manually from the primary to the standby and try again

  • DG fails with ora-16532 / ora-16577

    Because my DBs are on a network disconnected, I can't copy and paste large quantities. Everything here is typical. Please be patient.

    Primary DB is EE 11.2.0.3.0 on RHEL 5.1 and running on the file (no - ASM) system.

    DB pending is EE 11.2.0.4.0 OEL 6.4 and running on ASM.

    I perform RMAN DUPLICATE ACTIVE without error. I have run the following SQL queries on the instance of relief:

    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    
    ALTER SESSION SET nls_date_format='DD-MON-YYYY HH24:MI:SS';
    
    select database_role,protection_mode from v$database;
    DATABASE_ROLE      -     PROTECTION_MODE
    PHYSICAL STANDBY   -     MAXIMUM PERFORMANCE
    
    SELECT sequence#, first_time, next_time, applied
    FROM   v$archived_log ORDER BY sequence#;
    
    
    
    

    I compare v$ archived_log against primary. Everything transferred and applied. Life is good. I am surprised, I did not met all the problems again! Maybe I really became a good DBA now! Now all I do is turn on Data Guard.

    I have set up my caller on hold. Notable entries are below.

    ...

    (SID_DESC =
    (SDU = 32767)
    (GLOBAL_DBNAME = acme2_DGMGRL)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_home1)
    (ENVS="TNS_ADMIN=/u01/app/oracle/product/11.2.0/grid/network/admin")
    (SERVER = DEDICATED)
    (SID_NAME = acme2)
    )
    (SID_DESC =
    (SDU = 32767)
    (GLOBAL_DBNAME = acme2_DGB)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_home1)
    (ENVS="TNS_ADMIN=/u01/app/oracle/product/11.2.0/grid/network/admin")
    (SERVER = DEDICATED)
    (SID_NAME = acme2)
    )
    
    DYNAMIC_REGISTRATION_LISTENER_ACME2=OFF
    
    
    
    

    Because dynamic registration is disabled, I have generated statically _DGB above entry. I understand that ENVS is not strictly necessary, however, I have included to exclude errors. I'm sure some additional settings are properly configured.

    Elementary school:

    show parameter log_archive
    log_archive_config:  'dg_config=(acme,acme2)'
    log_archive_dest_1:  LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=acme
    log_archive_dest_2:  SERVICE=acme2 SYNC AFFIRM reopen=15 NET_TIMEOUT=15 DB_UNIQUE_NAME=acme2 VALID_FOR=(online_logfiles,primary_role) 
    
    
    
    

    Standby:

    show parameter log_archive
    log_archive_config:  'dg_config=(acme2,acme)'
    log_archive_dest_1:  LOCATION=USE_DB_RECOVERY_FILE_DEST
    log_archive_dest_2:  SERVICE=acme AFFIRM SYNC VALID_FOR=(online_logfiles,primary_role) DB_UNIQUE_NAME=acme
    
    
    
    

    I check on the primary:

    show parameter dg_broker
    NAME      -  VALUE
    dg_broker_config_file1 - /u02/app/oracle/fra/dr1acme.dat
    dg_broker_config_file2 - /u02/app/oracle/fra/dr2acme.dat
    dg_broker_true         - TRUE
    
    

    I put and check that the sleep settings:

    show parameter dg_broker
    NAME      -  VALUE
    dg_broker_config_file1 - +DATA/acme2/broker/dr1acme.dat
    dg_broker_config_file2 - +FRA/acme2/broker/dr2acme.dat
    dg_broker_true         - TRUE
    
    
    

    I'm going to the ASMCMD from the night before and make the directories above.

    Elementary school:

    dgmgrl
    connect sys/mypassword
    Connected.
    add database acme2 as connect identifier is acme2 maintained as physical;
    
    
    
    

    He adds very well. It is part of the configuration, but disabled. In the listener from sleep log, I see that the primary is a successful connection to the service 'acme2'.

    show database verbose acme2 (I only typed relevant properties...ask for more if need be)
    DGConnectIdentifier = 'acme2'
    LogXptMode = 'SYNC'
    Standbyfilemanagement = 'AUTO'
    DbFileNameConvert = '/u02/app/oracle, +DATA, /u03/app/oracle, +DATA'
    LogFileNameConvert = '/u02/app/oracle, +FRA, /u03/app/oracle, +FRA'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(host=mystandbyhost)(port=1521))(CONNECT_DATA=(SERVICE_NAME=acme2_DGMGRL)(INSTANCE_NAME=acme)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    
    Database Status:
    DISABLED
    
    
    
    

    Just to double check, I use my DGMGRL Standby to try to connect to the primary DGMGRL with "sys/mypassword". Success! I can view primary DGMGRL configuration of the previous day. I have then copy and paste the "StaticConnectIdentifier" above in my primary tnsnames.ora file and create a temporary entry of TNS. I then try to tnsping this entry temp. All right. I have remove the temporary entry and return to DGMGRL. Everything went perfectly. Finally, I check the file of newspaper DG on the eve. The last line is "Configuration does not exist, Data Guard Broker loan", which is exactly what I expected to see at this stage. Can now do better?

    Elementary school:

    dgmgrl
    connect sys/mypassword
    Connected.
    enable database acme2;
    
    
    
    

    .. and so my long nightmare starts. Custody of intelligence data does not work.

    On logs waiting for DG, I see these errors for a while, but then they disappear:

    drcx: cannot open configuration file "+DATA/acme2/broker/dr1acme.dat"
    
    
    
    

    What makes the sense that they have not been copied yet. After a minute, I check the DATA + and + FRA starts on the eve and two config DG files have transferred and is where they should be. Ok. I check the database of pending log file. Only standard archived journal entries (files are always transferred from the primary school outside of Data Guard). I check ADRCI on intelligence. There are no problems or incidents.

    On the primary level, there is no problem or incident at the ADRCI and errors will only find is in the DG log file. They are:

    Broker Initiated ENABLE of site acme2 has been scheduled
    Data Guard Broker Status Summary:
    Type                 --       Name           --            Severity  --   Status
    Configuration                 DG_ACME_CONFIG       warning       ora-16607
    Primary DB                   acme                           success       ora-00000
    Physical Standby DB        acme2                         error         ora-16532
    
    ENABLE DATABASE acme2
    Metadata Resync failed. Status = ora-16577
    
    Command ENABLE DATABASE acme2 completed
    
    
    
    

    The error is repeated continually as main tent contact the broker ensures DG. I have check the earphone standby log file. I see that primary is connected to the local 'acme2_DGB' about once every minute, right mark. It is to achieve the TNS service, but the TNS service does not meets with the local broker.

    On the Pb of the day before, I run

    SQL> select process,client_process,status from v$managed_standby;
    
    
    
    
    PROCESS of CLIENT_PROCESS STATUS
    ARCHARCHCLOSING
    ARCHARCHCLOSING
    ARCHARCHCONNECTED
    ARCHARCHCLOSING
    RFSARCHIDLE
    RFSUNKNOWNIDLE
    RFSLGWRIDLE

    SELECT THE MESSAGE FROM V$ DATAGUARD_STATUS; shows nothing useful (transfers archive standard only).


    I've completely removed the DG configuration on all the boxes, removed the DG config files and completely recreated the configuration several times. In fact, I completely rebuilt the standby database DG twice. In addition, accelerated failover is disabled on the configuration of the DG.

    I tried everything I can think and find online. I would be very happy any idea on this issue that the community has to offer.

    Hello

    I do not use DG with broker but I want to ask something. I couldn't see the values of the parameters compatible on both sides. You know that the values must be the same on all the databases in a dataguard configuration.

    Primary DB is EE 11.2.0.3.0 on RHEL 5.1 and running on the file (no - ASM) system.

    DB pending is EE 11.2.0.4.0 OEL 6.4 and running on ASM.

    Best regards

  • Synchronous or asynchronous mode

    Small question. I've just implemented a new DataGuard via DGMGRL configuration. When you query for the primary and the standby site 'display the verbose "db_name" database, it is said that the LogXptMode is ASYNC but the log_archive_dest_1 doesn't have the word ASYNC in the definition. He always uses ASYNC even if it is not explicit in the newspaper archive dest? DGMGRL configuration overrides this setting? Thank you.

    A few points about your question:

    (1) LOG_ARCHIVE_DEST_1 should point to a destination local - no SYNC/ASYNC in the game, then
    (2) the DG broker will change the parameters of the primary LOG_ARCHIVE_DEST_n initialization depending on the Standby DBs logxptmode property
    (3) the default value is version dependent. 11 g, it is by default Async
    (4) always mention your version (select * from version$ v) so

    Kind regards
    Uwe Hesse

    "Don't believe it, try it!
    http://uhesse.com

  • Active data guard config

    Hello

    We're trying to create a configuration of guard of active data on 2 physical machines. We have a watch created and works correctly, but put in question whilesetting and data active guard configuration.

    Additional primary and standby on the primary server is DGMGRL configuration. (not yet did nothing to sleep)

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

    DGMGRL > see Configuring

    Configuration - DGConfig1

    Protection mode: MaxPerformance
    Databases:
    prod - primary database
    Dr - Physical standby database
    Error: ORA-16664: impossible to receive the result of a database
    Fast-Start Failover: DISABLED

    The configuration status:
    ERROR

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

    The primary database listener:_

    [Journal of the oracle@prod] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod.localdomain) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = / u01/app/oracle

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = prod)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = prod)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = prod_DGMGRL)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = prod)
    )
    )


    Standby database listener:_

    [oracle@dr ~] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.162)(PORT = 1521))
    )

    ADR_BASE_LISTENER = / u01/app/oracle

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = dr)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = dr)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = dr_DGMGRL)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = dr)
    )
    )


    Entry on the two TNS:_

    [oracle@dr ~] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    PROD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.161)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = prod)
    )
    )

    DR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.162)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dr)
    )
    )


    Article followed for the creation of the DG: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/ha/dataguard/dg_broker/dg_broker.htm

    Please suggest where it goes wrong?

    Consider!

    Hi bLak!

    Can paste you here the results of the following command?

    1.On both server
    tnsping dr
    trnping prod
    2. On Standby 
    
      DGMGRL> show configuration 
    
    3. I think you standby  server is not see, primary. use Netca add prod to Net Service name again
    
    4. if need ,
       disable database dr;
       enable database dr;
    

    Concerning
    Mr. Mahir Quluzade
    http://www.Mahir-quluzade.com

  • Error in DGMGRL &gt; see Configuring

    Primary database: open State

    First aid: read-only

    Second reserve: read-only.

    Now when I run see the DGMGRL command projection is as follows.

    DGMGRL > see Configuring

    Configuration - Dataguard_DGTEST

    Protection mode: MaxPerformance

    Databases:

    DG_P - primary

    Error: ORA-16810: multiple errors or warnings found for the database

    DG_D - physical of the standby database

    Error: ORA-12518: TNS:listener could not hand off client connection

    DG_H - physical of the standby database

    Error: ORA-12514: TNS:listener does not know now of immediate service

    d connect descriptor

    Fast-Start Failover: DISABLED

    The configuration status:

    ERROR

    Hi all, question deleted. The tns ping was fine and there was no problem with the earpiece or the tns. The value of the parameter initialization process was less. I discovered the alert in the alert log and it increased to 1000. Then I restarted the database and now it was working fine. Thank you.

  • where to configure DGMGRL

    Hello

    I have installation just a watch system physics (an active node, one standby).

    Next step will be to configure DGMGRL.

    However, I'm not sure where this.  On one of the two or the nodes (bad idea, I guess if it is defective for Murphy)?

    Or to install on another customer - but that creates a single point of failure once again...

    It is not a production system - VMWare boxes just to learn the 'howto '.

    Thank you

    Christian

    Here's something doc MAA 10 gr 2:

    Enterprise Manager 10.2.0.3 also allows administrators to designate another observer host to protect against events that could cause the first host of observer to fail. This can be easily configured when you create a configuration FastStart Failover using the Enterprise Manager installation wizard. Upon detection of a condition of not supported, Enterprise Manager starts the observer on the host.

  • dgmgrl:show stable configuration no - sometimes good, sometimes error

    We have a test environment has some problems, but I do not know what questions are is it.

    OS: linux redhat 5
    DB: 11 GR 2

    2 primary RAC nodes with 2 day before rac nodes

    DGMGRL > see Configuring

    Configuration - dwtst_dg

    Protection mode: MaxPerformance
    Databases:
    dwtst - primary database
    dwstst - (*) Physical standby database

    Fast-Start Failover: ENABLED

    The configuration status:
    SUCCESS

    DGMGRL > see Configuring

    Configuration - dwtst_dg

    Protection mode: MaxPerformance
    Databases:
    dwtst - primary database
    WARNING: ORA-16829: accelerated failover configuration is trolling

    dwstst - (*) Physical standby database
    WARNING: ORA-16829: accelerated failover configuration is trolling

    Fast-Start Failover: ENABLED

    The configuration status:
    WARNING

    DGMGRL > see Configuring

    Configuration - dwtst_dg

    Protection mode: MaxPerformance
    Databases:
    dwtst - primary database
    WARNING: ORA-16829: accelerated failover configuration is trolling

    dwstst - (*) Physical standby database
    WARNING: ORA-16829: accelerated failover configuration is trolling

    Fast-Start Failover: ENABLED

    The configuration status:
    WARNING

    DGMGRL > see Configuring

    Configuration - dwtst_dg

    Protection mode: MaxPerformance
    Databases:
    dwtst - primary database
    WARNING: ORA-16829: accelerated failover configuration is trolling

    dwstst - (*) Physical standby database
    WARNING: ORA-16829: accelerated failover configuration is trolling

    Fast-Start Failover: ENABLED

    The configuration status:
    WARNING

    DGMGRL > see Configuring

    Configuration - dwtst_dg

    Protection mode: MaxPerformance
    Databases:
    dwtst - primary database
    dwstst - (*) Physical standby database

    Fast-Start Failover: ENABLED

    The configuration status:
    SUCCESS

    DGMGRL > see Configuring

    Configuration - dwtst_dg

    Protection mode: MaxPerformance
    Databases:
    dwtst - primary database
    dwstst - (*) Physical standby database
    Error: ORA-16810: multiple errors or warnings found for the database

    Fast-Start Failover: ENABLED

    The configuration status:
    ERROR

    DGMGRL > see Configuring

    Configuration - dwtst_dg

    Protection mode: MaxPerformance
    Databases:
    dwtst - primary database
    dwstst - (*) Physical standby database

    Fast-Start Failover: ENABLED

    The configuration status:
    SUCCESS


    I got those database query:


    Error 16198
    WARN: ARC3: termination pid 23729 hung on an IO operation
    AUGUST 15, 2012 00:52:02

    Error 16198
    ARC3: Error 16198 due to guillotine operation of e/s to LOG_ARCHIVE_DEST_2

    GRAVITY ERROR_CODE
    ------------- ----------
    Message
    --------------------------------------------------------------------------------
    TO_CHAR (TIMESTAMP,'DD - MON-)
    --------------------------
    AUGUST 15, 2012 00:52:04

    Error 16198
    WARN: Cra1: closing the NEST 29931 hung on an IO operation
    AUGUST 15, 2012 05:45:22

    Error 16198

    GRAVITY ERROR_CODE
    ------------- ----------
    Message
    --------------------------------------------------------------------------------
    TO_CHAR (TIMESTAMP,'DD - MON-)
    --------------------------
    Arc1: Error 16198 done hung operation of e/s to LOG_ARCHIVE_DEST_2
    AUGUST 15, 2012 05:45:25


    69 selected lines.


    I think that something is really wrong with the database. Seems however Eve is in sync with the primary.

    Any help here? Thank you.

    Hello;

    Thank you for the information. Is there anything I can do to help?

    Best regards

    mseberg

  • dgmgrl show configuration - ORA-16610: command "Service Broker implementation" ongoing (impossible to determine status)

    Hello


    We have an active guard of data with a physical standby database. Using custom scripting zabbix we execute dgmrl 'See the configuration' and grep result of ' State of ' the output Configuration.  If this isn't "SUCCESS", then a notification is sent.

    Today @ 15:12:53 has been following the release of the primary database:

    ORA-16610: command "Service Broker implementation" ongoing

    DGM-17017: unable to determine the configuration state


    I happened to notice the notification immediately, connected and run "show configuration" manually, which was SUCCESSFUL. Also the next result for zabbix has SUCCESS @ 15:15:53.

    On the basis of data pending, the results have been successful all the way (also at 12:15:56).


    No errors not found in the journal to the DRC, nor in the log of the server logs or alerts. EM's own beautiful graphic. Data has been / are in sync and I couldn't find anything indicating problems.

    However, the exit for 'see the configuration' may not have been drawn from air - it something must have caused. Any ideas on this subject?


    Hello;

    It is possible, that a health check is running. OR one of your databases does not use a SPFILE.

    In any case, it is not an error, just a warning, so unless he's going on a high percentage of the time I wouldn't worry on this subject.

    Best regards

    mseberg

  • DGMGRL object NOT FOUND-HELP

    Hello Experts-

    I have a scenario where I would turn off transport Journal of primary school on physical media by & turn it back as part of PLANNED maintenance.

    I am facing the following error and I was wondering if you guys can help out me:

    DGMGRL> connect /
    Connected.
    DGMGRL> show database verbose DBNAME
    Object "DBNAME" was not found
    DGMGRL> show configuration verbose;
    
    
    Configuration - DBNAME
    
    
      Protection Mode: MaxPerformance
      Databases:
        DBNAME  - Primary database
        DBNAME1 - Physical standby database
    
    
      Properties:
        FastStartFailoverThreshold      = '30'
        OperationTimeout                = '30'
        FastStartFailoverLagLimit       = '30'
        CommunicationTimeout            = '180'
        FastStartFailoverAutoReinstate  = 'TRUE'
        FastStartFailoverPmyShutdown    = 'TRUE'
        BystandersFollowRoleChange      = 'ALL'
    
    
    Fast-Start Failover: DISABLED
    
    
    Configuration Status:
    SUCCESS
    
    
    
    
    
    
    
    
    
    
    
    

    I'm confused as why the object is not found when you use the database show but configuration command can display it as a present?

    Hello;

    Try like this:

    SEE THE DATABASE 'DATABASE_NAME' VERBOSE;

    Best regards

    mseberg

  • Question DGMGRL

    Hi all

    While configuring or deleting a configuration, I get the below error. Kindly help on that.

    DGMGRL > connect sys/***@***

    Connected.

    DGMGRL > activate configuration;

    ORA-16541: database is not enabled

    Configuration details cannot be determined by DGMGRL

    DGMGRL > REMOVE CONFIGURATION;

    Error: ORA-16541: database is not enabled

    Failed.

    DGMGRL >

    Thanks in advance.

    If all else fails, start over from the beginning. Set DG_BROKER_START = FALSE in the primary and standby. Then delete the configuration files of the file system. Then set DG_BROKER_START = TRUE in the primary and standby. This will start with a new configuration. Then create a configuration, select the configuration, add databases, and then select the databases.

    See you soon,.
    Brian

  • 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

  • Configure the broker - 12514 error


    Hello

    I'm trying to configure the Dataguard broker, but I have a problem.
    In the v$ dataguard_status, I got the following error:

    "PING [ARC1] 12514: Heartbeat cannot connect to standby mode ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = tcp)(HOST=oradr) (PORT = 1521)))
    ((CONNECT_DATA = (SERVICE_NAME = orcl_pstby_XPT)(INSTANCE_NAME=orcl_pstby) (SERVER = dedicated)))'. The error is 12514.

    I know that the orcl_pstby_XPT of service name does not exist on the standby server.
    Why broker always create the configuration by adding '_XPT' to service_name? Above the error result.

    service of string LOG_ARCHIVE_DEST_2 = "(DESCRIPTION = (ADDRESS
    _LIST = (Address = (Protocol = TCP)(Host=oradr) (port = 1521))) (CONNECT_DATA = (SERV
    ICE_NAME = orcl_pstby_XPT)(instance_name=ORCL_PSTBY) (Server = dedica
    Ted)))', delay LGWR ASYNC NOAFFIRM = 0 max_failure option
    = 0 max_connections = 1 reopen = 300 db_unique_name = "orcl_pstby".
    Register for net_timeout = 180 valid_for = (online_logfile, primary_role)


    When I configure the broker I do:

    -main and backup:
    ALTER SYSTEM SET DG_BROKER_START = TRUE;

    -waiting:
    ALTER database recover managed standby database cancel;

    -primary:
    DGMGRL > Connect sys/pwd
    DGMGRL > create the primary orcl_cfg as database configuration is orcl connect identifier is "orcl".
    DGMGRL > add the 'orcl_pstby' as database login is "orcl_pstby", continued as the physical;
    DGMGRL > activate configuration;

    What should I do?

    Thank you!!!

    "Do I need to run the configuration 'create' on the standby database too?"

    Lol but you can use it from there.

    Best regards

    mseberg

  • Several primary and physical databases Configuration ensures in Data Guard Broker

    Hello

    Is it possible to add two or several primary and physical databases configuration ensures in data guard broker?

    I have 1 primary databases and two databases physical standby that is

    (1) primary that is pri - (database primary)

    (2) secondary i, e, s (physical pending)

    (3) Secondary2 i.e. sec2 (physical pending)

    Practical AM sinister place, my scenario is my pri and dry machines are in seat, if the pri crashed it switch to s that works very well and my S2 is in another area office. Suppose that if my two siege machines pri and sec crashed, so I want to do my mahcine sec2 as primary.

    I have two separate computers to the broker a headquarters and a District Office

    Use failure of quick start on Data Guard Broker, broker headquarters machine I have configured pri and dry but in sector office broker not able congifured pri and S2 and the machine.

    can be done several primary database configuration with data bases on hold?

    Has anyone done this before, or has a perform a recovery after loss of place...

    need help or suggestion

    thanx

    No.... It is not possible. When you use the DG broker, the first thing you can do in the DGMGRL utility is to deliver CONFIGURATION to CREATE. You can see on the doc of this command that you define here the PRIMARY DATABASE.

    The command to add a DATABASE to the broker, adds a new database pending. You cannot add an another primary.

    The broker configuration is explicitly for a primary and all standby databases is supported. If you have an another primary, you create a separate DG broker configuration.

    See you soon,.
    Brian

Maybe you are looking for