Maximize your Oracle Investment with Enabling Technologies from EMC and VMware Your Journey to the Private Cloud Starts Now Sam Lucido Midwest Lead Oracle Global Solution Practice January 2011 1
Agenda Why Virtualize Oracle? EMC and Oracle: A Unique Partnership The Journey to the Private Cloud for Oracle with EMC and VMware Physical to Virtual Oracle Environment Questions? 2
Virtualization Use on the Rise Oracle Magazine July / August 2010 Virtualization of Oracle is gaining momentum Source: Toward a Smarter Information Foundation: 2010 IOUG Enterprise Platform Decision Survey, ioug.org 3
Virtualization Use on the Rise Oracle Magazine July / August 2010 Virtualization of Oracle is gaining momentum Source: Toward a Smarter Information Foundation: 2010 IOUG Enterprise Platform Decision Survey, ioug.org http://www.oracle.com/technetwork/oramag/2010/10-jul/index-087689.html#feat 4
DELL Efficiency Gains $80 Million in cost reduction by Virtualization & Consolidation THE NEW REALITY OF IT: CUT COSTS WHILE INCREASING VALUE, PRODUCTIVITY AND SERVICE LEVELS FOR CUSTOMERS Open World 2009: Presentation by Michael Dell Business Goal: Shift spending from Keeping the lights on to Strategic initiatives that improve business Reference: http://www.slideshare.net/dell_inc/michael-dell-keynote-oracle-openworld-2009-2221906 5
INVESTMENT Unique EMC Oracle Investments Internal IT Usage Product Integration Joint Escalation Center Technology Centers Joint Best Practices and Solutions Joint Beta Testing and Validation MATURITY OF THE ALLIANCE 1995 Present 6
EMC Meets the Needs of Oracle Customers Lower cost virtual pools of Oracle IT assets increase utilization and automation Higher service levels - makes it faster to deploy new Oraclebased apps and keep them protected and online Increased agility share virtual resource pools allows Oracle IT as a service 7
The Journey to the Private Cloud through Virtualization IT PRODUCTION BUSINESS PRODUCTION IT-AS-A-SERVICE 85% 95% Percent Virtualized 15% 50% 30% Platinum Gold Lower costs Improve quality of service Improve agility 8
The Virtualization Journey Percent Virtualized 15% IT PRODUCTION BUSINESS PRODUCTION IT-AS-A-SERVICE 30% Oracle DBAs and IT administrators want to: Simplify and accelerate daily tasks including: 95% Development and testing 85% of new databases / Apps Provisioning of infrastructure in support of Oracle Efficiently 50% monitor, diagnose and tune performance Platinum Unified allows for consolidated sharing of resources Lower costs Improve across quality multiple of Oracle servicedatabases Improve and applications agility from production to dev/test Gold Supported by infrastructure that is: Efficient makes maximum use of capacity and is easy to provision Easy to Manage allows Oracle monitor performance efficiently, to quickly diagnose and tune 9
Replication Manager Simple and Efficient Infrastructure EMC Unified Storage Unified Efficient Q/A Dev/Test Consolidate production and dev/test Single platform for NFS, FCP, iscsi Balance performance with flexibility Snaps and Clones for Oracle DBAs Setup 10 dev/test instances in 10 min Reduce downtime for maintenance 90% Off-load Oracle RMAN backups Easy to Manage Oracle RMAN Prod Backup Integrated Performance Monitoring Centrally manage QoS allocation of bandwidth, throughput, response time Oracle DBAs monitor EMC performance through Oracle EM console 10
EMC s Newest Unified Storage One Platform Optimize for Cost, Flexibility, Performance iscsi NAS Fibre Channel EMC s Newest Unified Platform allows Oracle users to: Ethernet iscsi SAN Ethernet NFS & CIFS File Sharing Fibre Channel SAN Blend SAN and NAS to tier workloads across protocols to optimize performance and flexibility for production, test/development, and disaster recovery Virtualize servers and storage to dynamically provision and scale Oracle database and application tiers sharing pooled resources EMC VNX Series Utilize full EMC and Oracle RMAN replication capabilities available through EMC Replication Manager GUI interface 11
EMC Replication Manager for Oracle Flexibility for all Oracle requirements Snaps or Clones designed for: Backup, Recovery Testing Reporting Spindle-independent = full recoverability Consistency Groups ensures write integrity 90% less time in hot backup mode combining with Oracle RMAN Empower Oracle DBAs with functionality using EMC Replication Manager GUI Replication Manager Clones Ultra-functional, highperformance copies Snaps Economical, space-saving copies Full Recoverability Spindle-independent full copy of data Consistency Groups Ensure Transactional Integrity Fast and Efficient Quickly create copies using less infrastructure Oracle RMAN Integrated point in time backup Oracle Optimized Replication for DBAs 12
Oracle OLTP RAC with Virtualized Test/Dev EMC Unified Storage, Replication Manager, and VMware Benefits Setup test/dev without downtime Create up to 10 test/dev environments in 10 minutes Best Practices Provided Convert Physical to Virtual Create VMware template for Application tiers EMC Replication mount database to virtual machine Oracle Rapid Clone synchronize application and database tiers Production Replication Virtualized test/dev environments 13
Performance Architecture for Virtualization Understanding VMware Virtualization Stacks Ring 3 Application Application Application User Mode Ring 1 Guest OS VM0 Guest OS VM1 Guest OS VM2 Bit less Privileged Ring 0 Hypervisor Also called the Virtual Machine Monitor (VMM) Device Models / Emulated Real Device Drivers Most Privileged Host Hardware 14
What is Binary Translation? Light weight, efficient, near native performance User applications are not translated, but run directly Direct Execution (user mode guest code) Faults, syscalls interrupts Native Performance Virtual Machine Monitor (Privileged Mode) Translator Cache (TC) Binary Translation only happens when the guest OS kernel gets called Binary Translation (Kernel mode guest code) Safer user mode code 15
Processor Assistance for Virtualization Understanding the latest advancements in Processor Technology Ring 3 VM0 VM1 VM2 Application Application Application User Mode Ring 0 Linux Windows Guest OS Most Privileged Ring -1 VMX Root Mode VM Entry VM Exit VMCS Configuration Reduce the number of CPU cycles that VT- x instructions take Reduce the number VMM events Hardware VM Control Structure (VMCS) VMM Memory and I/O Virtualization 16
Baseline Architecture for Memory Management Three levels of Memory Management for Virtualization VM 1 VM 2 Process 1 Process 2 Process 1 Process 2 Virtual Memory (VA) Physical Memory (PA) Machine Memory (MA) http://www.vmware.com/pdf/perf_esx_intel-ept-eval.pdf 17
Processor Memory Acceleration: Nested Page Tables Rapid Indexing using Nested Page Tables 20-25% Performance Boost Virtual Memory (VA) to Physical Memory (PA) Address Space Identifier (ASID) Allows the TBL to keep track of which TBL entry belongs to which VM TLB misses cause poor performance TLB (Translation Lookaside Buffer) Hardware Cached (VA -> MA) pairs GUEST VM VMM Physical Memory (PA) to Machine Memory (MA) 18
Performance Boost: Huge Pages in Linux Rapid Indexing using Nested Page Tables HugePages allows us to change the default memory page size from 4KB to 2MB. With Red Hat Enterprise Linux 5.5 and the newest processors by Intel and AMD we can ow have 4MB pages! Oracle / Linux Benefits: Memory used by HugePages is locked and cannot be paged out Fewer pages to scan in the SGA Working set of buffers for the paging / swapping deamon will be smaller Virtualization / Linux Benefits: Reduces Translation Lookaside Buffer misses Pagesize 4KB (default) 2MB (Hugepages) Number of pages in a 10GB SGA 2.6 million 5000 pages Oracle Support Note: 361468.1 HugePages on 64-bit Linux Oracle Support Note: 317141.1 How to Configure REL/OEL 4 32-bit for Very Large Memory with ramfs and HugePages 19
TLB Changes with Huge Page Larger TLB Improves Oracle and Java Performance 20-25% Performance Boost Address Space Identifier (ASID) Allows the TBL to keep track of which TBL entry belongs to which VM TLB (Translation Lookaside Buffer) Hardware Cached (VA -> MA) pairs TLB Addressable Memory by Page Size Page Size L1 Cache w/32 entries @ 4K page size L2 Cache w/512 entries @ 4K page size Addressable in TLB > 2 MB (L1 & L2) w/8 entries @ 2 MB page size 16 MB TLB misses Performance 20
Customer Story Real Examples of Better Performance Custom Java Application Yes, Sam thank you very much. We eventually had another Ultra SPARC T2 and installed that application there. After enabling large page support and increasing the page sizes from 4K to 256M, our performance went 24 27 times faster than on Ultra SPARC T1 (!!!!) as we also was number of TLB misses drop significantly comparing to our previous tests. Have a great weekend, Denis Customer from Oracle Open World 2010: Your Mileage May Vary! 21
The Virtualization Journey Oracle IT line of business managers want to: Percent Virtualized IT PRODUCTION BUSINESS PRODUCTION IT-AS-A-SERVICE Maximize performance at scale and maintain availability for OLTP and Data Warehouse Systems = 30% OPEX savings + increased quality of 15% service 50% 85% Using infrastructure that optimizes how Oracle: Platinum Lower costs Improve quality of service Improve agility Gold 95% Performs: FAST VP and FAST Cache Scales: VMAX, Unified Storage, Virtual Provisioning Protects: EMC RecoverPoint and Data Domain Improved quality of service 22
Virtual Provisioning High Performance, Scalable Infrastructure for Oracle OLTP and Data Warehouses Performance Tiered Storage EMC FAST VP and FAST Cache 300%more TPM for OLTP 2-3x faster response time for DW Scalability Oracle RAC Virtual Provisioning EMC VP can help Oracle DBAs extract 44% more performance (TPM) with negligible change in response times Scale-up or scale-out Oracle Scale to petabyte level within single or across multiple platforms Enhances Oracle RAC consolidation 23
Relative Transactions per minute Accelerate Oracle OLTP with VNX Series >3x utility from your Oracle OLTP using FAST Cache and FAST VP Improved Oracle transaction time by 3.7x Using FAST Cache and virtualized Oracle (with vsphere 4.1) Increased performance comes at only a 15% increase in Storage solution cost Configuration: VNX5300 with 20 15K SAS and 7 SSDs drives (2 used as FAST Cache, 5 in a tiered pool w/ FAST VP) vs CX4-120 with 45 FC drives If you run Oracle OLTP, VNX series is a great solution 4 3.5 3 2.5 2 1.5 1 0.5 0 Virtualized Oracle with VNX Series and FAST Cache 1 CX4 1 year ago 3.7 VNX series with FAST Cache 24
EMC s Newest Storage Benefits for Oracle EMC FAST VP Maximizes Your Virtual Oracle Performance The combination of EMC FAST VP with VMware provides the following performance advantages: Applications can extract 44% more performance (TPM) with negligible change in response times System performance scales more efficiently as workloads increase (single instance or RAC) while lowering annual OPEX costs by 33% EMC Symmetrix with FAST VP VMware and EMC FAST VP reduce SLA performance tuning required by DBAs from hours to minutes 25
Enhanced Protection and Recovery for Oracle DBAs Protection Prod Application-Level Consistency D/R EMC RecoverPoint Drop your disaster recovery RTO from days to minutes recovering applications and databases together Recovery Journal EMC Data Domain Reduce Oracle backup costs up to 90% in just 5 weeks Recovery Oracle RMAN Dedulication Complements Oracle Solutions EMC RecoverPoint with DataGuard Data Domain with Oracle RMAN 26
EMC RecoverPoint for Oracle EMC RecoverPoint WAN SAN RecoverPoint Appliance RecoverPoint Appliance SAN Recovery Journal Oracle Applications Oracle Middleware Oracle Database History Journal Continuous local or remote data protection Track every Oracle write without application performance impact Remotely replicate with compression and write-order consistency Multiple protection modes (hot/cold application consistent or crash consistent) 27
EMC Deduplication and Oracle RMAN Benefits Reduce backup storage infrastructure cost 82-92% over 5 weeks Faster recovery through more frequent full Oracle backups Before After Best Practices Outlined Configuration of Oracle RAC / ASM SAN environment on EMC Unified Storage Configuration of 10GbE backup interconnect with Data Domain Full backup and/or incremental backup and restore strategies with Oracle RMAN Oracle RMAN copies EMC Data Domain deduplication 28
The Journey to the Private Cloud IT PRODUCTION BUSINESS PRODUCTION IT-AS-A-SERVICE Policy Automation 50% 95% 85% Percent Virtualized 15% 30% Chargeback Platinum Gold Lower costs Improve quality of service Improve agility Greater business agility 29
Tailoring Your Oracle Journey to Private Cloud EMC Global Services for Oracle 15% IT PRODUCTION BUSINESS PRODUCTION IT-AS-A-SERVICE Our IT Experience + Customers + Solutions Simplify IT while maintaining flexibility: 50% Stops focusing on plumbing = Virtualized Proven Solutions 30% from EMC Engineering and Global IT Deliver Percent Policy automation, and chargeback = Unify your Virtualized storage and unify your Oracle to EMC management 85% Platinum Lower costs Improve quality of service Improve agility Offers storage for next-gen applications = EMC Atmos Builds security into the Cloud = RSA Compliance Dashboard Greater business agility Gold 95% 30
EMC IT Case Study: 90% less downtime for maintenance EMC Replication Manager Challenge Sustain service organization s 24x7 uptime model EMC CRM system requires regular downtime for preventative maintenance and upgrades Solution: reduced downtime by 90% Develop a zero-data-loss transition from Production to Downtime (ACT) environment in 30 minutes Same screens and flows as production "Store and Forward" all key transactions executed during ACT maintenance windows Users transferred back to production environment when the maintenance has completed (~ 15 minutes) 31
EMC IT Case Study: Virtualized Oracle Data Warehouse EMC Tiered Storage and VMware Benefits Deployed VMware for Oracle Business Intelligence (OBIEE) reducing time on BI functions up to 60% 2-3x performance increase moving to EMC Symmetrix VMAX and Flash Drives Best Practices Outlined Consolidation of multiple Oracle Data Warehouses to Oracle RAC ($3M saved) Replication, Dev/Test and Disaster Recovery best practices Scaling out VM templates across Oracle Application Servers 32
EMC is the BEST Solution for Oracle Where are you along the journey? How much have you virtualized? What is keeping you from the next stage? How can VMware and EMC help you? IT PRODUCTION BUSINESS PRODUCTION IT-AS-A-SERVICE 85% 95% 30% 50% Platinum 15% Percent Virtualiz ed Lower costs Improve quality of service Improve agility Gold 33
Physical to Virtual Oracle Environment Don t think you are, know you are. The Matrix, 1999 34
VCPU 1 VCPU 2 VCPU 3 VCPU 4 VCPU 5 VCPU 6 VCPU 7 VCPU 8 VCPU 9 VCPU10 VCPU 11 VCPU 12 VCPU 13 VCPU 14 VCPU 15 VCPU 16 Oracle Licensing Rules: Per Server Summary of how licensing works per individual server Oracle Licensing requires all cores to be licensed even if a virtual machine is using some subset! Place As Many databases on this server as the business needs No additional costs for Hyperthreading VMware offers granular management Create single CPU VMs for a developer Create multi CPU VMs for group efforts Dynamically change the number of cpus when performing load testing or UAT activities Performance of one VM will not impact the others 35
Oracle Licensing Using OVM Hard Partitioning Why Virtualize if Using Oracle OVM Hard Partitioning for License Cost Savings? Hard Partitioning: Added Complexity, No Flexibility OVM At a minimum the administrator would have to re-implement Hard Partitioning with every Live Migration 0 1 2 3 4 5 6 7 Management Issue Adding Processors to a hard partitioned OVM requires additional licensing High Availability Cluster Hard Partitioning either: Does NOT work w/clustering Licensing all the Processors http://www.oracle.com/technetwork/topics/virtualization/ovm-hardpart-167739.pdf 36
VCPU 1 VCPU 2 VCPU 3 VCPU 4 VCPU 5 VCPU 6 VCPU 7 VCPU 8 VCPU 9 VCPU10 VCPU 11 VCPU 12 VCPU 13 VCPU 14 VCPU 15 VCPU 16 VCPU 1 VCPU 2 VCPU 3 VCPU 4 VCPU 5 VCPU 6 VCPU 7 VCPU 8 VCPU 9 VCPU10 VCPU 11 VCPU 12 VCPU 13 VCPU 14 VCPU 15 VCPU 16 Oracle Licensing Rules: In a Cluster Summary of how licensing works with server clusters Oracle Licensing requires all cores to be licensed in a cluster even if a virtual machine is using some subset! No Additional Costs for Multiple Clustering Technologies Automated Failover VM HA VM Load Balancing DRS VM Power Management DPM 16 cores 32 logical CPUs As many DBs as the business requires 37
New Oracle x86 Rackmount Servers Certified for VMware! Oracle servers show excellent performance with VMware Sun Fire X4470 Sun Fire X4800 Sun Fire X4270 Sun Fire X4170 M2 Oracle Certification, Installation and Support of VMware NOW! http://wikis.sun.com/display/systemscomm/sun+fire+x4800+server#tab:operating-systems http://wikis.sun.com/display/systemscomm/sun+fire+x4470+server#tab:operating-systems http://sun.systemnews.com/articles/141/1/performance/22439 http://dlc.sun.com/pdf/820-5828-13/820-5828-13.pdf 38
Architecting for Support is Simple The key is to align the operating systems with hypervisor on the server hardware Certified Oracle Operating System Certified ESX Servers Support Certified VMware Operating System Planning for Success http://www.vmware.com/company/news/releases/sap_fullsupport.html http://www.vmware.com/files/pdf/exchange-2010-on-vmware-support-and-licensing-guide.pdf https://www.vmware.com/company/news/releases/vmw-ready-apps.html Oracle RAC Certified: SAP AG Certified: Microsoft SVVP Microsoft Exchange 2010 Certified: IBM DB2 39
THANK YOU 40
Summary 41
Why Deploy Oracle Products on VMware? Performance Match Native Performance Even in Consolidation Scenarios 95%+ Oracle instances match native performance on VMware DB Consolidation Reduce HW costs by >50% Consolidate servers by 4X 20X DB On Demand Provision Databases On Demand Minutes to provision in production and in the lab Quality of Service Oracle Licensing Increase Application Quality of Service Scale dynamically Built-in High Availability and simple Disaster Recovery Take advantage of Oracle Licensing Increase utilization of Oracle licenses Dedicated VM Clusters 42
Virtualization References Virtualizing Performance-Critical Database Applications in VMware www.vmware.com/pdf/perf_esx40_oracle-eval.pdf Performance Best Practices for VMware www.vmware.com/pdf/perf_best_practices_vsphere4.0.pdf Performance Evaluation of Intel EPT Hardware Assist http://www.vmware.com/pdf/perf_esx_intel-epteval.pdf Oracle White Paper: Multi-core Processors: Impact of new Oracle Processor Core Factor Table on Oracle Processor Licensing www.bellmicro.eu/ie/downloads/multicore.pdf Virtual Machine Monitor Execution Modes in VMware vsphere www.vmware.com/files/pdf/perf-vspheremonitor_modes.pdf Real-world virtualization benchmarking: the best server CPUs compared http://www.anandtech.com/show/2770/10 43
www.emc.com/oraclesolutions Optimized Tiered Storage Virtualization Integrated Management Enhanced Data Protection 44
EMC Solutions for Oracle - Appendix Campaign Message Claims Proof Points Extreme Performance Without Extreme Cost EMC FAST Cache improves Oracle OLTP TPM up to 143% and allows 50% storage consolidation Scale Oracle Data Warehouse performance 2-300%; reduce management cost by 60% and consolidate storage EMC Virtual Provisioning increases Oracle OLTP TPM up to 91% without adding incremental storage capacity EMC FAST allows 15% reduction in storage TCO, with increased performance, and removes need for constant re-tiering THANK YOU Migrate Oracle in 3-5 minutes with 100% uptime using VMware VMotion EMC Virtual Infrastructure for Oracle enabled by VMAX and VMware vsphere 4 Make Oracle Easy (90% More Efficient) Deploy up to 10 dev/test environments in 10 minutes using VMware, EMC Replication Manager, EMC RecoverPoint EMC Replication Managers moves Oracle through maintenance with 90% less downtime Support Virtually Everything EMC RecoverPoint protects Oracle Applications and Oracle Database information with application-consistency DataDomain Deduplication = can drive 84-92% less storage consumption in 5 weeks Top reasons to virtualize Oracle with EMC and VMware EMC Global IT has virtualized over 500 Oracle Application Servers in production and non-production and Oracle Database Servers learn how we did it EMC Global Services and Global Support See last slide (need to document this or take something VMware has and add EMC to it) http://www.emc.com/collateral/software/whitepapers/h8018-fast-cache-oracle-wp.pdf http://www.emc.com/collateral/hardware/whitepapers/h7063-emc-it-migration-oracle-bi-grid-wp.pdf http://www.emc.com/collateral/software/whitepapers/h4283-implmntng-virtual-prving-symmetrix-dmxoracle-10g-11g-wp.pdf http://www.emc.com/collateral/software/whitepapers/h8040-leveraging-fast-oracle-wp.pdf http://www.emc.com/collateral/software/whitepapers/h7270-rapid-deployment-scale-out-oracle-wp.pdf www.emc.com/collateral/emc.../h6867-oracle-emc-itep.pdf http://www.emc.com/collateral/software/whitepapers/h6399-disaster-recovery-oracle-fusion-middlewarerecoverpoint.pdf http://www.emc.com/collateral/hardware/whitepapers/h7063-emc-it-migration-oracle-bi-grid-wp.pdf www.emc.com/collateral/emc.../h6867-oracle-emc-itep.pdf - need new EMC W/P on this just focused on virtualization Need to document our capabilities here inclusive of assessments w/ VMware and support statement details (including Oracle MetaLink statement) 45