Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2009 Oracle Corporation. S311446 : Oracle Database 11g Release 2 First Experiences Plamen Zyumbyulev, Mobiltel Philip Newlan, Oracle RAC Pack.

Similar presentations


Presentation on theme: "© 2009 Oracle Corporation. S311446 : Oracle Database 11g Release 2 First Experiences Plamen Zyumbyulev, Mobiltel Philip Newlan, Oracle RAC Pack."— Presentation transcript:

1 © 2009 Oracle Corporation

2 S311446 : Oracle Database 11g Release 2 First Experiences Plamen Zyumbyulev, Mobiltel Philip Newlan, Oracle RAC Pack

3 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

4 Introduction to Oracle Database 11g Release 2 Real Application Clusters Features for this session – RAC One Node – Instance Caging – Policy Managed Databases / Server Pools New Features not discussed in this session – ASM Improvements and new features ACFS, AVDM, snapshots, … – Clusterware Improvements CTSS, OCR/vote in ASM, … – Grid Plug and Play (GPnP) – Install Improvements In 30 mins

5 RAC One Node Better Virtualization for Databases A virtualized single instance database Delivers value of server virtualization to databases on physical servers – Live migration of instances across servers – Rolling patches for single instance databases – Built-in cluster failover for HA – Online upgrade to RAC – Standardized deployment across all Oracle databases Use Cases Load balancing Database + OS patching and maintenance

6 Isolation via Instance Caging Instance caging enables administrators to limit cpu cores by instance Protects service levels by preventing runaway cpu consumption Can be adjusted dynamically, while databases are online. – Controlled by cpu_count parameter – Supports partitioning and overprovisioning cpu Works with Resource Manager RAC One Node D cpu_count=1 RAC One Node C cpu_count=1 RAC One Node B cpu_count=2 RAC One Node A cpu_count=4 8 core server

7 Policy-managed database /Server Pools New in Oracle Database 11gR2 Policy-based management uses server pools to –Enable dynamic capacity assignment when needed –Ensure isolation where necessary (“dedicated servers in a cluster”) In order to guarantee: –Applications get the required minimum resources (whenever possible) –Applications do not “take” resources from more important applications Siebel PSFT Siebel PSFT Oracle Grid Infrastructure RAC One RAC One Oracle RAC DBs FREE RAC DB2 RAC DB2 RAC DB1 RAC DB1 Resource management w ith policies App Oracle Grid Infrastructure RAC One RAC One Oracle RAC DBs FREE RAC DB2 RAC DB2 RAC DB1 RAC DB1

8 Server Pools New in Oracle Database 11gR2 logical grouping of servers in the cluster. Managed by Oracle Clusterware and registered in the OCR. One node belongs to one and only one server pool. Server pools are created and managed using srvctl commands or through dbcontrol There are 3 key attributes of a Server Pool – min_size – max_size – Importance Default server pool – Free

9 Founded in March 1994 Part of Mobilcom Austria Group Telecom leader in Bulgaria First production implementation on Oracle 11g GRID Best Exadata v1 Performance Results First successful Exadata v1 custom installation First Customer to run OLTP on Exadata v1 Case Study: M-Tel

10 M-Tel’s vs. DB Admins’ Challenges Provide highest quality of service – Make every application highly available scalable dynamically manage application workload Be more flexible – Online maintenance – Service relocation Do more with less – Consolidate, simplify, automate

11 M-Tel’s Grid Architecture 11gR1 2 years ago Disaster Recovery with real time query – no idle resources Business systems Resource Manager SOA Continuous Redo Shipment and Apply BS 1 BS 2 BS 3 BS 4 BS 7 … DB1 11g DB2 11g DB3 10g ASM 11g CRS 11g

12 Dedicated and Virtualized Environments Today 40+ Oracle 11g Services consolidated onto 2 Databases and four Linux Servers – 40% Prod Services – 60% Test services 25% of all Business Systems are “virtualized” and consolidated – 21% of Prod env – 29% of Test env

13 DB to Server Consolidation Classical approach – Production 2 DBs per server – Test 4+ DBs per server 11gR1 GRID Environment – 10+ services per server

14 M-Tel’s Oracle DB Environment Resource Manager SOA BS 1 BS 2 BS 3 BS 40+ … … Clusters with more than one DB Servers running multiple DBs Servers with more than one DB Clusters with one DB FO Clusters Servers with one DB

15 Problems to further adopt Grid Computing Unable to load balance between databases on the same node Most applications cannot share the same database (they aren't 100% isolated) Some applications aren’t certified with RAC No unified approach for single instance database failover. Difficult database movement between servers No automatic actions in the event of node failure

16 Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases DB ADB BDB CDB DDB EDB F Omotion

17 Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases DB ADB BDB CDB DDB EDB F Omotion DB-A from Node 1 to Node 8

18 Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases DB BDB CDB DDB EDB FDB A

19 DB B Omotion DB-A from Node 1 to Node 8 DB ADB CDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

20 DB B Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 DB ADB CDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

21 Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 DB ADB BDB CDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

22 Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 Rolling Patches DB ADB BDB CDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

23 Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 Rolling Patches DB-C Node 3 and Node 2 DB ADB BDB CDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

24 DB C Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 Rolling Patches DB-C Node 3 and Node 2 DB ADB BDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

25 DB C Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 Rolling Patches DB-C Node 3 and Node 2 DB ADB BPatchDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

26 DB C Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 Rolling Patches DB-C Node 3 and Node 2 DB ADB BDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

27 DB C Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 Rolling Patches DB-C Node 3 and Node 2 Online Upgrade DB-C to multi-node RAC instances DB ADB BDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

28 Omotion DB-A from Node 1 to Node 8 Failover DB-B from Node 2 to Node 9 Rolling Patches DB-C Node 3 and Node 2 Online Upgrade DB-C to multi-node RAC instances DB C DB ADB BDB DDB EDB F Oracle Database 11g Release 2 RAC ONE – A grid of virtualized single instance databases

29 RAC One Node Contrasting Failover to Omotion – non FAN aware application Failover Omotion Failover 60 seconds OMotion Transaction Rate

30 Summary—RAC One Node Benefits: Better virtualization for databases – Consolidation, workload management, Better HA – Plus, online maintenance, and DB failover Better cluster failover – Additional value (online migration, online maintenance) – Single-vendor solution Ready to scale – Online upgrade to multi-node RAC Standardized Environment – Common toolset for both single-node and multi-node Oracle database deployments

31 Server Pools Why ? Designed to handle dynamic workloads where you can grow or shrink the pool size as a function of demand, planned or unplanned – Clusters host databases and their respective services in cluster managed server pools. – Using a cardinality-based approach – nodes become anonymous. – Server pools are flexible and scalable. You can move servers between server pools, if needed, based on SLAs – Server pool importance, minimum and maximum number of servers allowed – Dynamic server pool topology with no down time.

32 Policy Managed environment Scenario 1.0 - FO min_size=0 max_size=2 importance=0 min_size=0 max_size=1 importance=0 Nothing happens!!! Default values!!!

33 Policy Managed environment Scenario 1.1 - FO min_size=1 Max_size=2 Importance=0 min_size=1 Max_size=1 Importance=0

34 min_size=1 Max_size=2 Importance=0 min_size=1 Max_size=1 Importance=0 Policy Managed environment Scenario 2.0 - Reconfigurations

35 min_size=1 Max_size=3 Importance=0 min_size=0 Max_size=1 Importance=0 Nothing happens!!! Policy Managed environment Scenario 2.1 - Reconfigurations

36 min_size=1 Max_size=3 Importance=1 min_size=0 Max_size=1 Importance=0 Nothing happens!!! Policy Managed environment Scenario 2.2 - Reconfigurations

37 min_size=3 Max_size=3 Importance=1 min_size=1 Max_size=1 Importance=0 Policy Managed environment Scenario 2.3 - Reconfigurations

38 min_size=3 Max_size=3 Importance=1 min_size=1 Max_size=1 Importance=1 Nothing happens!!! Policy Managed environment Scenario 2.4 - Reconfigurations

39 min_size=3 Max_size=3 Importance=1 min_size=1 Max_size=1 Importance=2 Policy Managed environment Scenario 2.5 - Reconfigurations

40 min_size=2 Max_size=2 Importance=1 min_size=1 Max_size=1 Importance=0 Policy Managed environment Scenario 3.0 - Restart Sum(min_size)< number of servers

41 Conclusion RAC One Node and policy based managed databases enable us to further improve and extend our consolidation platform – Better server consolidation – Enhanced protection from failures – More flexible and efficient IT environment – Better Online maintenance – Better resource isolation

42 New things in Oracle Database 11gR2 That enable us to move further Oracle RAC One Node Omotion Failover Instance Caging Policy Managed Databases/Server Pools

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

44 For More Information http://search.oracle.com or http://www.oracle.com/clusters Real Application Clusters

45 © 2009 Oracle Corporation

46 Oracle RAC One Node – Omotion New in Oracle Database 11gR2 Omotion moves a Oracle RAC One Node instance from one server to another—without any downtime Use Cases – Load balancing – Database + OS patching and maintenance Oracle supplied tools control migration – Services are not accepting connections on both nodes at the same time – Migrated instance shutdown transactional once services moved – A maximum of 30 minutes allowed for connections to migrate (then shutdown abort)


Download ppt "© 2009 Oracle Corporation. S311446 : Oracle Database 11g Release 2 First Experiences Plamen Zyumbyulev, Mobiltel Philip Newlan, Oracle RAC Pack."

Similar presentations


Ads by Google