high availability group 08: võ Đức vĩnh50703006 nguyễn quang vũ50703033
TRANSCRIPT
![Page 1: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/1.jpg)
High AvailabilityGroup 08:Group 08:Võ Đức VĩnhVõ Đức Vĩnh 5070300650703006Nguyễn Quang VũNguyễn Quang Vũ 5070303350703033
![Page 2: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/2.jpg)
Contents
Overview of High Availability1
Oracle High Availability Solutions2
High Availability Architectures3
Summarize, References, Q&A4
Đức Vĩnh
Quang Vũ
![Page 3: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/3.jpg)
High Availability (cont)High Availability (cont)
Timely and detection
Reliability
Recoverability
Continuous operations
![Page 4: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/4.jpg)
System changes
Data changes.
Computer failure
Storage failure
Human error
Site failure
Planned Downtime Unplanned Downtime
Causes of DowntimeCauses of DowntimeCauses of DowntimeCauses of Downtime
Data corruption
![Page 5: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/5.jpg)
Oracle Database HA SolutionsOracle Database HA Solutions
Oracle Oracle Database Database
HA HA SolutionsSolutions
1 Oracle HA Features.Oracle HA Features.Oracle HA Features.Oracle HA Features.
2 Oracle HA Solutions for Planned DowntimeOracle HA Solutions for Planned Downtime
Oracle HA Solutions for Unplanned Downtime3
4 High Availability and Grid Computing.High Availability and Grid Computing.
5 High Availability Management.High Availability Management.
![Page 6: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/6.jpg)
Oracle HA Features
Oracle Real Application Clusters.Oracle Data Guard.Oracle Stream.Oracle Flashback Technology.Automatic Storage Management.Recovery Manager.Flash Recovery Area.Oracle Security Features.Fast-Start Fault Recovery.LogMiner.Hardware Assisted Resilient Data (HARD) Initiative.
![Page 7: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/7.jpg)
Oracle Flashback Technology
Includes 4 features:Oracle Flashback Query.Oracle Flashback Versions Query.Oracle Flashback Transaction Query.Oracle Flashback Table.Oracle Flashback Drop.Oracle Flashback Database.Oracle Flashback Restore Points.
![Page 8: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/8.jpg)
Automatic Storage Management
Provides file system and volume manager directly in the Oracle Kernel.
There are many advantages: mirror across drives and storage array, auto re-mirror...
![Page 9: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/9.jpg)
Recovery Manager
To manage the backup, recovery of database.
It has also many benefits.
![Page 10: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/10.jpg)
Flash Recovery Area
Provides:
1.Unified storage location of related recovery files.
2.Management of the disk space allocated.
3.Fast, reliable disk-based backup and restoration.
![Page 11: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/11.jpg)
Oracle Security Features
Authentication control.Access control.Auditing control.Security policy management using profiles.Encryption, transferred data.
![Page 12: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/12.jpg)
Fast-Start Fault Recovery
Predictable, bounded recovery from computer failures.
Database checkpointing to maintain desired recovery time objective.
![Page 13: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/13.jpg)
LogMiner
LogMiner is a tool related to SQL query, can used to:
1. Track or audit changes to data.
2. Provide supplemental information for turning and capacity planning.
3. Retrieve critical information for debugging complex applications.
4. Recover deleted data.
![Page 14: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/14.jpg)
LogMiner (cont)
Includes:
1. Pinpoint.
2. Determine the necessary actions.
3. Performance turning and capacity planning.
4. Perform post-auditing.
![Page 15: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/15.jpg)
Hardware Assisted Resilient Data Initiative
![Page 16: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/16.jpg)
HA Solution for Unplanned Downtime
![Page 17: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/17.jpg)
HA Solution for Unplanned Downtime
![Page 18: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/18.jpg)
HA Solution for Unplanned Downtime
![Page 19: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/19.jpg)
HA Solution for Unplanned Downtime
![Page 20: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/20.jpg)
HA Solution for Planned Downtime
System changes:
- Dynamic Resource Provisioning.- Rolling Upgrades.
Data changes:- Online Reorganization and Redefinition.
![Page 21: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/21.jpg)
HA and Grid Computing
![Page 22: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/22.jpg)
High Availability Management
Oracle Enterprise Manager Grid Control (OEMGC) is a HTML-based user interface supporting the administrator.
Includes:-Oracle Management Service (OMS).-Oracle Management Agents.-Oracle Management Repository.
![Page 23: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/23.jpg)
High Availability Management
Some advantages of OEMGC:- Monitor components and be alerted.- View overall system status. - View alerts aggregated across all instances.- Set thresholds for alert generation.-Monitor performance metric.-Perform database cluster-wide operations.-Viewing hardware and operating system information.- Interconnect monitor
![Page 24: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/24.jpg)
www.themegallery.com
Oracle Database HA Architectures
HA Architectures
Choosing the correct High Availability Architecture
![Page 25: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/25.jpg)
Oracle Database High Availability Architectures
Oracle Database 10gOracle Database 10g with RACOracle Database 10g with Data GuardOracle Database 10g with RAC and Data Guard
MAAOracle Database 10g with Streams
![Page 26: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/26.jpg)
Oracle Database 10g
Stand-alone database on single computerUsing non-architecture high availability features:
Oracle Flashback Technology Automatic Storage Management Fast-Start Fault Recovery Recovery Manager Flash Recovery Area Online Reorganization and Redefinition
![Page 27: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/27.jpg)
Oracle Database HA Architectures
Oracle Database 10gOracle Database 10g with RACOracle Database 10g with Data GuardOracle Database 10g with RAC and Data Guard
MAAOracle Database 10g with Streams
![Page 28: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/28.jpg)
Oracle Database 10g with RAC
Real Application ClusterMultiple Oracle instances running on multiple
computerCluster definitionOracle ClusterwareShared-everything database
![Page 29: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/29.jpg)
Oracle Database 10g with RAC
![Page 30: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/30.jpg)
Oracle Database 10g with RAC benefits
Fault tolerance: Fast node and instance failover Planned node, instance switchover and switchbackPatch upgrades and Oracle Clusterware upgradesInstance availability and scalability in multiple
nodesAllows database restart or relocated in case of
failures
![Page 31: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/31.jpg)
Oracle Database HA Architectures
Oracle Database 10gOracle Database 10g with RACOracle Database 10g with Data GuardOracle Database 10g with RAC and Data Guard
MAAOracle Database 10g with Streams
![Page 32: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/32.jpg)
Oracle Database 10g with Data Guard
Production (primary) databaseStandby database: a copy of production
database Physical standby database Logical standby database
Switch role of databases in case of failure
![Page 33: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/33.jpg)
Oracle Database 10g with Data Guard
ProductionDatabase
StandbyDatabase
WAN Traffic manager
Synchronization
Fix or maintenance
![Page 34: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/34.jpg)
Oracle Database 10g with Data Guard
DatafilesOracle redo logsPhysical standby database:directly applies redo
to its datafilesLogical standby database: convert DML and
DDL operations to SQL statements
![Page 35: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/35.jpg)
Oracle Database 10g with Data Guard
![Page 36: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/36.jpg)
Data Guard Benefits
Physical standby database User errors and logical corruption Disasters and site failures Fast failover and switchover Reporting and testing purposes Backup from standby database Read-only capability
Logical standby database: Read-only and read/write capability Enable upgrades
![Page 37: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/37.jpg)
Oracle Database HA Architectures
Oracle Database 10gOracle Database 10g with RACOracle Database 10g with Data GuardOracle Database 10g with RAC and Data Guard
MAAOracle Database 10g with Streams
![Page 38: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/38.jpg)
Oracle Database 10g with RAC and Data Guard (MAA)
Maximum Availability ArchitectureCombination of RAC and Data GuardHaving 2 identical sites:
Primary site contains the RAC primary database Secondary site contains the RAC primary
database
![Page 39: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/39.jpg)
Maximum Availability Architecture
![Page 40: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/40.jpg)
Oracle Database HA Architectures
Oracle Database 10gOracle Database 10g with RACOracle Database 10g with Data GuardOracle Database 10g with RAC and Data Guard
MAAOracle Database 10g with Streams
![Page 41: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/41.jpg)
Oracle Database 10g with Streams
Main usage: information sharing and distributionAlso provide highly available architectureBidirectional replication by messages:
LCR (Logical change record) User-defined messages
Messages are stored and processed in queue
![Page 42: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/42.jpg)
Oracle Database 10g with Streams
Manual configurations: Rules determining which message to capture Rules determining how messages are processed Routing of change records
Support heterogeneous platforms.
![Page 43: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/43.jpg)
Oracle Database 10g with Streams
![Page 44: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/44.jpg)
Choosing HA Architecture
Oracle Database 10g with RAC if: Maximum Recovery Time Objective (RTO) for
instance or node failure is in seconds or minutes Database scalability beyond one instance or
node is requiredOracle Database 10g with Data Guard if:
Maximum RTO for instance or node failure is in seconds to minutes or more
Maximum RTO for data corruption or site failure is less than 1 minute to five minutes
![Page 45: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/45.jpg)
MAA if: Projected planned maintenance is in hours or
less for each year Both RAC and Data Guard are required
Oracle Database 10g with Steams if Heterogeneous solution is required
Choosing HA Architecture
![Page 46: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/46.jpg)
Recovery Times for Unplanned Outages
![Page 47: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/47.jpg)
Recovery Times for Planned Outages
![Page 48: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/48.jpg)
References, Q&A
[1] Oracle Database High Availability Overview 10g release 2 (10.2) B14210-02.
[2] http://www.google.com
Key word: High Availability.[…].
![Page 49: High Availability Group 08: Võ Đức Vĩnh50703006 Nguyễn Quang Vũ50703033](https://reader038.vdocuments.mx/reader038/viewer/2022102818/56649cef5503460f949be83d/html5/thumbnails/49.jpg)