Академический Документы
Профессиональный Документы
Культура Документы
Session #301
Dan Norris DanNorris@DanNorris.com
DanNorris.com
This session
You Me Oracle RAC
2
DanNorris.com
DanNorris.com
DanNorris.com
DanNorris.com
DanNorris.com
DanNorris.com
Terminology
Database, Instance Clusterware SAN, Local Storage, Shared Storage Multi-Instance, ASM, Oracle Services
8
DanNorris.com
Shared Storage
RAC2
RAC3
DanNorris.com
10
Services*
Use them! More than one is usually a good idea Dont use the default service for users Track statistics per service: V$SERVICE_STATS V$SERVICE_WAIT_CLASS
* see Jeremy Schneiders paper at ardentperf.com/publications
11
DanNorris.com
12
DanNorris.com
Network Conguration
Lack of redundant NICs (bonding, IPMP,
etc.)
Dont overbuy for the interconnect Crossover cables VIPs *must* be used!
13
DanNorris.com
Shared Storage
RAC2
RAC3
14
DanNorris.com
(rw,bg,hard,nointr,tcp,vers=3,ti
meo=300,rsize=32768,wsize=32768, actimeo=0)
DanNorris.com
16
DanNorris.com
used with PowerPath, but /dev/sdXX will still work...until a path fails
DanNorris.com
17
Shared Storage
RAC2
RAC3
DanNorris.com
18
--Dan Norris
DanNorris.com
Training required DBAs Storage admins - possibly Developers - maybe not a full course, but
some internal training
Managers
DanNorris.com
21
DanNorris.com
Plan each test, predict outcome, verify Dont stop until you know what will happen If building N+1, test for that, too
22
DanNorris.com
Our 3-node cluster runs at 80% busy on each node. Highly available?
23
DanNorris.com
DanNorris.com
Testing - Connectivity
Connectivity testing is part of other tests PRECONNECT, BASIC; SESSION,
SELECT
Observe load balancing (client & server) Test services, workload management Ensure remote_listener,
25
Listener Conguration
What does local_listener do? What does remote_listener do? Which one is more important or will cause
bigger problems if you mess it up?
26
DanNorris.com
inst1.local_listener=(ADDRESS=(PROTOCOL=TC P)(HOST=n1.dannorris.com)(PORT=1521)) inst1.local_listener=(ADDRESS=(PROTOCOL=TC P)(HOST=n1-vip)(PORT=1521)) inst1.local_listener=(ADDRESS=(PROTOCOL=TC P)(HOST=n1-vip.dannorris.com)(PORT=1521)) inst1.local_listener=(ADDRESS=(PROTOCOL=TC P)(HOST=52.32.15.60)(PORT=1521)) # n1-vip inst1.local_listener=(ADDRESS=(PROTOCOL=TC P)(HOST=localhost)(PORT=1521)) inst1.local_listener=LISTENER_N1
27
DanNorris.com
DanNorris.com
Performance Tuning
RAC is often not to blame, except when it
is to blame :)
Understand RAC-specic wait events When is the interconnect to blame? When is the interconnect just not working
well (HW issue)?
DanNorris.com
30
DanNorris.com
The Top 5
I. Make friends with sysadmin, storage admin II. Get smart III. Set expectations IV.Do technical stuff right V. Follow a systematic approach for identifying problems
32
DanNorris.com
Forums (via OTN): Lots of participation from RAC SIG as well as Oracle gurus Elections: Nominations open now on the website Join the RAC SIG at www.oracleracsig.org!
DanNorris.com
34
DanNorris.com
Thank You!
DanNorris.com
Legal
The information contained herein should be deemed reliable but not guaranteed. The author has made every attempt to provide current and accurate information. If you have any comments or suggestions, please contact the author at: dannorris@dannorris.com You may request redistribution permission from dannorris@dannorris.com.
36
DanNorris.com