Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Oracle Database 10g Real Application Clusters Gordon Smith Director, RAC Product Management.

Similar presentations


Presentation on theme: "1 Oracle Database 10g Real Application Clusters Gordon Smith Director, RAC Product Management."— Presentation transcript:

1 1 Oracle Database 10g Real Application Clusters Gordon Smith Director, RAC Product Management

2 2 Agenda  Enterprise Grid Roadmap  Oracle9i RAC is Proven  Oracle RAC 10g for Everyone – Integrated Clusterware – Automatic Workload Management – Enterprise Manager for RAC – Performance and Diagnostics

3 3 Key IT Imperatives  Highest Quality of Service – Maximum availability – Maximum scalability  Most Efficient Management – Do much more  Lowest Cost – With much less EnterpriseGrids

4 4 Roadmap Now Highest Quality Service Lowest Cost Oracle9i RAC HA & Scalability Low Cost Clusters RAC 10g RAC For Everyone Most Efficient Management Adaptive Proactive Agile EnterpriseGrids

5 5 Oracle9i RAC Momentum  2,500+ customers  550+ documented production customers  175+ production customer references  16% of new DB customers are RAC customers  20% of RAC deals are from repeat customers As of August 2003

6 6 Electronic Arts ROI 1 st Year Big SMP is 35%+ More Expensive SMP 5 Years Big SMP is 46%+ More Expensive Takes into account: Hardware costs Software costs H&S maintenance DBA costs SysAdmin costs Report available on RAC.US.ORACLE.COM

7 7 Oracle Database 10g: RAC for Everyone  Key focus of RAC 10g is on management – Goal: ubiquitous adoption of RAC  Part of much larger Oracle Database effort – Oracle9i reduced administration costs by half – The Oracle Database 10g reduces administration costs by another half – RAC is an integral part of the Oracle Database so it benefits from all this work

8 8 Oracle RAC 10g For Everyone  Eliminate need for 3 rd party components that add significantly to complexity and cost  Automatic workload management  Automatic fast failure notification (FaN)  Single system image GUI management  Improved diagnostic and verification tools  Performance improvements

9 9 The Problem with Third Party Cluster Software  No single point of support  High Cost – Multiple products to license – Labor intensive to install, integrate, and manage  Uneven quality & functionality across platforms  Small # of nodes  No common event or management APIs Hardware/OS Kernel Applications Cluster Control/Failover APIs Resource Manager/Resource Agents Volume Manager/File system Messaging and Locking Membership Connectivity

10 10 RAC 10g Integrated Clusterware  Complete Oracle cluster software solution  Single-vendor support  Low Cost – No need to purchase additional software – Easy to install, manage  High quality and functionality across all platforms – 64 nodes on all platforms  Advanced functionality – Failure Notification (FaN)  Support for third-party clusterware Applications RAC, Other Apps Services Framework Cluster Control/Recovery APIs Automatic Storage Management Messaging and Locking Membership Connectivity Event ServicesManagement APIs Hardware/OS Kernel

11 11 Automatic Workload Management  Application workloads can be defined as Services – Individually managed and controlled – Assigned to instances during normal startup – On instance failure, automatic re-assignment  Service performance individually tracked  Finer grained control with Resource Manager  Integrated with other Oracle tools / facilities

12 12 Automatic Workload Management Normal Server Allocation Order EntrySupply ChainSpare

13 13 Automatic Workload Management End of Quarter Order EntrySupply Chain

14 14 Automatic Workload Management Normal Server Allocation Order EntrySupply ChainSpare

15 15 Automatic Workload Management Server Fails Order EntrySupply ChainSpare

16 16 Automatic Workload Management Reallocate Spare server to Order Entry Order EntrySupply Chain

17 17 Automatic Workload Management Defining Services  Create a service for each workload you want to separately manage – A small number may be adequate  Each service gets a globally unique name  No application changes required – Services specified in TNS connect data – e.g, using Net Easy*Connection in 10g scott/tiger@//myVIP/myservice

18 18 Automatic Workload Management Defining Allocation Rules Using DBCA  Rules specify automatic resource allocations – PREFERRED instances during normal conditions – AVAILABLE instances should failures occur

19 19 Automatic Workload Management Enterprise Manager Controls  Performs service operations – Start / Stop – Enable / Disable – Relocate  View service status – Including automatic resource allocation rules

20 20 Automatic Workload Management Performance Tracking  Automatic Workload Repository (AWR) – Tracks performance by service  e.g, average response times for calls – Applications can specify MODULE and ACTIONS for finer grained monitoring  e.g. average response time for key transactions – Thresholds can be set to alert DBAs when performance doesn’t meet service levels

21 21 Automatic Workload Management Performance Tracking Set MODULE / ACTION using JDBC Note: no extra message exchange with server – setting “bundled” with call String[] metrics = new String[OracleConnection.END_TO_END_STATE_INDEX_MAX]; metrics[OracleConnection.END_TO_END_MODULE_INDEX] = "myModule"; metrics[OracleConnection.END_TO_END_ACTION_INDEX] = "myAction"; OracleConnection conn = ds.getConnection(); conn.setEndToEndMetrics(metrics, 0);

22 22 Automatic Workload Management Performance Tracking Set MODULE / ACTION using OCI No extra message exchanged – “bundled” Set MODULE / ACTION using PL/SQL Does require extra message exchanges DBMS_APPLICATION_INFO.SET_MODULE 9 module_name => ‘add_employee’ action_name => ‘record contact info’); OCIAttrSet(session, OCI_HTYPE_SESSION,(dvoid *) “set salary", (ub4)strlen(“set salary"), OCI_ATTR_ACTION, error_handle);

23 23 Automatic Workload Management Performance Tracking

24 24 Automatic Workload Management Finer Grained Control  Resource Manager – Services can be mapped to consumer groups for finer grain control  e.g., service Online gets 80% of CPU while service Batch gets only 20% – Mapping example: Execute DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING (DBMS_RESOURCE_MANAGER.SERVICE_NAME, ’ ONLINE ’, ’ HIGH_PRIORITY ’ );

25 25 Automatic Workload Management Integration with Other Tools  Job Scheduler – Job classes mapped to services  Parallel Query / DML – Query coordinator connects to a service like any other client – Parallel slaves inherit service from coordinator  Oracle Streams Advanced Queuing – Queues accessed by service – Achieves location transparency

26 26 Failure Notification (FaN TM ) with Oracle Application Server 10g  Fast, coordinated recovery without human intervention – Oracle RAC 10g signals 10g JDBC Fast Connect Failover when instances failures occur – Immediate recovery for mid-tiers  < 4 seconds from 15 minutes  self correcting Oracle 10g Clusterware App Server 10g RAC

27 27 Failure Notification (FaN TM ) JDBC Fast Connection Failover Processing  Supports multiple connection caches  Datasource for each cache mapped to a service  Keeps track of service and instance for each connection  Distributes new work requests across available instances SERVICE 1 SERVICE 2 SERVICE 3 JDBC / Mid-Tier Database Tier INSTANCE X INSTANCE Z INSTANCE Y CACHES

28 28 Failure Notification (FaN TM ) JDBC Fast Connection Failover Processing  When DOWN signal received from RAC 10g – Routes new requests to surviving instances – Throws exception if application was in midst of transaction  When UP signal received from RAC 10g – Creates new connections to new instances – Distributes new work requests evenly to all available instances

29 29 Notification Callouts  Users can write callout programs that are invoked when notifications occur – Notifications include node up/down, instance up/down, or service up/down  Example usages: – Send email, page – Log status info – Start / stop programs

30 30 Single System Image Management  Enterprise Manager 10g enables management of RAC environments as single system image  Cluster Database page provides RAC – wide view – Aggregates status, performance data across all instances – Supports operations on database and services – Drill down to pages for specific instances – Drill up to cluster page  Cluster page – Shows hardware and operating system configuration, performance, and status across cluster – Drill down to pages for specific nodes

31 31 Enterprise Manager Database Home Page

32 32 Enterprise Manager Database Performance Page  Database view – Drill down for instance info  View data by service – Collected by AWR – View top services, modules, actions – Set thresholds – See alerts

33 33 Enterprise Manager Cluster Home Page

34 34 Enterprise Manager Cluster HW Performance Cluster view  Shows hardware utilization – CPU – Memory – Disk

35 35 Grid Control – Server Provisioning – Provision software to many systems at once – Clone, store and distribute “known good” configurations – Automate patch and update management Software Inventory Enterprise Manager

36 36 Grid Control – Server Provisioning – Provision software to many systems at once – Clone, store and distribute “known good” configurations – Automate patch and update management Software Inventory Enterprise Manager

37 37 Verification and Diagnostics  New cluster configuration verification tool * – Eliminates errors during installation and configuration changes – Pre and post validation of cluster environment for each installation / configuration step  Improved diagnostic tools ** – Faster problem resolution times – Reduced need to reproduce problems – Valuable for both cluster and non-cluster systems * Will be available from OTN ** Use under direction of Oracle Support

38 38 Performance Enhancements  Faster instance recovery times – Several optimizations to shorten path length and perform some operations in parallel  Improved overall performance – Reduced path length – Message aggregation  Automatic adjustments to changing workloads – Dynamic re-mastering

39 39 Oracle RAC 10g - Only Solution for Enterprise Grids  Runs all Applications  Mission Critical Quality of Service on Industry Standard, Low Cost Servers  RAC Made Easy for Everyone  Complete, Integrated Oracle Clusterware  Automatic Workload Management  Provides Capacity on Demand

40 40 For more info …  Consult the following white papers on rac.us.oracle.com and database.us.oracle.com – Oracle RAC 10g Overview – Oracle RAC 10g Diagnostics and Verification – Oracle RAC 10g Best Practices on Linux

41 41 A Q & Q U E S T I O N S A N S W E R S


Download ppt "1 Oracle Database 10g Real Application Clusters Gordon Smith Director, RAC Product Management."

Similar presentations


Ads by Google