This document provides an overview of Oracle Dataguard including:
- Dataguard allows configuration of up to 30 physical or logical standby databases for high availability and disaster recovery.
- It provides benefits such as offloading backups and reporting without impacting primary database performance.
- Key concepts include primary and standby databases, redo transport, and different protection modes for data replication.
Oracle Data Guard ensures high availability, disaster recovery and data protection for enterprise data. This enable production Oracle databases to survive disasters and data corruptions. Oracle 18c and 19c offers many new features it will bring many advantages to organization.
Oracle RAC 12c Practical Performance Management and Tuning as presented during Oracle Open World 2013 with Michael Zoll.
This is part three of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
This part concludes the main part of the "reindeer series" except for one bonus track "Oracle Multitenant meets Oracle RAC 12c" (available via SlidesShare, too).
Oracle Data Guard ensures high availability, disaster recovery and data protection for enterprise data. This enable production Oracle databases to survive disasters and data corruptions. Oracle 18c and 19c offers many new features it will bring many advantages to organization.
Oracle RAC 12c Practical Performance Management and Tuning as presented during Oracle Open World 2013 with Michael Zoll.
This is part three of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
This part concludes the main part of the "reindeer series" except for one bonus track "Oracle Multitenant meets Oracle RAC 12c" (available via SlidesShare, too).
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
This presentation discusses the support guidelines for using Oracle Real Application Clusters (RAC) in virtualized environments, for which general Oracle Database support guidelines are discussed shortly first.
First presented during DOAG 2021 User Conference, this presentation replaces its predecessor from 2016: https://www.slideshare.net/MarkusMichalewicz/how-to-use-oracle-rac-in-a-cloud-a-support-question
Oracle Open World (OOW) 2014 presentation on Oracle Cache Fusion; how it works and how to use it in an optimized fashion to scale an Oracle RAC system.
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Markus Michalewicz
This is the latest version of the Oracle RAC 12c (12.1.0.2) Operational Best Practices presentation as shown during IOUG / Collaborate15. As best practices are a result of true collaboration this will probably be the last version before OOW 2015.
This version of "Oracle Real Application Clusters (RAC) 19c & Later – Best Practices" was first presented in Oracle Open World (OOW) London 2020 and includes content from the OOW 2019 version of the deck. The deck has been updated with the latest information regarding ORAchk as well as upgrade tips & tricks.
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
Oracle Data Guard and Oracle Active Data Guard have long been the answer for the real-time protection, availability, and usability of Oracle data. This presentation provides an in-depth look at several key new features that will make your life easier and protect your data in new and more flexible ways. Learn how Oracle Active Data Guard 19c has been integrated with Oracle Database In-Memory and offers a faster application response after a role transition. See how DML can now be redirected from an Oracle Active Data Guard standby to its primary for more flexible data protection in today’s data centers or your data clouds. This technical deep dive on Active Data Guard is designed to give you a glimpse into upcoming new features brought to you by Oracle Development.
Oracle Database performance tuning using oratopSandesh Rao
Oratop is a text-based user interface tool for monitoring basic database operations in real-time. This presentation will go into depth on how to use the tool and some example scenarios. It can be used for both RAC and single-instance databases and in combination with top to get a more holistic view of system performance and identify any bottlenecks.
Policy based cluster management in oracle 12c Anju Garg
Oracle Grid Infrastructure 12c enhances the use of server pools by introducing server attributes e.g. memory, CPU_count etc. which can be associated with each server. Server pools can be configured so that their members belong to a category of servers, which share a particular set of attributes. Moreover, administrators can maintain a library of policies and switch between them as required rather than manually reallocating servers to various server pools based on workload. This paper discusses in detail the new features of policy based cluster management in 12c.
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
The new release of Oracle Database has come with many new exciting enhancements for the High Availability.
This whitepaper introduces some new Data Guard features. Among various enhancements, special attention will be given to
the new Far Sync Instance and the Real-Time Cascade Standby.
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
This presentation discusses the support guidelines for using Oracle Real Application Clusters (RAC) in virtualized environments, for which general Oracle Database support guidelines are discussed shortly first.
First presented during DOAG 2021 User Conference, this presentation replaces its predecessor from 2016: https://www.slideshare.net/MarkusMichalewicz/how-to-use-oracle-rac-in-a-cloud-a-support-question
Oracle Open World (OOW) 2014 presentation on Oracle Cache Fusion; how it works and how to use it in an optimized fashion to scale an Oracle RAC system.
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Markus Michalewicz
This is the latest version of the Oracle RAC 12c (12.1.0.2) Operational Best Practices presentation as shown during IOUG / Collaborate15. As best practices are a result of true collaboration this will probably be the last version before OOW 2015.
This version of "Oracle Real Application Clusters (RAC) 19c & Later – Best Practices" was first presented in Oracle Open World (OOW) London 2020 and includes content from the OOW 2019 version of the deck. The deck has been updated with the latest information regarding ORAchk as well as upgrade tips & tricks.
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
Oracle Data Guard and Oracle Active Data Guard have long been the answer for the real-time protection, availability, and usability of Oracle data. This presentation provides an in-depth look at several key new features that will make your life easier and protect your data in new and more flexible ways. Learn how Oracle Active Data Guard 19c has been integrated with Oracle Database In-Memory and offers a faster application response after a role transition. See how DML can now be redirected from an Oracle Active Data Guard standby to its primary for more flexible data protection in today’s data centers or your data clouds. This technical deep dive on Active Data Guard is designed to give you a glimpse into upcoming new features brought to you by Oracle Development.
Oracle Database performance tuning using oratopSandesh Rao
Oratop is a text-based user interface tool for monitoring basic database operations in real-time. This presentation will go into depth on how to use the tool and some example scenarios. It can be used for both RAC and single-instance databases and in combination with top to get a more holistic view of system performance and identify any bottlenecks.
Policy based cluster management in oracle 12c Anju Garg
Oracle Grid Infrastructure 12c enhances the use of server pools by introducing server attributes e.g. memory, CPU_count etc. which can be associated with each server. Server pools can be configured so that their members belong to a category of servers, which share a particular set of attributes. Moreover, administrators can maintain a library of policies and switch between them as required rather than manually reallocating servers to various server pools based on workload. This paper discusses in detail the new features of policy based cluster management in 12c.
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
The new release of Oracle Database has come with many new exciting enhancements for the High Availability.
This whitepaper introduces some new Data Guard features. Among various enhancements, special attention will be given to
the new Far Sync Instance and the Real-Time Cascade Standby.
New Features for Database Administrator of Oracle 12c Database. Here are some of excellent Oracle 12c new features with examples for learning purpose. SQL,Backup and recovery, Database management, Oracle RAC, Oracle ASM included.
“A new multitenant architecture that easily deploy and manage database clouds. Innovations such as Oracle Multitenant for consolidating multiple databases, Automatic Data Optimization for compressing and tiering data at a higher density also maximize resource efficiency and flexibility. These unique advancements, combined with major enhancements in availability, security, and big data support, ideal platform for private and public cloud deployments.”
Presentation about Oracle Active Data Guard which I gave together with my colleague Luca Canali on UKOUG 2012
http://2012.ukoug.org/default.asp?p=9339&dlgact=shwprs&prs_prsid=7240&day_dayid=63
Architecting your own DBaaS in a Private Cloud with EM12c (WP)Gustavo Rene Antunez
Oracle in the 2014 edition of its Open World rolled out new database public cloud service with its DBaaS offerings, but this is just a piece in each company's technological architecture. Businesses still have the need to create a Private cloud and discover the driver to create it; Wether it is a measured service,consolidation or rapid provisioning, finding this driver will be the initial building block for it. This presentation will give you an insight on how a Private Cloud is architected, how the service catalog is the most important brick and how get the benefit of this upcoming era of Databases.
Today, many businesses around the world are using an Oracle product and in many of these at the core there is an Oracle Database. Many of us who started as a Database administrator where put in this position because we were good PL/SQL programmers or good Sysadmins, but knew very little of what it took to be a DBA. In this session you will learn the core architecture of an Oracle Database in 12c as well as what it takes to administer and apply this new knowledge the day you go back to your office.
رایانش ابری یک مدل معماری برای گسترش و دسترسی به امکانات رایانه از طریق خطوط اینترنت است. یک سرویس دهنده ی ابری قادر است دسترسی همه جایی به سرویس های نرم افزاری که در مرکز داده ابری اجرا می شوند، را از طریق مرورگرهای اینترنتی عرضه کند. این نرم افزار نیاز های مصرف کنندگان و کسب و کار ها را تامین خواهد کرد“
Oracle DataGuard Online Training in USA | INDIAXoom Trainings
Xoom Trainings providing Best Oracle DataGuard Online Training with complete tutorial by 10 years experienced professionals worldwide
For More online training Demo Please Reach the below link:
https://www.youtube.com/watch?v=2zXZPh4agwE
For More Information please follow the below link:
http://www.xoomtrainings.com/course/oracle-dataguard
For General Queries Email us at sales@xoomtrainings.com or +1-610-686-8077
AUSPC 2013 - Business Continuity Management in SharePointMichael Noel
Providing for a highly available and disaster-tolerant SharePoint environment is no small task; as there are multiple components that require backup, and various architectural design options that each provide for various degrees of business continuity. Consequently, understanding how to design and implement a BCM solution for SharePoint is a must. This session covers BCM for SharePoint, including a thorough discussion of SharePoint Backup and Restore options, a discussion of various BCM-related architectural designs, and a frank look at some of the new SQL 2012 AlwaysOn options for SharePoint.
Oracle Recovery Manager (Oracle RMAN) has evolved since being released in version 8i. With the newest version of Oracle 12c , RMAN has great new features that will allow you to reduce your down time in case of a disaster. In this session you will learn about the new features that were introduced in Oracle 12c and how can you take advantage of them from the first day you upgrade to this version.
Similar to Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation (20)
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
1. CSC Proprietary and Confidential
Oracle Dataguard Deep Dive
Nabil Nawaz
Dallas OUG Sept 22, 2016
2. CSC Proprietary and Confidential 2December 4, 2016
Nabil Nawaz
o Oracle Certified Professional – OCP and Exadata Certified Implementation Specialist
o Oracle Architect/DBA for 19 years, working with Oracle since version 7
o Lead Engineered Systems Solutions Architect at Computer Science Corporation
o Contributing Author for recent Book Oracle Exadata Expert’s Handbook
o Experience covers Performance tuning, Architecture, and Implementation of High Available systems with
Virtualization, Exadata, Supercluster, RAC, Dataguard and on both OLTP and Data warehouse
environments.
o Please follow me on my Blog http://nnawaz.blogspot.com/ and on Twitter! @Nabil_Nawaz
4. CSC Proprietary and Confidential 4December 4, 2016
What is Dataguard?
• Feature was named Standby database back in Oracle 7.3
• Renamed as Oracle Dataguard in Oracle version 9i
• Dataguard has been improved in every release to current release in 12c
• Oracle Data Guard is a solution for the following:
– Database High Availability (HA)
– Disaster Recovery (DR) for enterprise data.
– Data Protection
– Real-time Data Replication
5. CSC Proprietary and Confidential 5December 4, 2016
Dataguard Benefits
• No extra cost Included with Oracle Database Enterprise edition license
• Can have up to 30 standby databases from single primary database.
• Offload Database backups
• Offload Reporting point-in-time or real-time with Active Dataguard extra licensing cost
• Database cloning from standby database
• Near real time copy of database in sync
8. CSC Proprietary and Confidential 8December 4, 2016
Dataguard Protection modes
• Maximum Performance –
– Default Mode
– Provides the highest level of data protection without affecting the performance of primary
– Once transactions commit ,redo sent asynchronously to standby
– Minimal impact on primary database performance.
• Maximum Availability –
– Highest data protection without compromising availability of primary
– If the primary does not receive acknowledgement from at least one synchronized standby, then it operates
as if it were in maximum performance mode to preserve primary database availability until it is again able
to write its redo stream to a synchronized standby database.
9. CSC Proprietary and Confidential 9December 4, 2016
Dataguard Protection modes
• Maximum Protection –
– Shuts the primary database down if it cannot contact the standby
– Prioritizes data protection over primary database availability
– Oracle recommends that a minimum of two standby databases be used to protect a primary database that
runs in maximum protection mode to prevent a single standby database failure from causing the primary
database to shut down.
10. CSC Proprietary and Confidential 10December 4, 2016
Required Redo Transmission attributes for Data Protection Modes
11. CSC Proprietary and Confidential 11December 4, 2016
Dataguard Real-Time Redo Apply
• With the real-time apply feature redo can be applied on the standby as it is received.
• Results in the following:
– Faster synchronization on Standby
– Faster Switchover
– Faster Failover
– Enables real-time reporting
• Requires standby redo logs on standby also required on Primary in case of switchover/failover.
• Enable Real-time apply with command:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
• As of Oracle Database 12c Release 1 (12.1), the USING CURRENT LOGFILE clause is deprecated
and no longer necessary to start real-time apply.
12. CSC Proprietary and Confidential 12December 4, 2016
Redo Apply with Real-time Apply
13. CSC Proprietary and Confidential 13December 4, 2016
Cases Where Redo not written to Standby Redo Logs
• Redo received by a standby database is written directly to an archived redo log file.
–if a standby redo log group is not available
–if the redo was sent to resolve a redo gap.
• When this occurs, redo is written to the location specified by the LOCATION attribute
of one LOG_ARCHIVE_DEST_n parameter and then applied from the archive redo
logs.
14. CSC Proprietary and Confidential 14December 4, 2016
Dataguard Different Platforms
• In general the platform and database software & patch level for both and the primary and standby
locations should be identical
• Oracle does support Heterogeneous platform Dataguard platform configurations Documented in
Oracle Support note:
Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard
Configuration (Doc ID 413484.1)
• Common heterogeneous platforms for Dataguard
– HP-UX (64-bit) Big
– AIX-Based Systems (64-bit) Big
– Microsoft Windows x86 64-bit Little
– Linux x86 64-bit Little
15. CSC Proprietary and Confidential 15December 4, 2016
Cascading Standby
• A cascaded standby database receives primary database redo indirectly from a standby database
rather than directly from a primary database.
• Only physical standby databases can cascade redo!
Redo Redo
16. CSC Proprietary and Confidential 16December 4, 2016
Switchover
• Allows the primary database to switch roles with one of its standby databases.
– There is no data loss during a switchover.
– After a switchover, each database continues to participate in the Oracle Data Guard configuration with its
new role.
• Use case to reduce primary database downtime during planned outages, such as OS or HW
upgrades, or rolling upgrades of the Oracle database software and patch sets
• A switchover takes place in two phases.
– In the first phase, the existing primary database undergoes a transition to a standby role.
– In the second phase, a standby database undergoes a transition to the primary role.
17. CSC Proprietary and Confidential 17December 4, 2016
Switchover Steps
• Step 1 Verify that the target standby database is ready for switchover, issue on primary database
Boston.
SQL> ALTER DATABASE SWITCHOVER TO CHICAGO VERIFY;
• Step 2 Initiate the switchover on the primary database Boston.
SQL> ALTER DATABASE SWITCHOVER TO CHICAGO;
• Step 3 Open the new primary database Chicago.
SQL> ALTER DATABASE OPEN;
• Step 4 Mount the new physical standby database Boston.
SQL> STARTUP MOUNT;
• Step 5 Start Redo Apply on the new physical standby database Boston.
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
18. CSC Proprietary and Confidential 18December 4, 2016
Failover
• Changes a standby database to a primary role in response to a primary database
failure.
• If the primary database was not operating in either maximum protection mode or
maximum availability mode before the failure, some data loss may occur.
19. CSC Proprietary and Confidential 19December 4, 2016
Failover Steps
• Step 1 Flush any unsent redo from the primary database to the target Standby database.
SQL> ALTER SYSTEM FLUSH REDO TO DB_UNIQUE_NAME;
• Step 2 Verify that the standby database has the most recently archived redo log file for each primary
database redo thread.
SQL> SELECT UNIQUE THREAD# AS THREAD, MAX(SEQUENCE#) - > OVER (PARTITION BY thread#) AS LAST from
V$ARCHIVED_LOG;
• Step 3 Identify and resolve any archived redo log gaps. Repeat until all gaps resolved.
SQL> SELECT THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# FROM V$ARCHIVE_GAP;
• Step 4 Stop Redo Apply on Standby.
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
• Step 5 Failover physical standby database to the Primary role.
SQL> ALTER DATABASE FAILOVER TO DB_UNIQUE_NAME;
• Step 6 If an error occurs, try to resolve the cause of the error and then reissue the statement.
20. CSC Proprietary and Confidential 20December 4, 2016
Failover Steps(Continued)
• Step 7 Backup the new primary database
• Step 8 Restart Redo Apply, if necessary on any additional Standbys.
• Step 9 Optional – Rebuild Standby and perform switchover if both Primary and Standby are in
sync.
• Optional can also activate Standby into Primary(Data-loss could occur)
SQL> ALTER DATABASE ACTIVATE PHYSICAL STANDBY DATABASE;
21. CSC Proprietary and Confidential 21December 4, 2016
Dataguard Broker
• The Broker is a management framework for Dataguard
• Create and enable Oracle Data Guard configurations
• Manage an entire Oracle Data Guard configuration from any target in the configuration
• Monitor Oracle Data Guard configurations that contain Oracle RAC primary or standby databases
• Simple switchovers and failovers
– Single key click in Oracle Enterprise Manager Cloud Control
– Single command in the DGMGRL command-line interface.
• Enable Oracle Data Guard fast-start failover to fail over automatically when the primary database
becomes unavailable.
22. CSC Proprietary and Confidential 22December 4, 2016
Dataguard Broker Create Configuration - Primary
• Step 1 Invoke DGMGRL from Database Oracle home
DGMGRL>
• Step 2 Connect to the primary and clear any remote redo transport destinations on the primary
database that do not have the NOREGISTER attribute
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_n=" " SQL*Plus command.
NOTE: If this is not done then you will encounter the error ORA-16698: LOG_ARCHIVE_DEST_n parameter set for object to be added
• Step 3 Create the broker configuration from the primary.
DGMGRL> CREATE CONFIGURATION 'DRSolution' AS PRIMARY DATABASE IS 'DALLAS' CONNECT IDENTIFIER IS
Dallas.oracle.com;
• Step 4 Show the current configuration.
DGMGRL> SHOW CONFIGURATION;
Configuration - DRSolution
Protection Mode: MaxPerformance
Databases: DALLAS - Primary database
Fast-Start Failover: DISABLED
Configuration Status: DISABLED
23. CSC Proprietary and Confidential 23December 4, 2016
Dataguard Broker Add Standby to Configuration
• Step 5 Invoke DGMGRL from Database Oracle home
– To add a standby database to the DRSolution configuration, use the ADD DATABASE command.
– The following command defines New York as a standby database, which is the standby database associated
with the primary database called Dallas:
DGMGRL> ADD DATABASE 'NEWYORK' AS CONNECT IDENTIFIER IS NewYork.oracle.com;
• Step 6 Verify the Primary and Standby database configuration
DGMGRL> SHOW CONFIGURATION;
Configuration - DRSolution
Protection Mode: MaxPerformance
Databases:
DALLAS - Primary database
NEWYORK - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status: DISABLED
DGMGRL>
24. CSC Proprietary and Confidential 24December 4, 2016
Dataguard Broker Setting Properties
• After you create the configuration with DGMGRL, you can set database properties at any time.
DGMGRL> EDIT DATABASE 'DALLAS' SET PROPERTY 'LogArchiveFormat'='log_%t_%s_%r_%d.arc';
Property "LogArchiveFormat" updated.
DGMGRL> EDIT DATABASE 'Dallas' SET PROPERTY 'StandbyArchiveLocation'='USE_DB_RECOVERY_FILE_DEST';
Property "StandbyArchiveLocation" updated.
25. CSC Proprietary and Confidential 25December 4, 2016
Broker Validate,Switchover/Failover
• VALIDATE DATABASE
– Performs a comprehensive set of database checks prior to a role change.
– The checks use information available in various Oracle Data Guard views as well
DGMGRL> SWITCHOVER TO 'NEWYORK';
Performing switchover NOW, please wait...
Operation requires a connection to instance ”NEWYORK" on database ”NEWYORK"
Connecting to instance ”NEWYORK"...
Connected as SYSDBA.
New primary database ”NEWYORK" is opening...
Operation requires startup of instance ”DALLAS" on database ”DALLAS"
Starting instance ”DALLAS"...
ORACLE instance started.
Database mounted.
Switchover succeeded, new primary is ”NEWYORK"
DGMGRL> FAILOVER TO 'NEWYORK';
Performing failover NOW, please wait...
Failover succeeded, new primary is ”NEWYORK"
26. CSC Proprietary and Confidential 26December 4, 2016
Dataguard Broker Cloud Control
• OEM Cloud Control provides a wizard that automates the complex tasks involved in
creating a broker configuration, including:
–Add Standby Database wizard to guide you through the process
–Adding an existing standby database, or a new standby database.
–Configuring the standby control file, server parameter file, and datafiles
–Creating standby redo log files
27. CSC Proprietary and Confidential 27December 4, 2016
Dataguard Standby-First Patch Apply
• Purpose for applying and validating Oracle patches and patch bundles on standby database before
applying to the primary.
• Use Case example –
– Apply a database home patch first to a physical standby database.
• The standby is used to run read-only workload, or read-write workload if it is a snapshot standby, for testing and evaluation of
the patch.
• After passing evaluation, the patch is then installed on the primary system with greater assurance of the effectiveness and
stability of the database home patch.
28. CSC Proprietary and Confidential 28December 4, 2016
Dataguard Standby-First Patch Apply
• The following types of patches are candidates to be Data Guard Standby-First certified should be
11.2.0.1 or later:
– Database home interim patches(One-off patch)
– Exadata bundle patches (for example, monthly and quarterly database patches for Exadata)
– Database patch set updates (PSU)
– Will be documented in the README for the patch set
• Oracle patch sets and major release upgrades do not qualify for Data Guard Standby-First Patch
Apply.
• For example, upgrades from 11.2.0.2 to 11.2.0.3 or 11.2 to 12.1 do not qualify.
29. CSC Proprietary and Confidential 29December 4, 2016
Upgrading Primary with Physical Standby Database in Place
• Install the new release of the 12c Oracle Database binaries into a new Oracle home on the physical
standby database and primary database systems.
• Shut down the primary and physical standby database(s).
• Stop all listeners, agents, and other processes running in the Oracle home that are to be upgraded.
• In the new Oracle home, restart all listeners, agents, and other processes that were stopped.
• Mount and start redo apply on the physical standby database(s) on the new Oracle home (upgraded
version).
• Upgrade the primary database.
• Note that the physical standby database(s) will be upgraded when the redo generated by the primary
database as it is upgraded is applied.
30. CSC Proprietary and Confidential 30December 4, 2016
Active Dataguard
• If a license for Active Data Guard option has been purchased, Redo Apply can be active while the
physical standby database is open.
• Reporting can be done on the Standby database. This capability is known as the real-time query
feature.
• The COMPATIBLE database initialization parameter must be set to 11.0 or higher to use the real-time
query feature of the Oracle Active Data Guard option.
31. CSC Proprietary and Confidential 31December 4, 2016
Active Dataguard
• Enable Active Dataguard mode/Real-time Query on Standby
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
SQL> ALTER DATABASE OPEN; -- Put in Read Only mode
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT; -- Enable Recovery
SQL> SELECT open_mode FROM V$DATABASE;
OPEN_MODE
--------------------
READ ONLY WITH APPLY
32. CSC Proprietary and Confidential 32December 4, 2016
Snapshot Standby
• A snapshot standby database is a fully updatable standby database.
• A snapshot standby database receives and archives redo, but does not apply redo data from a
primary database.
• Redo data received from the primary database is applied when a snapshot standby database is
converted back into a physical standby database, after discarding all local updates to the snapshot
standby database.
• Guaranteed Restore Points(GRP) are used to flashback the Snapshot Standby.
• Ideal for testing for Development, Test, QA systems.
34. CSC Proprietary and Confidential 34December 4, 2016
Dataguard in the Oracle Cloud
35. CSC Proprietary and Confidential 35December 4, 2016
Prerequisites for Hybrid Dataguard in the Oracle
Cloud
36. CSC Proprietary and Confidential 36December 4, 2016
New in 12.2 In-Memory runs on Active Dataguard Standby
37. CSC Proprietary and Confidential 37December 4, 2016
RAC and Dataguard
• An Oracle Data Guard configuration can consist of any combination of single-instance and RAC
databases.
39. CSC Proprietary and Confidential 39December 4, 2016
Dataguard Configuration Considerations for RAC
• On a Standby RAC database ensure that both the Standby redo logs and Standby redo log archival
are both sent to a shared location such as ASM or a clustered filesystem.
• On a Primary RAC database Use the same LOG_ARCHIVE_DEST_n parameter on each instance to
send the redo to the Standby database.
• The thread parameters %t or %T(instance thread numbers) are mandatory for Oracle RAC to uniquely
identify the archived redo log files with the LOG_ARCHIVE_FORMAT parameter.
LOG_ARCHIVE_FORMAT = log%d_%t_%s_%r.arc
41. CSC Proprietary and Confidential 41December 4, 2016
Creating a Physical Standby Database - Prepare Primary
• Place the primary database in FORCE LOGGING mode. You can do this after database creation
using the following SQL statement:
SQL> ALTER DATABASE FORCE LOGGING;
• Ensure Archive logging is on.
• Copy the password file from the primary to standby database(s) – also rename with standby name.
• Add Standby Redo Logs (SRLs) on primary, needed for conversion to standby role.
• Add same size SRLs and one additional group per Oracle recommendation.
SQL> ALTER DATABASE ADD STANDBY LOGFILE ('/oracle/dbs/slog1.rdo') SIZE 500M;
45. CSC Proprietary and Confidential 45December 4, 2016
Creating a Physical Standby Database – Broker parameter
To enable broker automatic restart instances during the course of the switchover, a static service is
required. This can be supplied by explicitly setting the Broker Instance Property StaticConnectIdentifier.
DGMGRL> edit database chicago set property staticConnectidentifier='chicago';
DGMGRL> edit database boston set property staticConnectidentifier='boston';
If above property is not set, then make change in listener.ora
"<db_unique_name>_DGMGRL.<db_domain>" is statically registered with the listener of each instance.
46. CSC Proprietary and Confidential 46December 4, 2016
Creating a Physical Standby Database - Prepare Primary
• Set the Primary Database Initialization Parameters.
DB_NAME=chicago
DB_UNIQUE_NAME=chicago
LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,boston)'
CONTROL_FILES='/arch1/chicago/control1.ctl', '/arch2/chicago/control2.ctl’
LOG_ARCHIVE_DEST_1= 'LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=chicago'
LOG_ARCHIVE_DEST_2= 'SERVICE=boston ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=boston'
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
• Standby Role Initialization Parameters
FAL_SERVER=boston
DB_FILE_NAME_CONVERT='/boston/','/chicago/'
LOG_FILE_NAME_CONVERT='/boston/','/chicago/'
STANDBY_FILE_MANAGEMENT=AUTO
47. CSC Proprietary and Confidential 47December 4, 2016
Creating a Physical Standby Database – Prepare Standby
• Create/Update the pfile for the Standby Database.
SQL> CREATE PFILE='/tmp/initboston.ora' FROM SPFILE;
DB_NAME=chicago
DB_UNIQUE_NAME=boston
LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,boston)'
CONTROL_FILES='/arch1/boston/control1.ctl', '/arch2/boston/control2.ctl'
LOG_ARCHIVE_FORMAT=log%t_%s_%r.arc
LOG_ARCHIVE_DEST_1= 'LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=boston'
LOG_ARCHIVE_DEST_2= 'SERVICE=chicago ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=chicago' REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
STANDBY_FILE_MANAGEMENT=AUTO
FAL_SERVER=chicago
db_create_file_dest=/boston
db_create_online_log_dest_1=/boston
48. CSC Proprietary and Confidential 48December 4, 2016
Creating a Physical Standby Database – RMAN Duplicate
• Use RMAN Duplicate to create the Standby database from:
–Source RMAN Backup from Primary Database
–From online “Active database”
49. CSC Proprietary and Confidential 49December 4, 2016
Creating a Physical Standby Database – Backup Primary
Run backup of RMAN of the whole Primary Database and Archive redo logs:
run {
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK ;
ALLOCATE CHANNEL disk2 DEVICE TYPE DISK ;
ALLOCATE CHANNEL disk3 DEVICE TYPE DISK ;
ALLOCATE CHANNEL disk4 DEVICE TYPE DISK ;
SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT'; # switches logs and archives all logs
ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/backup/standby_controlfile.ctl';
BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 0 DATABASE filesperset 3 FORMAT '/backup/%d-%t-%s_FULL';
BACKUP AS COMPRESSED BACKUPSET archivelog all delete input filesperset 5 FORMAT ‘/backup/%d-%t-%s_ARCH';
}
50. CSC Proprietary and Confidential 50December 4, 2016
Create Physical Standby Database RMAN Duplicate from Backup
• Startup the standby database instance in nomount mode.
• Issue duplicate command, no connection to target needed.
$ nohup rman auxiliary / cmdfile=dup.rcv log=stdby_dup.log &
run {
ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK ;
ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK ;
ALLOCATE AUXILIARY CHANNEL aux3 DEVICE TYPE DISK ;
ALLOCATE AUXILIARY CHANNEL aux4 DEVICE TYPE DISK ;
duplicate target database for standby backup location='/backup';
}
• Standby controlfile will be restored automatically from the backup of it taken.
• All Datafiles will be restored for Standby database
• Standby database will be mounted
51. CSC Proprietary and Confidential 51December 4, 2016
Create Physical Standby Database RMAN Duplicate from Active DB
• Duplicate from active database changes in 12c
• USING BACKUPSET
• USING COMPRESSED BACKUPSET
• SECTION SIZE clause
• Example duplicate from active database
RMAN> run {
allocate channel c1 device type disk;
allocate auxiliary channel a1 device type disk;
allocate auxiliary channel a2 device type disk;
duplicate database for standby from active database using backupset nofilenamecheck;
}
52. CSC Proprietary and Confidential 52December 4, 2016
Standby Database Setup Tips
• Ensure that you understand the expected transfer rate for the redo to the standby.
–Check the AWR Report under load profile “Redo Size” check the column “Per Second”
–How To Calculate The Required Network Bandwidth Transfer Of Redo In Data Guard Environments
(Doc ID 736755.1)
• The value of the LOG_ARCHIVE_MAX_PROCESSES initialization parameter must be at least one
greater than the total number of all remote destinations.
• The COMPRESSION attribute is used to specify that redo data is sent in compressed form.
• Set archive_lag_target to at least 30 minutes for critical SLAs.
• You can enable block change tracking on a physical standby database (Active DG license required)
53. CSC Proprietary and Confidential 53December 4, 2016
Standby Delay
• Enable delay on Standby database from Primary
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_2='SERVICE=stdby_srvc DELAY=60';
• Enable delay on Standby database
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DELAY 60;
• Return to NoDelay
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY;
54. CSC Proprietary and Confidential 54December 4, 2016
Standby Database way out of Sync!
Problem
• Standby database has a huge gap it is hours or days behind and you don’t have all archive redo logs to
apply to the standby database.
Solution
• Get the current SCN of the Standby database.
• Run RMAN BACKUP INCREMENTAL FROM (Current SCN from Standby) on the Primary database.
• Recover Standby from incremental backup from Primary.
55. CSC Proprietary and Confidential 55December 4, 2016
Check Archive Log Gaps
V$ARCHIVED_LOG
• APPLIED Column Indicates whether an archived redo log file has been applied to the corresponding
physical standby database.
V$ARCHIVE_GAP
SQL> select * from v$archive_gap;
THREAD# LOW_SEQUENCE# HIGH_SEQUENCE# CON_ID
---------- ------------- -------------- ----------
1 146 149 1
• We can check the GAP status from the Dataguard Broker.
DGMGRL> show configuration
58. CSC Proprietary and Confidential 58December 4, 2016
12c Move Datafiles
• You can move the location of an online data file from one physical file to another physical file while the
database is actively accessing the file.
• In releases prior to Oracle Database 12c Release 1 (12.1), you could only move the location of an online
data file if the database was down or not open, or by first taking the file offline.
• You can perform an online move data file operation independently on the primary and on the standby
• The standby is not affected when a data file is moved on the primary, and vice versa.
• On a primary database, the online move data file operation cannot be executed on a file that belongs to a
pluggable database (PDB) that has been closed on all instances of the primary database.
SQL> ALTER DATABASE MOVE DATAFILE;
59. CSC Proprietary and Confidential 59December 4, 2016
12c Far Sync
• Far sync instance is a remote Data Guard destination that accepts redo from the primary then ships that
redo to other members of the Oracle Data Guard configuration.
• Provides the ability to failover to a terminal destination with zero data loss
• Offload the primary database of other types of overhead (for example, redo transport)
• Composed of SPFILE, Password file, Control file, SRL, Archive Redo logs
–No Datafiles
–Database not open
–Need enough storage for largest archive log Gap expected
61. CSC Proprietary and Confidential 61December 4, 2016
12c Real-time Cascade
• Primary database redo can now be cascaded in real time as it is being written to the SRL at a physical
standby or a far sync instance.
• This feature is known as real-time cascading and it requires a license for the Oracle Active Data Guard
option.
• Real-time cascading is supported on all destinations up to 30(far sync or standby)
62. CSC Proprietary and Confidential 62December 4, 2016
12c Fast Sync
• Maximum Availability mode now allows the LOG_ARCHIVE_DEST_n attributes SYNC and NOAFFIRM to
be used together.
• SYNC/AFFIRM - Primary waits for acknowledgment that the redo has been transmitted synchronously to
the physical standby and written to disk.
• SYNC/AFFIRM transport provides a protection benefit at the expense of a performance impact caused by
time required to complete the I/O to the standby redo log.
• Fast Sync or SYNC/NOAFFIRM, the primary performs write operations and waits only for
acknowledgement that the data has been received on the standby, not that it has been written to disk.
• The SYNC/NOAFFIRM transport can provide a performance benefit at the expense of potential exposure
to data loss
63. CSC Proprietary and Confidential 63December 4, 2016
Fast Sync VS Sync/Afrrim
64. CSC Proprietary and Confidential 64December 4, 2016
SYSDG Role
• For better separation of duty, Oracle Database now provides an Oracle Data Guard-specific
administration privilege, SYSDG.
• Can administer duties for Oracle Data Guard.
• The SYSDBA privilege continues to work as in previous releases.