Professional Documents
Culture Documents
Oracle
How do I get the most out of my existing systems?
1. Getting it right with Storage Foundation Oracle HA & RAC Choosing the right levels of availability for Oracle Implementation Best Practices: Server, Network, Storage Roadmap 2. Featured Technology: Database Dynamic Storage Tiering 3. Customer Case Study: Amadeus 4. Q&A
3.
Oracle
SINGLE INSTANCE HA /CLUSTERING RAC ARCHITECTURES
Recommended Architectures 4.
:
SF HA for Oracle (single instance Oracle) SF CFS HA w/ (single instance Oracle) SF RAC (Oracle RAC)
Import disk group Mount file system Start database Resolve transactions (replay logs) Update IP Clients Reconnect
Import disk group Mount file system Start database Resolve transactions (replay logs) Update IP Clients Reconnect
Import disk group Mount file system Start database Resolve transactions (replay logs) Update IP Clients Reconnect
Resolving database transactions (replaying redo logs) to recover failed transactions during fail-over is a necessary step in any HA architecture. Log replay is likely to account for the bulk of recovery time.
5.
RTO Oracle
EXPENSE
ORACLE REAL APPLICATION CLUSTERS (RAC) AUTOMATED FAILOVER USING CLUSTERING MANUAL RECOVERY
5 MIN
25 MIN
35 MIN
Disclaimer Above times are illustrative rules of thumb; actual recovery time is dependent on many factors 6.
1. Getting it right with Storage Foundation Oracle HA & RAC Choosing the right levels of availability for Oracle Implementation Best Practices: Server, Network, Storage Roadmap 2. Featured Technology: Database Dynamic Storage Tiering 3. Customer Case Study: Amadeus 4. Q&A
7.
:
or ?
Decision Factors
Capacity Planning Load Testing Performance SLA Benchmarks Cost
Workload Patterns / Msg Overhead # of DB instances in cluster? Maintenance Points of server & storage admin
Best Practice: use identical node configuration Use identical CPU speeds and RAM Use identical number of NICs and HBAs
Predictable Capacity and HW Discovery
Use identical OS version and chip architecture Use identical time for server in the same site/cluster 8.
:
Low Latency Transport (LLT) or UDP (in 11g) Port aggregation handled by LMX/LLT For redundancy
Use multiple dedicated GigE links Set Auto Negotiate and Full Duplex == True Use multiple switches Use multiple Ethernet cards
Non-routable networks (10.x.x.x/ 176.x.x.x/ 192.x.x.x/) CRS heartbeat must use one of LLT interfaces Use VCS PrivNIC/Multi PrivNIC to make private interface HA Use NICS with identical speeds Dont use Cross Over Cables for interconnect
9.
:
Storage Array Best Practices
Use two storage arrays Adequate capacity does not equal adequate performance Configure appropriate stripe width and depth Use SCSI-3 PGR compliant storage especially for RAC Isolate DRL disks from Data disks
10.
: (cont.)
Volume Manager
Mirror across two storage arrays, especially with host based mirrors Separate Oracle Recovery Structures from database files Separate Redo logs and put on fastest storage (i.e. RAID 1+0) Be aware that physical disks may be shared by multiple servers/applications Use Consistent and Meaningful Device Naming Conventions Use Snapshots to clone databases for testing or reporting
File System
Always use ODM Use Cluster File System for fast fail over in non-RAC environments Place database and CRS binaries in local file system Create separate file systems for binaries, data, redo, archive, temp etc.. With RAC, always use CFS for redo and archived logs rather then local Storage Checkpoints for quick restore or creating test instances Implement Tiered Storage, its easy with Dynamic Storage Tiering Balance file system extents automatically to improve performance 11.
Agenda
1. Getting it right with Storage Foundation Oracle HA & RAC Choosing the right levels of availability for Oracle Implementation Best Practices: Server, Network, Storage Roadmap 2. Featured Technology: Database Dynamic Storage Tiering 3. Customer Case Study: Amadeus 4. Q&A
12.
* Subject to change
Agenda
1. Getting it right with Storage Foundation Oracle HA & RAC Choosing the right levels of availability for Oracle Implementation Best Practices: Server, Network, Storage Roadmap 2. Featured Technology: Database Dynamic Storage Tiering 3. Customer Case Study: Amadeus 4. Q&A
14.
Traditional /financial /FY07 /FY06 /Prev /FY07 DST /financial /FY06 /Prev
V3
V1
V2
Tablespace Relocation:
Infrequently accessed tablespace -> slow storage, active fast storage $ /opt/VRTS/bin/dbdst_tbs_move -S $ORACLE_SID -t tablespace \ -c class
16.
V1
V2
V3
TierX
17.
18.
19.
20.
21.
Case Study
22.
23.
400+ Million Transactions per Day 8700+ Transactions per Second peak 3+ Million Bookings per Day 75+ Million Passenger Name Records (PNR) <0.3 Second Response Time 99.98% Uptime
24.
25.
py l co
FVT
APP FVT
DEV
APP DEV
DES
APP DES
PROD
Redo Log
SUP
APP SUP
PDT
APP PDT
Base FS Base FS
UAT
APP UAT
Long time to copy (2-3 days) Long outage for weekly refreshes (24 hrs min) Storage usage, 8 x OBO (80 TB) Bound to one cluster / no isolation
MIG
APP MIG
SKL
APP SKL
26.
OBO1 preparation
Week 1
Week 2
Week 3
Week 4
Week 5
Week 6
Week 7
Week 8
Week 1
Week 2
Week 3
OBO2 preparation
27.
FVT Ckpt
APP FVT
lize a n rso e p
DEV Ckpt
APP DEV
DES Ckpt
APP DES
PROD
Redo Log
SUP Ckpt
APP SUP
PDT Ckpt
APP PDT
Base FS Base FS
UAT Ckpt
APP UAT
MIG Ckpt
APP MIG
APP SKL
28.
Tiered Landscape
we ek ly
8-week cycle
PROD
Redo Log
FVT Ckpt
APP FVT
(Internal only)
DEV Ckpt
APP DEV
Lvl1
Restore
Base FS Base FS
DES Ckpt
APP DES
SUP Ckpt
APP SUP
Instant snapshot
Lvl 2 Lvl 2 Base 2 Base1
PDT Ckpt
APP PDT
(External)
Lvl2
UAT Ckpt
APP UAT
Instant snapshot
MIG Ckpt
APP MIG
(SLA)
Isolation achieved
Lvl3
SKL Ckpt
APP SKL
29.
30.
Tiered Landscape
Weekly cycle
si By
PHY 1
FVT Ckpt
APP FVT
(Internal only)
DEV Ckpt
ca
APP DEV
Lvl1
Ph y
St a
PROD
nd
DES Ckpt
Redo Log
APP DES
Physic
al
SUP Ckpt
APP SUP
Stand B y Ph ys St an ica l d By
PDT Ckpt
APP PDT
(External)
PHY 2
Lvl2
UAT Ckpt
APP UAT
MIG Ckpt
APP MIG
(SLA)
Lvl3
PHY 3
SKL Ckpt
APP SKL
31.
Elegant DR rehearsal
PROD D&R
ly p Ap
PROD
Redo Log
Lo
Archiver
PHY DR
Arch Redo
REH Ckpt
APP REH
Stop managed recovery Create REH checkpoint Resume managed recovery Mount REH checkpoint Personalize REH instance Start REH instance Run REH traffic against REH instance Log shipment and log apply keeps ongoing during rehearsal
32.
Amadeus: Improved ROI Metrics Downtime Before 24hrs/week After 15 min/week 0 36TB 0
33.
Achieving optimization of Oracle database High Availability is more than clustering and installing RAC Reducing costs is more than just settling for good enough
It involves proper HW/SW configuration HA demands thorough Implementation Planning HA needs operational discipline
Symantec Storage and Availability Management solutions for Oracle improves performance, availability and manageability of databases
34.
DOWNLOAD
Veritas Storage Foundation HA plug-in for Oracle EM
http://www.symantec.com/business/products/utilities.jsp?pcid=2245&pvid=208_1
Copyright 2007 Symantec Corporation. All rights reserved. Symantec and the Symantec Logo are trademarks or registered trademarks of Symantec Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners. This document is provided for informational purposes only and is not intended as advertising. All warranties relating to the information in this document, either express or implied, are disclaimed to the maximum extent allowed by law. The information in this document is subject to change without notice.
35.
Thank You
Symantec and Symantec Vision are registered trademarks of Symantec in the U.S. and in other countries. The other company names or products mentioned are or may be trademarks of their respective owners.
36.