Maxprotection

hello
when i try to upgrade to maximum protection mode i got the following errors :
ora-16627 or ora-16789
even that standby log files exist,
but only the first 2 files swithes when i switch or archive log files on the primary database even that there is 4 logfiles on the syandby...
please help
thanks

i just created standby logs on the standby site,is it
necessary to do so ? i mean on 9i i was able to
switch to maximum protection with no such need,you definetely need standby logs on the standby site for maxprotection. you should create standby logs on primary if you plan to do switchovers.
AFAIK in 9i standby logs are required for maxprotection too. at least according to documentation , i never used maxprotection with 9i).
so did creating standby logs on standby db solve your problem?
regards,
-ap

Similar Messages

  • Question about broker Switchover command

    Hi guys
    i have one question about switchover cmd . For example, i have 1 primary database called stdby3 and 2 standby databases that are called stdby1 and stdby2. When i performed switchover cmd to stdby2 standby database, why the old primary database stdby3 could not become new standby database after i performed a switchover; furthermore the new primary and standby databases are not opened after the switchover process is completed
    output screen:
    DGMGRL> show configuration;
    Configuration
    Name: stdby1
    Enabled: YES
    Protection Mode: MaxProtection
    Databases:
    stdby3 - Primary database
    stdby1 - Physical standby database
    stdby2 - Physical standby database
    Fast-Start Failover: DISABLED
    Current status for "stdby1":
    SUCCESS
    DGMGRL> SWITCHOVER TO stdby2
    Performing switchover NOW, please wait...
    Operation requires shutdown of instance "stdby3" on database "stdby3"
    Shutting down instance "stdby3"...
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    Operation requires shutdown of instance "stdby2" on database "stdby2"
    Shutting down instance "stdby2"...
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    Operation requires startup of instance "stdby3" on database "stdby3"
    Starting instance "stdby3"...
    Unable to connect to database
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Failed.
    You are no longer connected to ORACLE
    Please connect again.
    Unable to start instance "stdby3"
    You must start instance "stdby3" manually
    Operation requires startup of instance "stdby2" on database "stdby2"
    You must start instance "stdby2" manually
    Switchover succeeded, new primary is "stdby2"
    DGMGRL> show configuration;
    Error:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 130 Serial number: 45
    DGMGRL> exit;
    oracle@localhost ~$ dgmgrl
    DGMGRL for Linux: Version 11.1.0.6.0 - Production
    Copyright (c) 2000, 2005, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    DGMGRL> connect sys
    Password:
    Connected.
    DGMGRL> show configuration;
    Error:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    DGMGRL> connect sys@stdby3
    Password:
    Connected.
    DGMGRL> show configuration;
    Error:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    DGMGRL>
    Edited by: user6981287 on Jan 6, 2010 9:27 AM

    this is my configuration
    DGMGRL> show configuration
    Configuration
    Name: matrix
    Enabled: YES
    Protection Mode: MaxPerformance
    Databases:
    stdby1 - Primary database
    stdby2 - Physical standby database
    stdby3 - Physical standby database
    Fast-Start Failover: DISABLED
    Current status for "matrix":
    SUCCESS
    --- this is my first successful switchover -----
    DGMGRL> switchover to stdby2
    Performing switchover NOW, please wait...
    New primary database "stdby2" is opening...
    Operation requires shutdown of instance "stdby1" on database "stdby1"
    Shutting down instance "stdby1"...
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    Operation requires startup of instance "stdby1" on database "stdby1"
    Starting instance "stdby1"...
    ORACLE instance started.
    Database mounted.
    Switchover succeeded, new primary is "stdby2"
    -------------------this is my second switchover -------------
    DGMGRL> switchover to stdby1
    Performing switchover NOW, please wait...
    New primary database "stdby1" is opening...
    Operation requires shutdown of instance "stdby2" on database "stdby2"
    Shutting down instance "stdby2"...
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    Operation requires startup of instance "stdby2" on database "stdby2"
    Starting instance "stdby2"...
    Unable to connect to database
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Failed.
    You are no longer connected to ORACLE
    Please connect again.
    Unable to start instance "stdby2"
    You must start instance "stdby2" manually
    Switchover succeeded, new primary is "stdby1"
    DGMGRL>
    Edited by: user6981287 on Jan 7, 2010 12:57 AM
    Edited by: user6981287 on Jan 7, 2010 1:00 AM

  • DG Broker Setup

    Hi,
    I am currently setting up a Data Guard environment to make use of the Broker and I have a some basic queries –
    I have created a DG configuration on my Primary Instance ( I have not yet enabled the configuration ).
    Q1. Do I need to manually replicate the DG configuration on the Standby Databases by repeating the same dgmgrl entries ?
    Q2. The 11gR2 Broker Manual states that the databases and Data Guard Broker Config must be set to Max Protection. Yet I have seen other docs that state it can be set to Max Availability. Which mode needs to be used ?
    Q3. Is it possible for the Databases to be using one mode but the DG Broker Config to be set to another mode i.e. do you set the mode on the databases and the Broker separately or does the Broker simply pick up the mode that the databases are using ?
    Q4. At the moment my protection mode is Max Performance – so do I just need to simply need to change the protection mode used by the databases or is it possible to use DG Broker with Max Performance mode ?
    Q5. Do any of my databases need to have Flashback Database enabled if I am using DG Broker ?
    Q6. For a failover, do I simply go into dgmgrl of one of my Standby Instances and issue ‘failover to <standby_name>’;
    any help greatly appreciated
    Jim

    Hi Jimbo
    First of all, if you are using DGMGRL - Broker - Managed Data  Guard configuration, then you must use DGMGRL for all changes on your databases.
    I have created a DG configuration on my Primary Instance ( I have not yet enabled the configuration ).
    You must add your standby database to this configuration, and enable DG configuration.
    Q1. Do I need to manually replicate the DG configuration on the Standby Databases by repeating the same dgmgrl entries ?
    Not need any manually replicate the DG configuration on the standby database. When you add standby database to  DG configuration.
    Then DGMGRL will create automatically same configuration on both side.(in dg config file)
    Q2. The 11gR2 Broker Manual states that the databases and Data Guard Broker Config must be set to Max Protection. Yet I have seen other docs that state it can be set to Max Availability. Which mode needs to be used ?
    You must use DGMGRL>  edit configuration set protection mode as MaxProtection;  command for setting Protection mode on DG configuration.
    Don't  forget LogXpt property must be SYNC on both  side.
    Q3. Is it possible for the Databases to be using one mode but the DG Broker Config to be set to another mode i.e. do you set the mode on the databases and the Broker separately or does the Broker simply pick up the mode that the databases are using ?
    It is not possible. When you set protection mode, it is changind on database protection mode.
    If it is different, then you get error on DG configuration.
    Q4. At the moment my protection mode is Max Performance – so do I just need to simply need to change the protection mode used by the databases or is it possible to use DG Broker with Max Performance mode ?
    Maximum Performace mode is defult protection mode.
    Q5. Do any of my databases need to have Flashback Database enabled if I am using DG Broker ?
    It is optional and you can  use DGMGRL without flashback enable. Flashback enable + Real time apply is best practice instead of DELAY option. 
    Q6. For a failover, do I simply go into dgmgrl of one of my Standby Instances and issue ‘failover to <standby_name>’;
    Yes. Additionaly you can use Fast Start  Failover with  DGMGRL.
    Regards
    Mahir M. Quluzade

  • Compress and Ship Archive Logs to DR

    I am currently working on Oracle 10.2.0.3, Linux 5.5 DR Setup. DR is at a remote location. Automatic Synchronous Archive shipping is enabled. As the DR is at a remote location transferring 500MB archive logs has a load on the bandwitdh. Is there anyway I can compress and send the archivelogs to DR? I am aware of the 11g parameter Compression=enabled, but i guess theres nothing on similiar lines for 10g.
    Kindly help!
    Regards,
    Bhavi Savla.

    AliD wrote:
    What is "Automatic Synchronous Archive shipping"? Do you mean your standby is in MAXPROTECTION or MAXAVAILABILITY mode? I fail to see how transfering only 500MB of data to anywhere is a problem. Your system should be next to idle!
    Compression is an 11g feature and is licensed (advanced compression license). Also if I'm not mistaken, 10.2.0.3 is out of support. You should plan to upgrade it as soon as possible.
    Edit - It seems you mean your archivelogs are 500MB each not total of 500MB for the day. In that case to eliminate the peaks in transfer, use LGWR in async mode.
    Edited by: AliD on 10/05/2012 23:24It is a problem as we have archives generating very frequently!!!

  • Dataguard logs

    Hai
    i have some confusion in the redo logs creation for the standby database.
    i would like to know whether we should copy the logfiles along with the datafiles and put it in the standby database location or we have to create the standby logfiles and after that we have to place it in the standby database location
    if we have both logfiles copied and the standby logfiles created in the same standby location will it cause any problem?
    Regards
    orauser123

    You will not be able to copy the logfiles if you create the standby DB from hot oracle backups.
    Standby redo logs are a different concept from redo logs and they are created for supporting the MAXPROTECTION/AVAILABILITY modes and also for run time replications. It will be nice to have it on primary and standby DB in case you want to configure switchover operation. For just configuring failover standby redo logs needs to be created only on standby DB server.
    Also if you create standby DB without redo logs being copied to standby DB, then once you create the standby DB try bouncing the standby DB and you will find that redo logs are being created by oracle in the location as specified in control file of standby DB. Try checking this scenario at your end as well.
    Amar

  • Set primary database to maximize availability; ORA-02231

    Hi Folks,
    Today while trying to change Protection Mode for one of my Primary Database i started recieving below provided error codes:
    SQL> alter database set primary database to maximize availability;
    alter database set primary database to maximize availability
    ERROR at line 1:
    ORA-02231: missing or invalid option to ALTER DATABASE
    When tried to change the Log Export Mode using DGMGRL Command Line it started throwing errors about stanby redo logs:
    DGMGRL> edit database 'orcl' set property 'logxptmode'='SYNC';
    edit database 'orcl' set property 'logxptmode'='SYNC';
    Error: ORA-16789: missing standby redo logs
    Details -
    OS: Linux Red Hat 5
    DB: Oracle 10g r1
    Env: VM Machines.
    Current Details:
    SQL> show parameter log_arc
    NAME TYPE VALUE
    log_archive_config string DG_CONFIG=orcl
    log_archive_dest_1 string location=USE_DB_RECOVERY_FILE_
    DEST
    SQL> select protection_mode from v$database;
    PROTECTION_MODE
    MAXIMUM PERFORMANCE
    SQL> select status from v$instance;
    STATUS
    OPEN
    Please Assist.
    Thanks
    Prashant Dixit.

    Hi,
    I think you must add Standby Redo logfiles .
    SQL> ALTER DATABASE ADD STANDBY LOGFILE ('/u01/oracle/ordata/<primary>/log1c.rdo') SIZE 500M;
    SQL> ALTER DATABASE ADD STANDBY LOGFILE ('/u01/oracle/ordata/<primary>/log2c.rdo') SIZE 500M;
    SQL> ALTER DATABASE ADD STANDBY LOGFILE ('/u01/oracle/ordata/<primary>/log3c.rdo') SIZE 500M;After that you can edit database primary log transport to SYNC and in broker managed data guard you must chage logxptmode to sync on standby ,too
    With
    DGMGRL> edit database  <primary> set property LogXptMode="SYNC";
    DGMGRL> edit database  <standdby> set property LogXptMode="SYNC";
    DGMGRL> edit configuration set protection mode AS MAXPROTECTION;
    Max protection is require restart  primary database;
    DGMGRL> shutdown immediate; -- if connected to  primary
    DGMGRL> startup;
    DGMGRL> edit configuration set protyection mode as MAXAVAILIBILITY;Regards
    Mahir M. Quluzade
    www.mahir-quluzade.com
    Edited by: Mahir M. Quluzade on Sep 17, 2012 10:07 AM

Maybe you are looking for