DGMGRL configuration doubts

Hi all,
i have configured the Datagaurd max performance Mode in 11gr2 and everything is fine.
but the StaticConnectIdentifier value has the IP of the Primary database srever instead of HOSTNAME.
can anyone identify or hlep where i need to change this.
below
Connected.
DGMGRL> show configuration
Configuration - COLDGCONFIG
Protection Mode: MaxPerformance
Databases:
PCOLPRIM - Primary database
PCOLSTBY - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
SNAP of details for below command.
DGMGRL> show database verbose 'PCOLPRIM';
Database - PCOLPRIM
Role: PRIMARY
Intended State: TRANSPORT-ON
Instance(s):
POZW1COL
Properties:
DGConnectIdentifier = 'POZW1COL_PRD'
ObserverConnectIdentifier = ''
below you could see the Host has the IP instead of hostname.
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(*HOST=10.10.200.200*)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PCOLPRIM_DGMGRL.dummy.com)(INSTANCE_NAME=POZW1COL)(SERVER=DEDICATED)))'

Hi,
You can change with EDIT command
DGMGRL> edit database PCOLPRIM set property StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<hostname>)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PCOLPRIM_DGMGRL.dummy.com)(INSTANCE_NAME=POZW1COL)(SERVER=DEDICATED)))'and I think you must add hostnames to HOSTS file
Regards
Mahir M. Quluzade
www.mahir-quluzade.com
Edited by: Mahir M. Quluzade on Sep 14, 2012 3:15 PM

Similar Messages

  • Error when create DGMGRL configuration.

    When I add database standby in my configuration I receive this error message :
    DGMGRL> add database pij10g2 as
    connect identifier is pij10g2
    maintained as physical;Error: ORA-16796: one or more properties could not be imported from the database
    Failed.
    DGMGRL> show configuration;
    Configuration
    Name: orapij10_standby
    Enabled: NO
    Protection Mode: MaxAvailability
    Fast-Start Failover: DISABLED
    Databases:
    pij10g - Primary database
    Current status for "orapij10_standby":
    DISABLED
    I start my standby like this, It's ok ? :
    SQL> STARTUP NOMOUNT;
    SQL> ALTER DATABASE MOUNT STANDBY DATABASE;
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    I test tns by tnsping from my primary database :
    primary> tnsping pij10g2
    TNS Ping Utility for Solaris: Version 10.2.0.1.0 - Production on 01-NOV-2007 07:49:59
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.11)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = PIJ10G2_DGMGRL)))
    OK (10 msec)
    Can you help me ?
    Regards,

    Check that listener for your standby database has proper handler for PIJ10G2_DGMGRL service name. Use static registration for this.
    Then, Protection Mode: MaxAvailability implies SYNC log transport mode. Check this option too in your log_archive_dest_NN settings.
    Best Regards,
    Alex

  • 11g r2 DG configuration doubts

    Hi gurus,
    i have some doubts in dg. even after reading some documents also i am not clear.
    1) when primary db sending archives to standby by based on which parameter location it stores the archives.
    2) standby_archive_dest parameter is deprecated. is there any parameter replacing this. and is there any new parameters introduced in dg.
    3) i am configuring like in 10g only. is that mandatory to use rman tool to configure dg.
    Please help me to be clear with this.
    thanks a lot..

    Archives wil be send to standby from primary by mentioning service= in log-archive_dest, in case or RAC fal client & server plays a major role too.
    Standby archive dest is depricated, no extra parameters are introduced. Standby arch/local arch dest can be same.
    As usual either you can restore from backups or you can perform duplicate using RMAN.
    Starting from 11g duplicate from active database been introduced.
    If GRID manager configured then you can build standby too.
    Thanks

  • Form's Port Configuration Doubt

    Hi,
    I installed weblogic 10.3.4 on Windows Server 2008 R2 64 bits and Forms 11g 11.1.1.4 afer form's intallation i save the installation's resume, this is the resume i got:
    Oracle Portal, Forms, Reports and Discoverer Installation
                    Configuration Options
                                   Middleware Home Location: C:\u01\app\oracle\product\Middleware
                                   Oracle Home Location: C:\u01\app\oracle\product\Middleware\as_1
                                   Oracle Instance Location: C:\u01\app\oracle\product\Middleware\asinst_1
                                   Oracle Instance: asinst_1
                                   Domain Option: Create Domain
                                   Domain Name: FormsDomain
                                   Domain Home: C:\u01\app\oracle\product\Middleware\user_projects\domains\FormsDomain
                                   Domain Host Name: SRVWEBLOGIC
                                   Domain Port No: 7001
                                   User Name: weblogic
                                   Automatic Port Detection: true
                                   Administrator Console: http://SRVWEBLOGIC:7001/console
                                   EM Console: http://SRVWEBLOGIC:7001/em
                                   EMAgent URL: http://SRVWEBLOGIC:5155/emd/main
                                   Forms URL: http://SRVWEBLOGIC:8090/forms/frmservlet
                                   Reports URL: http://SRVWEBLOGIC:8090/reports/rwservletIn the weblogic's administration console i can see the managed server's ports as:
    WLS_FORMS    -> 9001
    WLS_REPORTS  -> 9002But in the installation's resume the port are 8090
    Forms URL: http://SRVWEBLOGIC:8090/forms/frmservlet
    Reports URL: http://SRVWEBLOGIC:8090/reports/rwservletI tried the url's from the installation's resume:
    http://SRVWEBLOGIC:8090/forms/frmservlet
    http://SRVWEBLOGIC:8090/reports/rwservlet
    and they do not work, but if i change their ports to 9001 and 9002 as they appears in the weblogic's console they work
    So i have some doubts:
    -What is the porpuse of this ports ??
    -Why the Forms's url and Reports's url from the installation's resume are not working ??
    -can i change the WLS_REPORTS's port ??
    -there is a problem if for example i change the WLS_REPORTS's port to 8090 ??
    -i have created a new report server with opmnctl createcomponent and i can see that when i access to it, i have to use the same reports's port 9002, is there a way to change the new report_server's port ??
    Regards
    Carlos

    8090 would be the port of the Apache HTTP Server, 9001 and 9002 are the ports of the managed weblogic servers running the forms and the reports servlets. You can reach both weblogic servers under port 8090 as the HTTP Server talks via mod_weblogic to the weblogic servers. If you want to change the ports of the weblogic servers you can do so in the weblogic server console, but also you need to change them in the config files of Apache if you want them both to be reachable under the Apache port. Those files are located under
    ORACLE_INSTANCE/config/OHS/ohs1/moduleconf
    They should be pretty self explanatory.
    I tried the url's from the installation's resume:
    http://SRVWEBLOGIC:8090/forms/frmservlet
    http://SRVWEBLOGIC:8090/reports/rwservlet
    and they do not work, but if i change their ports to 9001 and 9002 as they appears in the weblogic's console they workSee also in those config files. For the configuration of mod_weblogic you need to provide the hostname, so maybe you have a problem with your naming resolution (at least this was mostly the problem in my case). See that you get a fixed IP for your server if you don't have one already and check your DNS entries of your DNS server. If everything else fails you can still provide the IP adress instead the hostname.
    As for all your other questions the base problem should be the same; see that you get mod_weblogic running, and everything should be running via port 8090. If you want to change that listener port you can do so in the httpd.conf under
    ORACLE_INSTANCE/config/OHS/ohs1
    cheers

  • Stms configuration doubt

    Dear Experts,
    We are using ecc 5.0 on oralce database on unix.actually i got doubt to configure stms.My domain controller is Domain_TPD.
    which is development system.now that system is down.and the testing server is TPU.And production is TPU.
    I have a doubt that i can delete that domain controller and i can create Domain controller in production and i will add testing system to production.Do i configure the same thing in stms.is it possible to create TMS between two systems with same sid.
    Please suggest me.
    Regards,
    Naveen

    Hi ,
         Please find answer to your questions::
    1. i can delete that domain controller and i can create Domain controller in production:: yes you can delete the current configuration & make PRD system as  domian controller .
    2. i will add testing system to production:: yes you can add new system to new domain.
    3.is it possible to create TMS between two systems with same sid.:: Same SID will not be supported in one landscape.You must have dieffrent SIDs .If you are asking the question like if you can configure the transport route in same system then you can do it by creatinf a dummy system.
    Thanks..
    Mohit

  • Order Data Warehouse / Customer Master Configuration Doubt

    What is "Front End Unit" ?  I have to configure this in the Customer Master, but do not know where? Also I need details of how to configure  Channel, Sub Segment in customer master.
    Thanks All in Advance.

    Hi,
    Yes,for this there are two options.
    1.By using the T.Code:SE91.
    Enter the class as V1 and number as 423.
    Click on Change.
    Click on where used list.
    Check programs and uncheck all.
    Enter.
    A list of programs will be displayed.If you double click on any program then,the lines where it is used are displayed.
    Identify your warning message line.
    Double click on it.
    Change it from W to E before the numebr 423.
    Save.
    2.Unassign the block assigned for your customer in XD05 for your sales order type.
    Suppose 01 is the block assigned for your customer.
    Goto SPRO>Sales and Distribution>Sales>Sales Documents>Define and assign reason for blocking.
    Assign reason for blocking.
    Suppose "OR" is your document types.
    Delete the entry 01,OR in this table.
    Save.
    In this case for this order type,you can create or change the order even though the block is assigned to it.
    Regards,
    Krishna.

  • Data warehouse configuration doubt

    Hi guys,
    I´m studing data warehouse and I would like to know if there´s any documentation showing the correct way to configure a DW database, like parameters, block size and partitioned tables.
    or if you have experience please post here your suggestions.
    Thank you,
    Felipe

    Starting with Oracle's data Warehousing Guide, documentation is a great start.
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96520/toc.htm
    You can also search fro datawarehouse books from goole or any search enginee.
    Jaffar

  • Out look Configuration Doubt

    Hi Experts,
    I new of this Outlook Configuration..SAP Business One. Please  Any one guide me How to Make Outlook Configuration with SAP Business one.
    please Any body share PDF documents and Video Link..
    Thanks
    Dineshkumar kannan

    Hello Dineshkumar
    Yes, Richard Duffy's video is a demonstration of add-on capabilities, not an step by step guide. And I haven't been able to find anything likely in youtube.
    Anyway if you need an step by step guide, in the first link I shared there is the following point:
    Implementing Microsoft Outlook Integration for SAP Business One:
    Recorded Live Expert Session (August 25, 2005)
    PDF presentation
    That is from 2005, but I think that 2007 version installation shouldn't be very different. Both Recorded Live Session and PDF presentation guide you through installation and configuration.
    Also on SQL Administrator Guide share by Nagarajan, you'll be able to find another explanation of Outlook Integration Addon installation on pages 35 and 54. 35 for installing Outlook Integration Server and 54 for installing the Addon.
    Regards

  • Guest wireless WLC configuration doubts

    Hi Experts,
    I have one WLC which is configured as a Foreign controller and other is configured with Anchor which is connected in DMZ ( behind firewall ) ...
    I have one more Anchor controller which is physically connected to other remote office ...
    As of now ,All guest clients are connecting to remote site anchor controller which is suppose to connecte locally configured anchor controller.
    Can anybody suggest me ... what configuration or settings i need to look into so that guest clients can be connected to locally configured Anchor controller.
    Please suggest me ....

    So you want the remote Anchor controller to be treated as a backup. Right ?
    In my knowledge, that's not possible to use only one anchor controller at one time. since we have to enter the Anchor controller details in the foreign controller. So if we enter both the Anchor controllers in the Foreign controller they will start load balancing.
    Other process is - make a manual entry in the Foreign controller at the time of primary anchor controller failure so that the traffic start moving to remote anchor controller. This is a work around.
    Otherwise I don't know if there are any settings which can be done at the Primary Anchor controller to switch to backup controller in the event of failure.

  • Weblogic configuration doubts regarding multiple authenticators

    We are trying to configure multiple authenticators in weblogic.
    One default authenticator which holds weblogic's boot user id & password.
    The authenticator configured to talk to active directory server.
    I'm able to see Active Directory users in weblogic user list (i.e. examples --> security --> realms --> myrleam --> users)
    The control flag on both authentication provides is set to OPTIONAL.
    But when i try to use one of the user from active directory for authentication 'm getting invalid user id / password. (the sample program which i've written tries to create JNDI context using the user name & password)
    I'm using weblogic 8.1
    any help highly appreciated.
    TIA
    Girish

    Set the JAAS Control Flag to SUFFICIENT for both authenticators. For more information
    you can see information on JAAS (http://java.sun.com/products/jaas/overview.html)
    or look at:
    http://edocs.bea.com/wls/docs81/secmanage/providers.html#1187595
    -Craig
    Girish Pradhan <[email protected]> wrote:
    We are trying to configure multiple authenticators in weblogic.
    One default authenticator which holds weblogic's boot user id & password.
    The authenticator configured to talk to active directory server.
    I'm able to see Active Directory users in weblogic user list (i.e. examples
    --> security --> realms --> myrleam --> users)
    The control flag on both authentication provides is set to OPTIONAL.
    But when i try to use one of the user from active directory for authentication
    'm getting invalid user id / password. (the sample program which i've
    written tries to create JNDI context using the user name & password)
    I'm using weblogic 8.1
    any help highly appreciated.
    TIA
    Girish

  • BAM configuration - Doubts

    Hi Frnds,
    We installed BAM on windows (Enterprise Link and BAM s/w).
    In Net configuration, we used on of our 11i instance as Service Name.
    Now, we are unable to proceed how can we get the database objects (Views) on to this BAM.
    How can we get data from the database and make reports here?
    Pleas help
    Thank You

    I think BAM has strict Oracle DB version requirements. It is not supported on 11g - pl verifry with release notes on supported platform

  • Configuration doubt

    Could somebody, please, explain me ?
    I know tha when I set up redo shipping, the number of standby redolog (at standby database) must be at less, one more than the number of online redolog present in the source database. That is why when the standby database is a single instance I execute the following, at the standby database, if the number of online redolog in the source is 2:
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 ('+BD2')SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 5 ('+BD2') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 6 ('+BD2') SIZE 50M;
    After, I set the LOG_ARCHIVE_DEST_2 parameter like
    alter system set LOG_ARCHIVE_DEST_2='LOCATION=+BD3/ VALID_FOR=(STANDBY_LOGFILE,PRIMARY_ROLE)';
    BUT when I have a Real Application Clusters with two instances as standby database, I need create the standby redolog in both instances or just in one ? :
    INSTANCE1
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 ('+BD2')SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 5 ('+BD2') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 6 ('+BD2') SIZE 50M;
    INSTANCE2
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 ('+BD2')SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 5 ('+BD2') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 6 ('+BD2') SIZE 50M;
    Thanks you so much.

    Thanks Cow Town but it is not my point. I say when the primary is a single instance and I want to have an standby in a RAC compose of two instance. That is:
    source database-: single instances
    future standby database: two instances RAC
    As said I know that if the future standby database will be a single instance too, I need to create one standby group more than the number of online redolog present in the source DB. But in my situation the standby will be two instances RAC and my question is if I need to create the four groups in each instance or just in one of all.
    Please tell me if you understand my question, and again thanks so much.

  • Manual\DGMGRL Switchover Standby ora-01033 error

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

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

  • ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_S

    Hi all,
    I'm testing setup of primary and standby database and everything seems to work normally.
    Now, I want to set up DG Broker so I can test switching it over and back.
    So, I went through steps by Gavin (ref. http://gavinsoorma.com/2010/03/11g-data-guard-broker-dgmgrl-configuration-quick-steps/).
    All went well until I showed configuration after enabling the broker.
    Then I got error: ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST
    So, then I check the DG log files and on the standby database, I see errors:
    2013-03-26 11:03:52.457                      Executing SQL [ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*']
    2013-03-26 11:03:52.457                      SQL Execution error=604, sql=[ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*']. See error stack below.
    2013-03-26 11:03:52.457                        ORA-00604: error occurred at recursive SQL level 1
    2013-03-26 11:03:52.457                        ORA-02097: parameter cannot be modified because specified value is invalid
    2013-03-26 11:03:52.457                        ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST
    2013-03-26 11:03:52.458                      RSM0: Failed to set property LogArchiveMinSucceedDest
    2013-03-26 11:03:52.458                      RSM0: return status of set property 'LogArchiveMinSucceedDest' is ORA-16788
    2013-03-26 11:03:52.458 02010000  1827537550 Operation EDIT_RES_PROP canceled during phase 1, error = ORA-16788
    2013-03-26 11:03:52.458 02010000  1827537550 DMON: Entered rfm_release_chief_lock() for EDIT_RES_PROP
    2013-03-26 11:03:52.460 02010000  1827537550 DMON: EDIT_RES_PROP operation completedSo now, i check the DG InconsistentProperties
    First, standby:   tststby2
    ================
    DGMGRL> show database 'tststby2' InconsistentProperties;
    INCONSISTENT PROPERTIES
       INSTANCE_NAME        PROPERTY_NAME         MEMORY_VALUE         SPFILE_VALUE         BROKER_VALUE
            tststby2 LogArchiveMinSucceedDest                    1                                         1
    Then, primary:  tstprim2
    ================
    DGMGRL> show database 'tstprim2' InconsistentProperties;
    INCONSISTENT PROPERTIES
       INSTANCE_NAME        PROPERTY_NAME         MEMORY_VALUE         SPFILE_VALUE         BROKER_VALUESo, looking now in the database, I check standby and it shows:
    log_archive_min_succeed_dest integer 1
    And, checking primary, it shows:
    log_archive_min_succeed_dest integer 1
    Okay, so what's next?
    I tried resetting the LogArchiveMinSucceedDest to see if that would help, but it just gave me error.
    DGMGRL> edit database 'tststby2' set property 'LogArchiveMinSucceedDest'=1;
    Error: ORA-16788: unable to set one or more database configuration property valuesI do see that my LOG_ARCHIVE_DEST_STATE_2 is set to ENABLE in primary, and is set to DEFER in standby, but it doesn't seem to let me change it in standby.
    What else can I check?
    Adding a couple of more things that might shed light on this:
    ======================================
    on tstprim2 (primary)
    ==============
    SQL> sho parameter convert
    NAME                                 TYPE        VALUE
    db_file_name_convert                 string      tststby2, tstprim2
    log_file_name_convert                string      tststby2, tstprim2
    on tststby2 (standby)
    ==============
    NAME                                 TYPE        VALUE
    db_file_name_convert                 string      tstprim2, tststby2
    log_file_name_convert                string      tstprim2, tststby2
    SQL> SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
    PROCESS   STATUS
    ARCH      CLOSING
    ARCH      CLOSING
    RFS       IDLE
    RFS       IDLE
    RFS       IDLE
    RFS       IDLE
    MRP0      APPLYING_LOG  <== as you can see, the standby database is working properly
    35 rows selected.Edited by: 974632 on Mar 26, 2013 9:06 AM

    Okay, I will check that.
    Meanwhile, I'm trying a standard manual switchover, which worked fine.
    But, when I try to switch logfiles, it is just hanging.
    When i check alert log, it shows errors:
    Tue Mar 26 12:24:31 2013
    ARCH: Archival stopped, error occurred. Will continue retrying
    ORACLE Instance tststby2 - Archival Error
    ORA-16014: log 1 sequence# 380 not archived, no available destinations
    ORA-00312: online log 1 thread 1: '/redo1/tststby2/redo01a.rdo'
    ORA-00312: online log 1 thread 1: '/redo2/tststby2/redo01b.rdo'
    Tue Mar 26 12:24:33 2013
    krsk_srl_archive_int: Enabling archival of deferred physical standby SRLs
    krsk_srl_archive_int: Enabling archival of deferred physical standby SRLsI have a feeling it might be because I don't have my dest_2 set correctly.
    The reason I suspect that is because, when I try to enable dest_2, I see error:
    SQL> alter system archive log all;
    alter system archive log all
    ERROR at line 1:
    ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST
    SQL> alter system set log_archive_dest_state_2=enable;
    alter system set log_archive_dest_state_2=enable
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-16028: new LOG_ARCHIVE_DEST_STATE_2 causes less destinations than LOG_ARCHIVE_MIN_SUCCEED_DEST requiresMy dest_2 is set at (remember this is now primary on my standby server):
    log_archive_dest_2                   string      SERVICE=tststby2 LGWR ASYNC
                                                     VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
                                                     DB_UNIQUE_NAME=tststby2My dest_1 is set at:
    log_archive_dest_1                   string      LOCATION=USE_DB_RECOVERY_FILE_DEST
                                                     VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
                                                     DB_UNIQUE_NAME=tstprim2Okay, so now, out of desperation, here's what I did, which seems to have worked.
    (I had previously also enabled dest_state_3 per the instructions in the original web page notes)
    SQL> alter system set log_archive_dest_3='LOCATION=/arch/tststby2';
    System altered.
    SQL> alter system archive log all;
    System altered.Now, when I check my location, i see new files just put into that location.
    $ <tststby2> /arch/tststby2>ll
    total 13484
    drwxr-xr-x 2 oracle dba    4096 Mar 26 12:47 ./
    drwxr-xr-x 6 oracle 300    4096 Mar 22 10:56 ../
    -rw-r----- 1 oracle dba 7453184 Mar 26 12:47 log_1_376_809878919.arc
    -rw-r----- 1 oracle dba 6177792 Mar 26 12:47 log_1_377_809878919.arc
    -rw-r----- 1 oracle dba   14336 Mar 26 12:47 log_1_378_809878919.arc
    -rw-r----- 1 oracle dba   96768 Mar 26 12:47 log_1_380_809878919.arc
    -rw-r----- 1 oracle dba   47616 Mar 26 12:47 log_1_381_809878919.arcOne other point of reference is that I created my primary and standby based on your webpage:
    http://www.visi.com/~mseberg/data_guard_on_oracle_11_step_by_step.html
    The only main differences are path locations and names of primary and standby database.
    (Thank you mseberg. You are very good explaining things very well.)

  • Data Guard Broker connecting to standby database fails

    Hello everybody
    I checked lots of pages but I'm not able to find a solution für my problem. I already set up a primary and a standby database (prim = ALPHA1 / standby = ALPHA2).
    After enabling my dgmgrl configuration I got two errors:
    DGM-17016: failed to retrieve status for database "alpha2"
    ORA-16664: unable to receive the result from a database
    The dg log from ALPHA1 says:
    06/04/2013 16:06:57
    Site alpha2 returned ORA-16664.
    Data Guard Broker Status Summary:
    Type Name Severity Status
    Configuration alphadgb Warning ORA-16607
    Primary Database alpha1 Success ORA-00000
    Physical Standby Database alpha2 Error ORA-16664
    While the dg log from ALPHA2 (standby) says:
    06/04/2013 16:43:28
    SPFILE is missing value for property 'LogArchiveFormat' with sid='ALPHA2'
    Warning: Property 'LogArchiveFormat' has inconsistent values:METADATA='arch_ALPHA2_%S_%t_%r.arc', SPFILE='(missing)', DATABASE='arch_ALPHA2_%S_%t_%r.arc'
    Failed to connect to remote database alpha1. Error is ORA-12514
    Failed to send message to site alpha1. Error code is ORA-12514.
    How can I solve this issue? Every type of tnsping is successfull. The sqlplus login from the primary to the standby database works, the other way round works too! Therefore the tnsnames and listener data seems to be correct.
    My configuration for ALPHA1 (primary db):
    Listener
    LISTENER_ALPHA1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER_ALPHA1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ALPHA1_DGMGRL)
    (ORACLE_HOME = /oracle/ALPHA1/orahome)
    (SID_NAME = ALPHA1)
    tnsnames.ora
    ALPHA1.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ALPHA1)
    ALPHA2.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1522))
    (CONNECT_DATA =
    (SID = ALPHA2)
    DG_ALPHA1.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ALPHA1_DGMGRL)
    DG_ALPHA2.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = ALPHA2_DGMGRL)
    Parameters
    archive_lag_target integer 0
    log_archive_config string DG_CONFIG=(ALPHA2,ALPHA1)
    log_archive_dest string
    log_archive_dest_1 string LOCATION=USE_DB_RECOVERY_FILE_DEST valid_for=(all_logfiles,all_roles) DB_UNIQUE_NAME=ALPHA2
    log_archive_dest_2 string SERVICE=ALPHA1 SYNC valid_for=(online_logfiles,primary_role) DB_UNIQUE_NAME=ALPHA1
    log_archive_format string arch_ALPHA2_%S_%t_%r.arc
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 4
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    standby_archive_dest string ?/dbs/arch
    For the DG Broker configuration
    DGMGRL>     connect sys/dgalpha42@DG_ALPHA1
    DGMGRL>     create configuration ALPHADGB
    DGMGRL>     primary database is ALPHA1
    DGMGRL>     connect identifier is DG_ALPHA1
    DGMGRL>     ;
    DGMGRL>     add database ALPHA2
    DGMGRL>     connect identifier is DG_ALPHA2
    DGMGRL>     maintained as physical
    DGMGRL>     ;
    There were no errors.
    DGMGRL> show database verbose ALPHA1
    Database - alpha1
    Role: PRIMARY
    Intended State: TRANSPORT-ON
    Instance(s):
    ALPHA1
    Properties:
    DGConnectIdentifier = 'dg_alpha1'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    DelayMins = '0'
    Binding = 'optional'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '30'
    RedoCompression = 'DISABLE'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '4'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'ALPHA2, ALPHA1'
    LogFileNameConvert = 'ALPHA2, ALPHA1'
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'ALPHA1'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA1_DGMGRL)(INSTANCE_NAME=ALPHA1)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'arch_ALPHA1_%S_%t_%r.arc'
    TopWaitEvents = '(monitor)'
    Database Status:
    SUCCESS
    DGMGRL> show database verbose ALPHA2
    Database - alpha2
    Role: PHYSICAL STANDBY
    Intended State: APPLY-ON
    Transport Lag: (unknown)
    Apply Lag: (unknown)
    Real Time Query: OFF
    Instance(s):
    ALPHA2
    Properties:
    DGConnectIdentifier = 'dg_alpha2'
    ObserverConnectIdentifier = ''
    LogXptMode = 'SYNC'
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '30'
    RedoCompression = 'DISABLE'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '4'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'ALPHA1, ALPHA2'
    LogFileNameConvert = 'ALPHA1, ALPHA2'
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'ALPHA2'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA2_DGMGRL)(INSTANCE_NAME=ALPHA2)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'arch_ALPHA2_%S_%t_%r.arc'
    TopWaitEvents = '(monitor)'
    Database Status:
    DGM-17016: failed to retrieve status for database "alpha2"
    ORA-16664: unable to receive the result from a database
    Can anybody help me to find a solution for this?

    Hey
    thanks for the answer. I followed you recommendations but I got the same error again. I restored/recovered the old status and looked deeper into the dgmgrl configuration before enabling. I found an interesting point. (show database verbose ALPHAx)
    Database - alpha1
    Role: PRIMARY
    Intended State: OFFLINE
    Instance(s):
    ALPHA1
    Properties:
    DGConnectIdentifier = 'dg_alpha1'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    DelayMins = '0'
    Binding = 'optional'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '30'
    RedoCompression = 'DISABLE'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '4'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'ALPHA2, ALPHA1'
    LogFileNameConvert = 'ALPHA2, ALPHA1'
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'ALPHA1'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA1_DGMGRL)(INSTANCE_NAME=ALPHA1)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'arch_ALPHA1_%S_%t_%r.arc'
    TopWaitEvents = '(monitor)'
    Database Status:
    DISABLED
    Database - alpha2
    Role: PHYSICAL STANDBY
    Intended State: OFFLINE
    Transport Lag: (unknown)
    Apply Lag: (unknown)
    Real Time Query: OFF
    Instance(s):
    ALPHA2
    Properties:
    DGConnectIdentifier = 'dg_alpha2'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '30'
    RedoCompression = 'DISABLE'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '4'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'ALPHA1, ALPHA2'
    LogFileNameConvert = 'ALPHA1, ALPHA2'
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'ALPHA2'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA2_DGMGRL)(INSTANCE_NAME=ALPHA2)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'arch_ALPHA2_%S_%t_%r.arc'
    TopWaitEvents = '(monitor)'
    Database Status:
    DISABLED
    As the listener are configured ALPHA1 (prim) should be on port 1521 while ALPHA2 (stby) should work on 1522. In the configuration of DGMGRL only appears port 1521 (look at StaticConnectIdentifier). Is this maybe the reason of the networking problems with DG Broker? How can I fix this?
    Regards Mirko
    Edited by: 1009733 on 04.06.2013 09:22

Maybe you are looking for