Oracle 11g Dataguard Physical standby configuration (vi) broker Fastfailover test

Source: Internet
Author: User
Tags failover


This paper uses Oracle 11g Dataguard broker Fastfailover Test



Oracle 11g Dataguard Fast failover configuration, requires a primary database to turn on the flash back function, flash back to open this article skip.



When the flash-back is activated to the Mount state, the primary standby listener does not turn off at will.



1. DGMGRL View Primary repository status



$ DGMGRL sys/oracle



DGMGRL for Linux:version 11.2.0.3.0-64bit Production



Copyright (c), 2009, Oracle. All rights reserved.



Welcome to the DGMGRL, for information, type Help.



is connected.



Dgmgrl> show configuration;



Configuration-Dgorcldb



Protection mode: Maxperformance



Database:



ORCL-Primary Database



Slave-Physical Standby database



Quick Start Failover: DISABLED



Configuration Status:



SUCCESS



#Fast start failover is unavailable.





#View failover situation, disabled is not enabled.



Dgmgrl> Show Fast_start failover



Quick Start Failover: DISABLED



Threshold value: 30 seconds



Goal: (none)



Observation procedure: (none)



Lag limit: 30 seconds



Close Primary Database: TRUE



Automatic recovery: TRUE



Configurable failover conditions



Health status:



Corrupted Controlfile YES



Corrupted Dictionary YES



Inaccessible Logfile NO



Stuck Archiver NO



DataFile Offline YES



Oracle error Condition:



No



2. Start a quick start failover



dgmgrl> enable Fast_start failover;



3. Start Quick Start failover Observer Watch program



Dgmgrl> start observer;



NOTE: After start observer, the Watcher will not run in the background, it will be displayed in the foreground.



In the actual use of the process, you need to start on the server alone, in the background automatically run, can not be closed, or the main reserve can not automatically monitor the running state.



You cannot use the Quick Start failover feature.



4. Perform a view in another window



$ DGMGRL sys/oracle



Dgmgrl> show Fast_start failover;



Fast Start failover: ENABLED



Threshold value: 30 seconds



Goal: Slave



Observation Program: Master



Lag limit: 45 seconds



Close Primary Database: TRUE



Automatic recovery: TRUE



Configurable failover conditions



Health status:



Corrupted Controlfile YES



Corrupted Dictionary YES



Inaccessible Logfile NO



Stuck Archiver NO



DataFile Offline YES



Oracle error Condition:



No



Dgmgrl> Show Configuration



Configuration-Dgorcldb



Protection mode: Maxperformance



Database:



Slave-Primary Database



ORCL-(*) Physical standby database





Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.