Tuesday, June 29, 2021

ORA-16692: operation disallowed for a database or far sync instance that sends redo data - Converting from Physical Standby Database to Snapshot Standby Database

Configured two physical standby databases for primary database and also setting the RedoRoutes property between these databases.


Primary Database: orcldb

Physical Standby Database: orcldbs 

Physical Standby Database: orcldbp


1. Check the configuration

DGMGRL> show configuration;

Configuration - dg_rac

  Protection Mode: MaxPerformance

  Members:

  orcldb  - Primary database

    orcldbs - Physical standby database

      orcldbp - Physical standby database (receiving current redo)

Fast-Start Failover: DISABLED

Configuration Status:

SUCCESS   (status updated 35 seconds ago)

DGMGRL>


2. Check the RedoRoutes property

DGMGRL> show database orcldb redoroutes;

  RedoRoutes = '(LOCAL : orcldbs SYNC)'

DGMGRL>

DGMGRL> show database orcldbs redoroutes;

  RedoRoutes = '(LOCAL : orcldb SYNC, orcldbp SYNC)(orcldb : orcldbp ASYNC)(orcldbp : orcldb ASYNC)'

DGMGRL>

DGMGRL> show database orcldbp redoroutes;

  RedoRoutes = '(LOCAL : orcldbs SYNC)'

DGMGRL>

3. Configured using following commands

DGMGRL>edit database orcldb set property redoroutes='(LOCAL : orcldbs SYNC)';

Property "redoroutes" updated

DGMGRL>edit database orcldbs set property redoroutes='(LOCAL : orcldb SYNC, orcldbp SYNC)(orcldb : orcldbp ASYNC)(orcldbp : orcldb ASYNC)';

Property "redoroutes" updated

DGMGRL>edit database orcldbp set property redoroutes='(LOCAL : orcldbs SYNC)';

Property "redoroutes" updated

While trying to convert one of the physical standby database to snapshot standby database getting the following error.

DGMGRL> convert database orcldbs to snapshot standby;

Converting database "orcldbs" to a Snapshot Standby database, please wait...

Error: ORA-16692: operation disallowed for a database or far sync instance that sends redo data

Failed.

Failed to convert database "orcldbs"

DGMGRL>

Cause: An attempt was made to delete, disable, or convert (physical standby database) a member that 

has a non-empty value set for its RedoRoutes property.

Action: Reset the value of the RedoRoutes property for the member to be deleted, disabled, or 

converted (physical standby database) to the empty string and then retry the operation.

4. Resetting RedoRoutes property for orcldbs database

DGMGRL> edit database orcldbs set property redoroutes='';

Property "redoroutes" updated

DGMGRL>

DGMGRL> show configuration;

Configuration - dg_rac

  Protection Mode: MaxPerformance

  Members:

  orcldb  - Primary database

    orcldbs - Physical standby database

  Members Not Receiving Redo:

  orcldbp - Physical standby database

Fast-Start Failover: DISABLED

Configuration Status:

SUCCESS   (status updated 25 seconds ago)

DGMGRL>

5. Converted to Snapshot Standby Database

DGMGRL> convert database orcldbs to snapshot standby;

Converting database "orcldbs" to a Snapshot Standby database, please wait...

Database "orcldbs" converted successfully

DGMGRL>

6. Login to orcldbs database and check the database role

[oracle@standby ~]$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Tue Jun 29 19:39:09 2021

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

Connected to:

Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> select name,open_mode,database_role from v$database;

NAME      OPEN_MODE            DATABASE_ROLE

--------- -------------------- ----------------

ORCLDB    READ WRITE           SNAPSHOT STANDBY

SQL> exit

7. Converted back to physical standby database from snapshot standby database

DGMGRL> convert database orcldbs to physical standby;

Converting database "orcldbs" to a Physical Standby database, please wait...

Operation requires shut down of instance "orcldbs" on database "orcldbs"

Shutting down instance "orcldbs"...

Database closed.

Database dismounted.

ORACLE instance shut down.

Operation requires start up of instance "orcldbs" on database "orcldbs"

Starting instance "orcldbs"...

ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

ORACLE instance started.

Database mounted.

Continuing to convert database "orcldbs" ...

Database "orcldbs" converted successfully

DGMGRL>

DGMGRL> edit database orcldbs set property redoroutes='(LOCAL : orcldb SYNC, orcldbp SYNC)(orcldb : orcldbp ASYNC)(orcldbp : orcldb ASYNC)';

Property "redoroutes" updated

DGMGRL>


DGMGRL> show configuration;

Configuration - dg_rac

  Protection Mode: MaxPerformance

  Members:

  orcldb  - Primary database

    orcldbs - Physical standby database

      orcldbp - Physical standby database (receiving current redo)

Fast-Start Failover: DISABLED

Configuration Status:

SUCCESS   (status updated 7 seconds ago)

DGMGRL>

8. Login to orcldbs database and check the database role

[oracle@standby ~]$ . oraenv

ORACLE_SID = [orcldbs] ?

The Oracle base remains unchanged with value /u01/app/oracle

[oracle@standby ~]$

[oracle@standby ~]$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Tue Jun 29 19:59:41 2021

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

Connected to:

Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> select open_mode,database_role from v$database;

OPEN_MODE            DATABASE_ROLE

-------------------            ------------------------

READ ONLY WITH APPLY PHYSICAL STANDBY

SQL>


30 comments:

  1. Want to know the right time to hire a property manager?

    Denver Property Management company experts guide you to understand the best time and protocols with which you can learn to hire the property manager for your properties.

    visit us here - https://www.integrityrm.net/denver-property-management/

    ReplyDelete
  2. Hey there,
    Great article much appreciated thank you so much for sharing this.
    If anyone want to know about epoxy flake floor gold coast visit this link.

    ReplyDelete
  3. GFS are fully committed to strive for excellence in performance and quality on each and every job that we partake. driveway coating jacksonville also try our best to remain as flexible, innovative and professional as possible with our services. No job is considered big or small to us, we strive to deliver each job with full integrity focusing heavily on leaving our clients 100% satisfied!

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Much appreciated. for giving such a New data. presently I need to get familiar with nebosh course in multan , so companion proposed me cosmic foundation visit here for more details

    ReplyDelete
  6. Hey there,
    Great article much appreciated thank you so much for sharing this.
    If anyone want to know about apk app visit this site.

    ReplyDelete
  7. If you want to use a kinemaster mod apk for ios 2 there is no significant difference between Android. Many people also wish they could download videos without watermarks on their iPhones.

    ReplyDelete
  8. Oracle Knowledge Management is an information management system that uses knowledge capture, storage, and distribution tools that Oracle developed. Implementing Oracle Knowledge Management provides the features of solution search, creation, organization, and access to new solutions. instagram bio ideas

    ReplyDelete
  9. Hey There,
    Really appreciated this infromative article.
    if anyone wants to know about Bes Monitors for Watching Movies visit the given link.

    ReplyDelete
  10. Discover Nomina360, the best payroll software in Ecuador.

    ReplyDelete
  11. Great post, Thank you so much for sharing such wonderful piece that is really informative for us smokesandvape

    ReplyDelete
  12. Hey there,
    Great article much appreciated thank you so much for sharing this.
    if anyone want to know abot apk app visit this siteaffordableinsurancenow

    ReplyDelete
  13. Hey there
    Great article much appericiated thank you so much for sharing this.
    if anyone want to no about apk app visit this siteaffordableinsurancenow

    ReplyDelete
  14. Great article much appreciated thank you so much for sharing this.
    loungers for pool

    ReplyDelete
  15. Great post, Thank you so much for sharing such wonderful piece
    best school in pakistan

    ReplyDelete
  16. Thanks for sharing a great information if you need more information click on
    Digital signage Australia

    ReplyDelete
  17. Blog is very well all information was to good i have this similar website here is
    faster website

    ReplyDelete
  18. Hi there. Thanks for sharing such informative article.
    Any kind of information, uses ,prices and types of Herbal Incense is now available on our online shop.

    ReplyDelete
  19. Much appreciated. for giving such a New data. presently I need to get familiar with nebosh course in multan , so companion proposed me cosmic foundation visit here for more details

    ReplyDelete
  20. Tuning with VIEZU V-Switch Box in Dundee offers a cutting-edge solution for vehicle tuning and customization. The VIEZU V-Switch Box provides a versatile and user-friendly tool to adjust and optimize various engine parameters, allowing drivers to tailor their vehicle's performance to their preferences. Whether it's fine-tuning throttle response, adjusting power levels, or even switching between different performance modes, this innovative tuning solution puts control in the hands of the driver. It's great to see such advanced tuning technology available in Dundee, providing car enthusiasts with an exciting opportunity to enhance their driving experience.

    ReplyDelete
  21. This comment has been removed by the author.

    ReplyDelete
  22. Discover unbeatable freedom with our Cheapest Rent a Car in Dubai Without Deposit service! 🚗✨ Imagine exploring Dubai without breaking the bank, where every corner of the city becomes your playground. With our budget-friendly rentals and zero deposit requirement, your dream adventure is now within reach. Click on our backlink and step into a world of affordable luxury and seamless travel. Let's redefine your Dubai experience – budget-friendly, hassle-free, and unforgettable! 🌟🏙️ #NoDepositNoWorries #AffordableAdventure #DubaiDreamRide

    ReplyDelete
  23. Indulge in the ultimate gastronomic experience with our mouthwatering Hog Roast Sandwich! 🥪✨ Crafted to perfection, our sandwiches boast the irresistible combination of perfectly roasted hog, fresh ingredients, and delectable sauces. Visit The Hog Roast Sandwich to satisfy your cravings and treat your taste buds to a symphony of flavors. 🐷🔥 #HogRoast #SandwichLovers

    ReplyDelete
  24. Exploring the world of What is Gamification. The concept is fascinating, and your insights shed light on its multifaceted nature.

    ReplyDelete
  25. Wow, the Indian food at your restaurant looks absolutely delicious! I've always been a fan of Indian cuisine, and it's great to see such authentic and flavorful dishes being offered in Dunedin. From savory curries to aromatic biryanis, there's something for every palate to enjoy. I can't wait to visit your restaurant and experience the vibrant flavors of Indian cuisine firsthand. Keep up the fantastic work!

    ReplyDelete
  26. Experience seamless auto car rental services in Dubai with our diverse fleet.

    ReplyDelete
  27. Hey there,
    Great article much appreciated thank you so much for sharing this.
    if anyone want to know abot Vippark Casino visit this site Vippark Casino

    ReplyDelete