Title: Oracle 11g Real Application Clusters
1Oracle 11g Real Application Clusters
2Agenda
- Introduction
- Oracle 11g New Features
- ASM
- CRS
- QA
- Oracle 11g Best Practices
- QA
3Introduction
4Oracle 11g New Features
- Install and Upgrade
- Storage
- Oracle Clusterware
5Install and Upgrade
- DBUA
- Supports RAC, ASM, and patchsets (10.2.0.3 or
higher) upgrades - Disables archiving during upgrade
- Performs database cold backup prior to upgrade
- Moves database files between ASM and file system
- Hot Patching using OPatch
- No instance restart or relinking of software
needed - Patch shipped as dynamic/shared library
- Memory requirement of one OS page per Oracle
process - Listed in OPatch inventory
- Persistent across instance restarts
- Replace with conventional patch at convenient
downtime
6Storage
- ASM Fast Mirror Resync
- ASM Preferred Mirror Read
- Direct NFS Client
7Without ASM Fast Mirror Resync
Oracle Database 10g and 11g
8With ASM Fast Mirror Resync
Oracle Database 11g
9ASM Preferred Mirror Read
10Direct NFS Client
- Performance
- Scalability
- HA
11NFS Performance
- Direct NFS Client improves performance of NFS
storage - Direct I/O
- Bypasses OS Caches
- Eliminates OS write-ordering locks
- Reduces system CPU utilization
- Asynchronous I/O
12NFS Scability and HA
- Direct NFS Client increases high availability and
optimizes scalability of NFS storage - Supports up to 4 parallel network paths to NAS
system - Automatically load balances across all available
network paths (No extra configuration needed!) - Resends packets over available network paths in
the event of a network path failure - No NIC Bonding required
13NFS DSS Performance Study
14Oracle Clusterware
- Added the ability to perform rolling upgrades
- No need to shutdown CSR completely to perform an
upgrade - Upgrade one node at a time
15A
16RAC Best Practices
- More Nodes
- Common Setup
- RAC Setup Recommendations
- Verifying Setup
- Keeping your System Up
17More Nodes Greater HA
CRM
OE
Payroll
Email
18More Nodes Greater HA
CRM
OE
Payroll
Email
Node failure has less impact
19Oracle RAC Customers 9i
20Oracle RAC Customers 10g
21Oracle RAC Customers 11g
22RAC Setup Recommendations
- Full Redundancy Networks, Switch, etc.
- Bonding/Teaming your Networks/SAN
- Use a Switch
- Mirroring OCR
- Setup 3 Voting Disks
23Verifying Setup Destructive Testing
Crash of a client connection
Crash of the DB instance
Crash of 1 element of the interconnect
Inst DB
Inst DB
Crash of the ASM instance
Inst ASM
Inst ASM
Servers
Crash of each fiber card
Crash of the SAN connection
Storage
Crash of a storage system
24Keeping your System Up
- Adhere to strong Systems Life Cycle Disciplines
- Comprehensive test plans (functional and stress)
- Rehearsed production migration plan
- Change Control
- Separate environments for Dev, Test, QA/UAT,
Production - Backup and recovery procedures
- Security controls
- Support Procedures
25Test Clusters
- When
- Any application, parameter or component change
- Why
- Doesnt Oracle/OS Vendor/HW Vendor test?
- Your Unique Environment
- What happens if you dont?
26Change Management
- Plan changes to minimize downtime and service
disruption - May mean overnight or weekend work
- Avoid critical periods in application cycles,
such as month- or year-end processing - Consider staged changes
- One function at a time
- One node at a time (if possible)
- Include time and resources to back out changes if
necessary
27Summary
- To build the a full HA architecture with Real
Application Clusters - Use Services FAF
- Use the full stack Oracle Clusterware, ASM or
NFS - Validate your environment w/ every change
- Follow MAA Best Practices
- Have a Test Cluster
28A