Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Presentation automating failover with data guard in the cloud
1.
2. The following is intended to outline our general
product direction. It is intended for information
purposes only, and may not be incorporated into any
contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decisions.
The development, release, and timing of any
features or functionality described for Oracle’s
products remains at the sole discretion of Oracle.
3. <Insert Picture Here>
Automating Failover with Data Guard in the Cloud
Larry M. Carpenter
Distinguished Product Manager, Oracle USA
6. So what is Data Guard in the Cloud?
A Primary and a Standby on Cloud Systems.
Local HA
Primary Standby
7. Maybe with better protection?
A Primary and a Standby on Two Clouds.
Two distinct regions to be exact
Provides Disaster Recovery Protection
Primary Standby
8. My Place or Yours?
A Primary in your Data Center
A Standby in the Cloud
StandbyPrimary
9. Hey Larry! Wasn’t this talk about Automating
Failover with Data Guard in the Cloud?
Well, yes.
But I had to tell you what Data Guard and the Cloud is first.
And besides, Fast-Start Failover is the easy part!
Which brings us to Fast-Start Failover.
Automatic failover to a standby when the primary goes away.
Requires the Data Guard Broker.
Requires a 3rd party called the Observer
Can be Maximum Availability only in10g
Maximum Performance added in 11g
A much better solution than a cold failover cluster
All resources are usable.
You know it is working at all times.
10. Automatic failover
Database down
Designated health-check
conditions
Or at request of an application
Failed primary automatically
reinstated as standby
database
All other standby’s
automatically synchronize
with the new primary
Data Guard Fast-Start Failover
Standby
Database
Primary
Database
Observer
Primary
Database
Primary
Database
Standby
Database
11. Fast-Start Failover – part 2
High Availability
Immediate automatic failover for user-configurable
health conditions
Condition examples:
Datafile Offline
Corrupted Controlfile
Corrupted Dictionary
Inaccessible Logfile
Stuck Archiver
Any explicit ORA-xyz error
Apps can request fast-start failover using API
ENABLE FAST_START FAILOVER [CONDITION <value>];
DBMS_DG.INITIATE_FS_FAILOVER
12. Startup trigger
is used to
relocate
primary
database
services
2
Standby
Database
Application Failover
Primary Site and Application Tier is Still Viable
Data Guard
Redo Transport
Database Tier- Oracle
Real Application Clusters
Application Tier - Oracle
Application Server Clusters
Database
Services
Primary
Database
Primary Site Standby Site
MAA Best Practices for Client Failover in a Data Guard Configuration
Demonstrations – Automatic Database, Application & Complete Site Failover
Standby
becomes
primary
database
Data Guard
Manual or
Automatic Failover
1
FAN breaks clients out
of TCP timeout,
applications quickly
reconnect to new
primary
3
13. Firewall
WAN traffic
manager
Primary Site
Automatic DNS
failover routes
users to new
primary site
3
WAN traffic
manager
Complete Site Failure
Chapter 4.2.1 of HA Best Practices – complete site failover
Demonstrations – Automating Site Failover, E-Biz Suite and Siebel Apps
Primary Site Standby Site
Data Guard
Redo Transport
Database Tier- Oracle
Real Application Clusters
Firewall
Firewall
Data Guard
Automatic Failover
Standby
becomes
primary
1
Start
mid-tier
2
Firewall
Application Tier - Oracle
Application Server Clusters
14. HA With Data Guard in the Cloud
A Primary and Standby on Cloud Systems.
With Fast-Start Failover
Primary Standby
15. HA and DR – Who could ask for more?
A Primary and 2 Standbys on Cloud Systems.
Local HA
And remote DR
Standby
Primary Standby
16. I don’t have a 3rd system for the Observer!
Then put the Observer in the Cloud.
Remember, the Observer does not require a separate license
nor an instance. Just the client kit.
And it can run on any platform – So this works with any Data
Guard setup
Primary Standby
17. Things to think about.
If everything is in the Cloud
By default the systems inside the Cloud can talk to each other
so Data Guard won’t have a problem.
Make sure your Security Group allows it.
But you will have to make sure you clients can attach
Which usually means opening some ports.
And Client Failover may be a bit more complicated
If some of it is in the Cloud
You will need to open ports for Data Guard to attach back and
forth as well.
21. The preceding is intended to outline our general
product direction. It is intended for information
purposes only, and may not be incorporated into any
contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decisions.
The development, release, and timing of any
features or functionality described for Oracle’s
products remains at the sole discretion of Oracle.