Contenu connexe Similaire à Twee remedies tegen systeemuitval en datacorruptie Similaire à Twee remedies tegen systeemuitval en datacorruptie (20) Twee remedies tegen systeemuitval en datacorruptie1. Twee remedies tegen systeemuitval en
datacorruptie [RAC en Data Guard]
SPREKER : Jos van den Oord
E-MAIL : Jos.van.den.Oord@transfer-solutions.com
DATUM : 14 oktober 2010
WWW.TRANSFER-SOLUTIONS.COM
2. Inleiding: Twee remedies tegen
systeemuitval en datacorruptie
Data Guard (DG)
DG Structuur
DG Proces Architectuur
DG Concept
Real Application Clusters (RAC)
RAC Structuur
RAC Proces Architectuur
RAC Concept
RAC en Data Guard Complementaire
HA/DR overzicht
© COPYRIGHT TRANSFER SOLUTIONS B.V. 2
3. Data Guard Users
Central Console
Management
Network
Primary Site Standby Site
Database
servers
Data Guard
Primary Database Physical or Logical Standby
Database
Switch
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 4
4. Data Guard Users
Database Disks (san nas)
Central Console
Management
Network
Primary Site Standby Site
Database
servers
Data Guard
Primary Database Physical or Logical Standby
Database
Switch
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 5
5. Data Guard Users
HBA’s
Central Console
Management
Network
Primary Site Standby Site
Database
servers
Data Guard
Primary Database Physical or Logical Standby
Database
Switch
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 6
6. Data Guard Users
Nodes
Central Console
Management
Network
Primary Site Standby Site
Database
servers
Data Guard
Primary Database Physical or Logical Standby
Database
Switch
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 7
7. Data Guard Users
Redo Log Apply
Central Console
Management
Network
Primary Site Standby Site
Database
servers
Data Guard
Primary Database Physical or Logical Standby
Database
Switch
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 8
8. Data Guard Users
Monitor en Management
Central Console
Management
Network
Primary Site Standby Site
Database
servers
Data Guard
Primary Database Physical or Logical Standby
Database
Switch
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 9
9. Data Guard Users
Load Balance TAF - Database role
Central Console
Management
Network
Primary Site Standby Site
Database
servers
Data Guard
Primary Database Physical or Logical Standby
Database
Switch
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 10
10. Data Guard Proces Architectuur (Active)
Oracle Net Standby
Transactions
Database
Redo
Buffer SYNC MRP
LNS RFS LSP
SGA
ASYNC
LGWR Standby
Primary Online Redo
Redo Logs
Database Logs
Queries
ping ARCH Reports
ARCH RFS Testing
Archive logs voor
oplossen log file gap
Backups
Archived
Redo Logs
© COPYRIGHT TRANSFER SOLUTIONS B.V. 11
11. Data Guard Concept
Redo transport – Protection mode Data Guard
Redo Bij geen bevestiging van de
Mode Risk of data loss Transport standby:
Maximum Potential for Primaire DB wacht nooit op een
Performance
ASYNC bevestiging van de standby.
Minimal Data Loss
Zero Data Loss Primaire DB wacht op bevestiging
Maximum
Availability Single Failure SYNC van de standby DB of op een
Protection gedefineerde netwerk timeout
Zero Data Loss
Maximum Primaire DB wacht op bevestiging
Protection Double Failure SYNC van de standby DB.
Protection
© COPYRIGHT TRANSFER SOLUTIONS B.V. 12
12. Data Guard Concept
Physical standby
Logical Standby
Active Data Guard (Read Farm)
Data Guard Snapshot Standby
Rolling Database Upgrades
Switchover en Failover
© COPYRIGHT TRANSFER SOLUTIONS B.V. 13
13. Real Application Cluster Users
Central Console
Management Network
High Speed Switch
Interconnect
or Interconnect
Cluster Database
servers Shared cache
Switch
Storage area network
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 15
14. Real Application Cluster Users
Shared disks (san, nas)
Central Console
Management Network
High Speed Switch
Interconnect
of Interconnect
Cluster Database
servers Shared cache
Switch
Storage area network
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 16
15. Real Application Cluster Users
HBA’s
Central Console
Management Network
High Speed Switch
Interconnect
of Interconnect
Cluster Database
servers Shared cache
Switch
Storage area network
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 17
16. Real Application Cluster Users
Nodes
Central Console
Management Network
High Speed Switch
Interconnect
of Interconnect
Cluster Database
servers Shared cache
Hub or Switch
Storage area network
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 18
17. Real Application Cluster Users
Shared Cache
Central Console
Management Network
High Speed Switch
Interconnect
of Interconnect
Cluster Database
servers Shared cache
Hub or Switch
Storage area network
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 19
18. Real Application Cluster Users
High Speed Switch
Central Console
Management Network
High Speed Switch
Interconnect
of Interconnect
Cluster Database
servers Shared cache
Hub or Switch
Storage area network
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 20
19. Real Application Cluster Users
Monitor en Management
Central Console
Management Network
High Speed Switch
Interconnect
of Interconnect
Cluster Database
servers Shared cache
Switch
Storage area network
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 21
20. Real Application Cluster Users
Load balance TAF
Central Console
Management Network
High Speed Switch
Interconnect
of Interconnect
Cluster Database
servers Shared cache
Hub or Switch
Storage area network
Mirrored
Disks
© COPYRIGHT TRANSFER SOLUTIONS B.V. 22
21. RAC 11gR2 Proces Architectuur
Cluster
VIP VIP’s
Node 1 Node n
SCAN listener SCAN listener
Listener Listener
Instance 1 Instance n
ASM 1 ASM n
Oracle Clusterware Oracle Clusterware
interconnect
Operating System Operating System
Managed by ASM
• Redo / Archive log All Instances
• Database / control files
• OCR / Voting disks
• ACFS
© COPYRIGHT TRANSFER SOLUTIONS B.V. 23
22. RAC 11gR2 Concept Schaalbaarheid
Cluster
Node 1 Node n
SGA SGA
Cache Fusion
BGP BGP BGP BGP
Managed by ASM
• Redo / Archive log All Instances
• Database / control files
• OCR / Voting disks
• ACFS
© COPYRIGHT TRANSFER SOLUTIONS B.V. 24
23. RAC 11g Concept
Schaalbaarheid Nodes
Load balancing
Database Consolidatie
© COPYRIGHT TRANSFER SOLUTIONS B.V. 25
24. RAC en Data Guard Complementaire
Oorzaak
Resource Protection
Component
Nodes fout RAC
Instance Software RAC
fout
Data Menselijke Data Guard
fout
Site Omgevings Data Guard
fouten
© COPYRIGHT TRANSFER SOLUTIONS B.V. 26
25. HA/DR overzicht
Technologie HA/Standby Toepassing Installatie en Nodes DR
Beheer Activiteit
Complexiteit
Data Guard • Site failover 1 1 3
Physical • Alleen lees acties en rapporten
Standby • QA testing
• Backups
• Data corruptie
Data Guard • Lees-schrijf acties voor rapporterende 2 2 2
Logical applicatie
Standby • Replicatie naast een bestaande schema
In een database.
• Data corruptie
Real • Load- Balancing Nodes 3 3 -
Application • Schaalbaarheid Nodes
Cluster • Node failover
© COPYRIGHT TRANSFER SOLUTIONS B.V. 27
26. Vragen
Antwoorden
CONSULTING | MANAGED SERVICES | EDUCATION
WWW.TRANSFER-SOLUTIONS.COM
© COPYRIGHT TRANSFER SOLUTIONS B.V. 28