• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Warning: ORA-16829: fast-start failover configuration is lagging

by admin

Using DGMGRL, you can change property values directly by using the command-line utility. It includes commands to create an observer process that monitors the whole configuration, including the primary and standby, to evaluate if a failover is necessary, and to initiate FSFO. You might encounter the error “ORA-16829: fast-start failover configuration is lagging” while checking the configuration details in DGMGRL.

Here is the ora error description for the same.

Error code: ORA-16829
Description: fast-start failover configuration is lagging.
Cause: The fast-start failover target standby database was not within the lag limit specified by the FastStartFailoverLagLimit configuration property. As a result, a fast-start failover could not happen in the event of a primary database failure.
Action: Ensure that the fast-start failover target standby database is running and applying redo data and that the primary database is successfully trasmitting redo data. If this condition persists consider raising the value of the FastStartFailoverLagLimit configuration property.

The Problem

Automatic failover caused DR to become primary and primary to become DR, but when checked the dgmgrl configuration there were some errors.

$ dgmgrl
DGMGRL for Linux: Version 11.2.0.3.0 - 64bit Production

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

Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys
Password:
Connected.
DGMGRL> show configuration

Configuration - db1tes_dg

  Protection Mode: MaxPerformance
  Databases:
    db1tesd - Primary database
      Warning: ORA-16829: fast-start failover configuration is lagging

    db1tesp - (*) Physical standby database
      Error: ORA-16810: multiple errors or warnings detected for the database

Fast-Start Failover: ENABLED

Configuration Status:
ERROR
DGMGRL> show database db1tesd

Database - db1tesd

  Role:            PRIMARY
  Intended State:  TRANSPORT-ON
  Instance(s):
    db1tesd1

  Database Warning(s):
    ORA-16829: fast-start failover configuration is lagging

Database Status:
WARNING
DGMGRL> show database db1tesp

Database - db1tesp

  Role:            PHYSICAL STANDBY
  Intended State:  APPLY-ON
  Transport Lag:   (unknown)
  Apply Lag:       3 hours 20 minutes 3 seconds
  Real Time Query: ON
  Instance(s):
    db1tesp1 (apply instance)
    db1tesp2

  Database Warning(s):
    ORA-16826: apply service state is inconsistent with the DelayMins property
    ORA-16829: fast-start failover configuration is lagging

Database Status:
WARNING

The Solution

What I did in our case was simply restarted the the new DR and it fixed the issue.

$ srvctl stop database -d db1tesp
$ srvctl start database -d db1tesp
$ dgmgrl 
DGMGRL for Linux: Version 11.2.0.3.0 - 64bit Production

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

Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys
Password:
Connected.
DGMGRL> show configuration

Configuration - db1tes_dg

  Protection Mode: MaxPerformance
  Databases:
    db1tesd - Primary database
    db1tesp - (*) Physical standby database

Fast-Start Failover: ENABLED

Configuration Status:
SUCCESS
 show database db1tesp

Database - db1tesp

  Role:            PHYSICAL STANDBY
  Intended State:  APPLY-ON
  Transport Lag:   0 seconds
  Apply Lag:       0 seconds
  Real Time Query: ON
  Instance(s):
    db1tesp1 (apply instance)
    db1tesp2

Database Status:
SUCCESS

DGMGRL> show database db1tesd

Database - db1tesd

  Role:            PRIMARY
  Intended State:  TRANSPORT-ON
  Instance(s):
    db1tesd1

Database Status:
SUCCESS

Filed Under: Data Guard, oracle

Some more articles you might also be interested in …

  1. PL/SQL: Palindrome Program
  2. How to Trace Dynamic Registration from PMON or LREG (Oracle 12c)
  3. How to Set Multiple Events in INIT.ORA file
  4. Oracle RMAN : Block-Level Media Recovery (Basics and Example)
  5. Oracle Data Guard Security Enhancement – SYSDG Administration Privilege
  6. Oracle Home Relinking Interview Questions and Answers
  7. Beginners Guide to Oracle Temporary Tablespaces
  8. PL/SQL Nested Blocks
  9. ORA-00257:Archiver Error, Connect Internal Only Until Freed
  10. Declaring PL/SQL Variables

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright