Change standby protection mode

hello
i have setup data guard using oracle 10g on windowx xp,
when i change the protection mode to maximum availability it works fine but when i change to maximum protection the database shuts down ..
i tried again also it shuts down i reverted to maximum availability it works ...plz help
another question, can the primary database and the standby database have the same names ?
many thanks

Hi,
Is data actually being applied on the standby database? In maximum protection the primary will only commit once the redo data is available on a standby db. If the standby is unreachable the primary would essentially stop processing.
On the standby, try querying v$archived_log to see if the logs are actually being received. Also check the alert log on the primary to see if there are any errors with the archiving process.

Similar Messages

  • Standby protection mode

    I wish to make parallel Standby Database. The first in AVAILABILITY MODE, the second in PERFORMANCE MODE. Whether It is possible to use it simultaneously? If yes how to specify for everyone Standby Database own MODE?
    In the documentation the example is resulted.
    Primary protection mode
    Primary DB Standby DB1 Standby DB2
    Maximum availability Not applicable Not applicable
    Standby protection mode
    Primary DB Standby DB1 Standby DB2
    Not applicable Maximum availability Maximum performance
    What is Standby protection mode?

    The table look under the reference:
    http://www.sql.ru/forum/actualthread.aspx?tid=482693&pg=-1
    Documentation
    http://www.filibeto.org/sun/lib/nonsun/oracle/10.2.0.1.0/B19306_01/server.102/b14239/scenarios.htm#sthref1552
    Further the following text is resulted:
    Note:
    The New York city database is operating in maximum performance mode because sending redo data synchronously from HQ to NYC might impact the primary database performance during peak workload periods. However, the New York City standby database is still considered a viable candidate for failovers because it uses a standby redo log.

  • Data Protection Mode

    Hello,
    1) In order to set Data protection mode, do I need to set anything on standby?
    2) My database is in Maximum Performance mode. I set up following entry on init.ora:
    LOG_ARCHIVE_DEST_2=’service=standby LGWR ASYNC’.
    I want to change data guard protection mode from Max Performance to Max Protection. For that i have changed from the "ASYNC" attribute to "SYNC" attribute of the LOG_ARCHIVE_DEST_n initialization parameter like:
    LOG_ARCHIVE_DEST_2=’service=standby LGWR SYNC’.
    But I have not changed the protection mode on the primary database using “alter database set standby database to maximize protection”.
    Does it continue as Max Performance mode or will it throw any error?

    1) In order to set Data protection mode, do I need to set anything on standby? You have to take care only in primary LOG_ARCHIVE_DEST_n parameter, If you changed protection mode of course it will be taken care.
    But dont forget to check on standby if you have configured anything on LOG_ARCHIVE_DEST_n parameter[if you perform switchover in future], usually it will left blank.
    2) My database is in Maximum Performance mode. I set up following entry on init.ora:
    LOG_ARCHIVE_DEST_2=’service=standby LGWR ASYNC’.
    I want to change data guard protection mode from Max Performance to Max Protection. For that i have changed from the "ASYNC" attribute to "SYNC" attribute of the LOG_ARCHIVE_DEST_n initialization parameter like:
    LOG_ARCHIVE_DEST_2=’service=standby LGWR SYNC’.
    But I have not changed the protection mode on the primary database using “alter database set standby database to maximize protection”.
    Does it continue as Max Performance mode or will it throw any error?Similar discussion, You can check this link what happens if you set LGWR & SYNC in maximum performance mode :)
    using LGWR SYNC with Max Performance

  • Database is High Protection Mode

    Dear Friends,
    I configured dataguard standby database in oracle 11g.Then i did the following scenario's.
    1)I changed the protection mode to "High protection".
    2)Shutdown the standby database.
    As per the document, The primary database shutdown when standby database is down in High Protection Mode.
    But my primary database did not shutdown. But if i fire "alter system switch logfile;", It get hangs. But parllely, I can able to login to primary db as normal user.
    Can anybody explain what happen if database in "High Protection" Mode?
    Thanks in advance.

    Hello;
    Can you post the results of this run on the Primary :
    SELECT PROTECTION_MODE FROM V$DATABASE;The Protection modes are "Maximum availability", "Maximum performance","Maximum protection" They are described in detail here
    1.4 Data Guard Protection Modes - http://docs.oracle.com/cd/E11882_01/server.112/e10700.pdf
    If you search E10700-02 there is no "High protection" mode, so I'm not sure what you did. Maximum availability provides the highest protection, but also requires "SYNC" for your log_archive_dest_n parameter.
    My own example is here :
    http://www.visi.com/~mseberg/protection_mode.html
    Best Regards
    mseberg
    Edited by: mseberg on Aug 8, 2012 2:04 PM

  • Dateguard Protection Mode and log transfer doubt

    Friends,
    DB: 11gR2 (11.2.0.3) 64 bit
    OS: OEL 5.5 64 bit
    iam new to dataguard..
    i just finished the setup of primary db and physical standby in my notebook.
    the protection mode is the default one...that is...maximum performance. (primary)
    in the maximum protection mode....whenever i need the logs to transferred to physical standby..i have to do the switch logfile and also archive the current log.
    its not reflecting/transferring automatically. that is in the scott user i created a table in primary db..
    but its not reflecting in the physical standby of scott user. once i do the below...
    alter system switch logfile
    alter system archivelog currentthen its reflecting in the physical standby. so, am i have to change this mode to maximum availability or maximum protection?
    so in maximum performance mode, i have to execute the above statement whenever i need the log transport from primary to standby?
    thanks

    1. is the real-time apply can be used in all the 3 protection modes?Yes.
    2. while changing the protection mode, i have to do it in the primary db is it?Yes changes are done in primary database.
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/protection.htm#
    3. while shutting down the physical standby and primary i just run the shutdown immediate command in standby and then in primary...is there any steps to be followed while shutting down the server or starting up the server in the dataguard environment like rac environment.?
    While shutting do this:
    Check whether primary and standby database are in SYNC and then Cancel the recovery process
    Shut down the primary database and then shut down the standby database And if you are using ASM then you have to shutdown that also.
    Stop all listeners and cluster services. Perform this step on all nodes in an Oracle Real Application Clusters (Oracle RAC) environment.
    While starting do this:
    Start the cluster services and listener
    Start the ASM and then database
    Start the recovery process on standby database.

  • Physical Standby Database (Protection Mode)?!!

    Hi,
    I have configured a physical standby database to use Real-time Apply, but i noticed that the protection mode of the database has been changed from "Maximum Performance" to ''Maximum Availability"..
    log_archive_dest_3='service=phystby OPTIONAL LGWR SYNC AFFIRM reopen=120 valid_for=(online_logfiles,primary_role) db_unique_name=phystby'
    Any body to explaine??
    Regards,

    LGWR SYNC AFFIRM
    These are the options are used in maximum protection  mode ,in which oracle will write the information in both the server(primary and standby) and this write occurs at same time.
    oracle write the information in online redo logfile of both the server simultaneously.
    and this option ensure no data loss will occurs if primary will fail.
    SYNC related with Network transmission mode.
    AFFIRM related with disk write option.
    LGWR describe Redo archival process.
    Thanks
    Kuljeet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How do I change the downloaded file default from protected mode

    Word and pdf show up in protective mode - how do I change the default to allow editing?

    Hello,
    In order to change the default reader for PDF files (to not open PDF files with Firefox's internal PDF reader), follow these steps:
    #Go to ''Tools'' > ''Options'' (or ''Firefox'' > ''Options'').
    #In the Options window, select the ''Applications'' tab.
    #In the ''Search'' field, type ''PDF''. You should find ''Portable Document Format (PDF)''.
    #On the right handside you should find an ''Action'' column. Use that to select your favorite PDF reader. In order to view PDF files in Firefox, choose ''Preview in Firefox''.
    Did this fix your problems? Please report back to us!
    Thank you.

  • How to add two protection mode in oracle data guard

    Hi all,
    We have a discussion on oracle physical data guard yesterday.....
    As we all know that data guard has 3 protection mode
    1. Maximum Performance
    2. Maximum Availability (Default)
    3. Maximum Protection
    Now we were discussing about is it possible to have two protection mode on same data guard simultaneously... for e.g. Maximum performance and maximum availability.
    We have searched a lot but don't find any help on google.
    Can any one help on this with any doc, pdf or links..
    Thanks & Regards

    Hi,
    you don't find anything on this because it's not possible and would make no sense even if you could do it.
    Maximum Availability uses SYNC commit between primary and standby db. If you combine Max. Availabilty with Max. Performance then your db clients have to wait on commit until primary and the max. availability standby have commited. That they would not have to wait on another Max. Performance DB doesn't change anything to the client. You would only combine the disadvantages of both approaches, the wait on sync commit for max. availability and beeing not in sync with primary for the max. performance db.
    The max. protection mode requires by definition that the primary db shuts down in case no standby can process the commit. If the primary is not up and running it is pointless to have another (max. availability) standby db at hand, if this max. availability db would take over the service this would violate the defintion of max. protection. No Dataloss is valued higher than db availability, having the data commited only on one db site is not allowed.
    Regards
    Thomas

  • Dataguard 'max protection' mode failed

    Testing Dataguard in MAX PROTECTION mode on Oracle 10.2.0.4 on Solaris x86_64.
    Test 1: Primary remained up allowing transactions to continue inspite of the fact that the server running the standby database was not reachable. Waited for over 10 minutes and then cancelled the test. All that happened was the protection_level changed to resynchronization. I could not believe my eyes. Is this possible?
    Test 2: The primary shutdown automatically but after about 6 minutes of the standby database was shut abort. So what about all those transactions that took place during those 6 minutes? Those would be lost - isnt it?
    I just cant believe this. Where am I going wrong? I confirmed that LAD_2 was set to lgwr sync affirm. And that protection mode was set to 'maximum protection'.
    Somebody, pls enlighten me?
    Thanks
    Edited by: user12022918 on 27-May-2013 08:42

    If you have several physical standby database for the same primary database then this could be expected behaviour otherwise this looks like a bug that you should report to Oracle Support who will very likely ask you to upgrade at least to 10.2.0.5 patchset or 11.2.0.3.

  • Problem in protection mode dataguard

    Hi,
    i want to store standby redo log archived file in separate folder, so that i specified
    log_archive_dest_1='LOCATION=D:\oracle\product\10. 2.0\flash_recovery_area\stby VALID_FOR=ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stby
    standby_archive_dest=D:\oracle\product\10. 2.0\flash_recovery_area\stby\arcst
    If both parameters are specified, the STANDBY_ARCHIVE_DEST initialization
    parameter overrides the directory location specified with the LOG_ARCHIVE_DEST_n
    parameter.
    but in my system it store all archive files in LOG_ARCHIVE_DEST_1..
    normally if you change primary database protection mode into maximize availability ,then it should automatically change standby database into that mode ...
    primary database(live).
    should i change this mode in both primary and standby database????
    SQL> select protection_mode,protection_level from v$database;
    PROTECTION_MODE PROTECTION_LEVEL
    MAXIMUM AVAILABILITY RESYNCHRONIZATION
    SQL> alter database open;
    Database altered.
    SQL> alter system switch logfile;
    System altered.
    SQL>
    standby database(stby)
    alert file
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\REDO04.LOG'
    Thu Aug 06 08:48:15 2009
    Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\STBY\ARC00093_0693601814.001
    Media Recovery Waiting for thread 1 sequence 94 (in transit)
    Thu Aug 06 08:48:18 2009
    Recovery of Online Redo Log: Thread 1 Group 4 Seq 94 Reading mem 0
    Mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\REDO04.LOG
    SQL> select protection_mode,protection_level from v$database;
    PROTECTION_MODE PROTECTION_LEVEL
    MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE
    Oracle 10g

    selva,
    log_archive_dest_1='LOCATION=D:\oracle\product\10. 2.0\flash_recovery_area\stby VALID_FOR=ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stby
    standby_archive_dest=D:\oracle\product\10. 2.0\flash_recovery_area\stby\arcst is correct and will not override your primary entry... the log_archive_dest_1 is where your primary logs are generated and standby_archive_dest is where your logs will come when current server acts as secondary.
    your actual question is regarding protection modes....? is that correct
    after you chnage the protection mode did you stop managed recovery and bounce the database on stby,,,
    try this and let me know
    hth

  • Oracle Datagaurd protection mode

    Hi,
    I am working on Oracle 10.2.0.4 version on Solaris 9. I am using ASM for storage.
    I have a DG setup, which i wanted to have one primary and 2 physical standby databases in MAX AVAILABILITY & MAX PERFORMANCE mode respecitively. I successfully setup the DG environment but would like to know if there is any type of verification or views that show that what standby is performing in what mode(v$dataguard_status,v$managed_standby, etc).
    I have used the following log_archive_dest_n on the primary database entries for enabling the protection modes.
    log_archive_dest_1                   LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,A
                                                  LL_ROLES) DB_UNIQUE_NAME=testdb_1
    log_archive_dest_2                   SERVICE=testdb_2 OPTIONAL LGWR SYNC AFFIRM VALID_FOR=
                                                  (ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=testdb_2
    log_archive_dest_3                   SERVICE=testdb_3 OPTIONAL ARCH ASYNC AFFIRM VALID_FOR=
                                                  (ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=testdb_3 I want to put
    1) testdb_2 standby in MAXIMUM AVAILABILITY
    2) testdb_3 standby in MAXIMUM PERFORMANCE
    I built the testdb_2 physical standby first and upgraded the protection mode to MAXIMUM AVAILABILITY and is working fine (this is using real time log apply).
    I built the testdb_3 phyisical standby second and just started the redo apply using "alter database recover managed standby database disconnect from session).
    The whole DG setup is working fine with applying logs. But my main question is that when i give "select protection_mode, protection_level from v$database" on primary database, it shows only the "MAXIMUM AVAILABILITY" mode. Where do i see that MAXIMUM PERFORMANCE mode is existing too for this DG environment? Is there any view or do we just confirm this by seeing the managed recovery processes in the v$managed_standby view?
    Any information or documentation links would be greatly appreciated.
    Thanks,
    Harris

    Well, the information Uwe Hesse was provided is contradicting.
    The protection mode is infact is a property of primary database but it the standby database, which defines it, which is directly related to the REDO TRANSPORT mode that we use. Because, when you upgrade the protection mode, you issue it on the primary database and use the standby clause in it.. as follows
    alter database set standby database to maximize [protection|availability|performance]As mentioned before, i used the ARCH ASYNC mode for putting the second standby database in the MAXIMUM PERFORMANCE mode and my question was as where to see that this database is working in the PERFORMANCE protection mode. When i used the ARCH transport mode, the PROTECTION_MODE & PROTECTION_LEVEL on both Primary and 2 standby databases were showing as MAXIMUM AVAILABILITY mode. But the redo transport was working as expected in respective protection modes.
    Since, we can use either LGWR ASYNC or ARCH ASYNC for MAXIMUM PERFORMANCE mode, i changed the redo transport mode for the 2nd standby database (testdb_3) and using real time apply using following command,
    alter database recover managed standby database using current logfile through all switchover disconnect from session;the 2nd standby database(testdb_3) started showing that primary database is working in MAXIMUM PERfORMANCE mode in the control file where as the the 1st standby database (testdb_2) is showing that the primary database is working in the MAXIMUM AVAILABILITY mode. Following are the different protection status being shown by the primary & standby databases. I think this is the way you find what standby database is working in what protection mode respectively.
    ON TESTDB_1 (PRIMARY DATABASE)
    SQL> select protection_mode, protection_level from v$database;
    PROTECTION_MODE      PROTECTION_LEVEL
    MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    ON TESTDB_2 (STANDBY DATABASE using LGWR SYNC)
    SQL> select protection_mode, protection_level from v$database;
    PROTECTION_MODE      PROTECTION_LEVEL
    MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    ON TESTDB_3 (STANDBY DATABASE using LWGR ASYNC)
    SQL> select protection_mode, protection_level from v$database;
    PROTECTION_MODE      PROTECTION_LEVEL
    MAXIMUM PERFORMANCE  MAXIMUM PERFORMANCESo, the protection mode is not primarily a property of the primary database but it is defined by the standby database and the redo transport is part of it as well, which was my initial understanding too. Though the 2nd standby database is geographically distant from the primary database, as i am using the LGWR ASYNC, there is no impact on the primary database performance.
    Correct me if i am wrong, well atleast i have shown you what Oracle Software is reporting regarding the status.
    Thanks,
    Harris.
    Edited by: Harris2107 on Aug 25, 2010 2:07 PM

  • Dataguard: RESYNCHRONIZATION state for MAXIMUM PROTECTION mode

    Dear All
    Hi
    When you have Data guard in 10g Rel 2 and your primary database protection mode is configured as MAXIMUM PROTECTION , when the standby database goes down , the PROTECTION_LEVEL in primary database changes to RESYNCHRONIZATION before the primary database shuts down .
    SQL> select protection_level from v$database;
    PROTECTION_LEVEL
    RESYNCHRONIZATION
    I need to know for how long primary database can stay in RESYNCHRONIZATION level before it goes down ? and how we can change this time ???
    Thanks
    Edited by: kamranbs on Jul 19, 2011 2:13 PM
    Edited by: kamranbs on Jul 19, 2011 3:09 PM

    Something not quite right, unless you have extremely slow disks or the OS is slacking (using VM?) . As soon a the net_timeout expires, primary initiates shutdown abort which should be instant.

  • Dataguard protection modes

    At mount state i changed my database mode to maximum protection mode,after that i am opening my database open using the command alter database open, but it
    throws error database is not open.
    error: ora-16086,ora-16072.
    please let me know for this solution.

    879003 wrote:
    At mount state i changed my database mode to maximum protection mode,after that i am opening my database open using the command alter database open, but it
    throws error database is not open.
    error: ora-16086,ora-16072.
    please let me know for this solution.
    bcm@bcm-laptop:~$ oerr ora 16068
    16068, 00000, "redo log file activation identifier mismatch"
    // *Cause:  The activation identifier of the indicated redo log file
    //          does not match the activation identifier of the database.
    // *Action:
    bcm@bcm-laptop:~$ oerr ora 16072
    16072, 00000, "a minimum of one standby database destination is required"
    // *Cause:  No standby database archive log destinations were specified.
    // *Action: Specify a standby archive log destination in the initialization
    //          parameter file.what ever your changed, Oracle does not like it

  • How to not allow users to check or uncheck Enable Protected Mode

    I know how to change the HKLM\Software\Policies\Adobe\Adobe Reader\10.0\FeatureLockDown\bProtectedMode to '1' to set the 'Enable Protected Mode at startup', but how do you disable to checkbox altogether so that users cannot change it?

    From AIM (Administrator's Information Manager)  Administrator's Information Manager
    Top > Privileged > Protected Mode > bProtectedMode
    Data type
    boolean: DWORD value > REG_DWORD
    Default
    1
    Since Ver. #
    10.0
    Path
    Privileged
    Lock Path
    HKLM\SOFTWARE\Policies\Adobe\(product name)\(version)\FeatureLockdown
    Summary
    Enables Protected Mode and thereby sandboxes Reader processes.
    Details
    Protected Mode is one of the application's most advanced security features and should be enabled to protect user systems and data. Possible values include:
    0: Don't enable protected mode.
    1: Do enable protected mode.
    GUI mapping
    Edit > Preferences > General > Enable Protected Mode at startup

  • Query regarding upgrading protection mode in a data guard

    I am using Oracle 10g in Linux platform
    Consider that I have a logical standby and a physical standby and now I want to upgrade the protection mode of physical standby but want the logical standby to retain the protection mode .
    According to the Oracle documentation they have specified that the following statement has to be issued from primary to upgrade protection mode of a standby
    SQL > Alter database set standby database to maximum availability;So to which standby this statement will refer to, whether logical standby or physical standby?

    Hi,
    What you want to do is very possible. Please not however the protection mode DOES NOT apply to a standby when you say a database has a certain protection mode, it applies to the primary.
    First to be in maximum availability you have to issue the command you state, and that applies to the primary, it is now in maximum availability but to get there it must have ONE standby that uses LGWR SYNC as the transport mechanism with AFFIRM.
    You can also have other standby's running from this primary, that DO NOT have to use LGWR SYNC, but can use the other available tranport mechanisms.
    This is explained here:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/protection.htm#CHDEDGIF
    cheers,
    jason.
    http://jarneil.wordpress.com

Maybe you are looking for

  • Fonts turn pink in Adobe Reader

    Hello, I am exporting Keynote '08 presentations (hyperlinks only) to PDF and have begun encountering a weird situation: on some slides, the fonts appear in a pinkish colour when the file is opened in Adobe Reader, and in the normal colour when the sa

  • TS3999 My IPhone 4S Calendar Icon has disappeared?  How do I get it back?

    Please help me locate the missing Calendar Icon on my IPhone 4s?

  • Windows can't open this file : ***.exe.

      I am facing problem while launching any exe file on my machine and while launch any exe getting message as below. Windows can't open this file : ****.exe. for each exe file am getting the error like taskmgr.exe, cmd.exe,msconfig.exe. System config:

  • Shared asset copying

    We are having problems when copying a shared asset (a very small image) from one part of a page to another. This is not a problem when logged on as administrator, just for other users. An error message is generated saying that the image exceeds maxim

  • Microsoft Share Point Inyegration with Portal 7.0

    Hi All, I am in a situation where i need to integrate Microsoft Share point  with EP 7.0. Can any one guide me on this with the steps. Any links ,blogs or documents are appriciated. Thanks Ravi