S317077: Lessons from the RAC Pack: Oracle Real Application Clusters on Oracle VM - Best Practices

Similar documents
Oracle Real Application Clusters in Oracle VM Environments. An Oracle Technical White Paper March 2012

Virtualizing Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips

Virtualizing Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips

Provisioning Oracle RAC in a Virtualized Environment, Using Oracle Enterprise Manager

Power your cloud infrastructure with Oracle VM and Cisco!

Oracle Linux, Virtualization & OEM12 Discussion Sahil Mahajan / Sundeep Dhall

Oracle VM Workshop Applica>on Driven Virtualiza>on

Oracle RAC 11g Release 1 ( ) Oracle VM templates Linux X86 64bit and X86 32bit Test Configuration

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Configuring and Managing a Private Cloud with Oracle Enterprise Manager

The Oracle Database Appliance I/O and Performance Architecture

Solaris Engineered Systems

Database Level 100. Rohit Rahi November Copyright 2018, Oracle and/or its affiliates. All rights reserved.

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Exadata and OVM Best Practice Overview

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Enhancing Oracle VM Business Continuity Using Dell Compellent Live Volume

Virtualized Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips OTN South America Tour 2011 Brazil, Uruguay and Chile, July 2011.

White Paper. Dell Reference Configuration

Oracle Real Application Clusters (RAC) 12c Release 2 What s Next?

Virtualisation for Oracle databases and application servers

Experiences with OracleVM 3.3

Xen Summit Spring 2007

What s New for Oracle Database 11gR2 on Windows?

VMware vsphere 6.5 Boot Camp

Realize the True Potential of Server Virtualization with Oracle VM. Rossella Bellini Principal Sales Consultant HW Business Uniti

Oracle VM Template for MySQL Enterprise Edition =========================================================================== ===

Implementation and. Oracle VM. Administration Guide. Oracle Press ORACLG. Mc Grauv Hill. Edward Whalen

High Availability for Enterprise Clouds: Oracle Solaris Cluster and OpenStack

<Insert Picture Here> Linux: The Journey, Milestones, and What s Ahead Edward Screven, Chief Corporate Architect, Oracle

Create a DBaaS Catalog in an Hour with a PaaS-Ready Infrastructure

Mission-Critical Databases in the Cloud. Oracle RAC in Microsoft Azure Enabled by FlashGrid Software.

Private Cloud Database Consolidation Name, Title

Virtualization Strategies on Oracle x86. Hwanki Lee Hardware Solution Specialist, Local Product Server Sales

A Dell Technical White Paper Dell Virtualization Solutions Engineering

Oracle VM 3.3. Planning and Implementing

VMware vsphere with ESX 6 and vcenter 6

VMware vsphere with ESX 4.1 and vcenter 4.1

70-414: Implementing an Advanced Server Infrastructure Course 01 - Creating the Virtualization Infrastructure

Oracle 1Z Oracle VM 2 for x86 Essentials.

Oracle E-Business Suite: Migration to Oracle VM Template Based Deployment

Road to Private Cloud mit OpenStack Projekterfahrungen

NE Infrastructure Provisioning with System Center Virtual Machine Manager

1 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Rapid database cloning using SMU and ZFS Storage Appliance How Exalogic tooling can help

By the end of the class, attendees will have learned the skills, and best practices of virtualization. Attendees

Virtualizing Oracle E-Business Suite Through Oracle VM. Kai Yu Oracle Solutions Engineering Dell Inc.

Conference Oracle Database Appliance Virtualized Implementation with HA and DR for Banner Database and Application Servers.

Oracle VM: Designing, Creating and Testing an Oracle VM 3 Environment

"Charting the Course... VMware vsphere 6.7 Boot Camp. Course Summary

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. reserved. Insert Information Protection Policy Classification from Slide 8

Database Solutions Engineering. Dell Reference Configuration Deploying Oracle Database on Dell EqualLogic PS5000XV iscsi Storage

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

WHY SHOULD I USE OVM. For Oracle Databases By Francisco Munoz Alvarez Oracle Professional Services Manager

OEM Provisioning Concepts and Example

MySQL HA Solutions Selecting the best approach to protect access to your data

Building a RAC Test Environment on VMWare For Free. Dan Norris Thanks to Tim oracle-base.

Oracle Real Application Clusters (RAC) Your way to the Cloud

Infrastructure Provisioning with System Center Virtual Machine Manager

Oracle RAC Course Content

Database Services at CERN with Oracle 10g RAC and ASM on Commodity HW

Virtualization And High Availability. Howard Chow Microsoft MVP

The Fastest and Most Cost-Effective Backup for Oracle Database: What s New in Oracle Secure Backup 10.2

Enterprise Manager Cloud Control 12c Release 4 ( )

High Availability Infrastructure for Cloud Computing

Oracle Real Application Clusters One Node

An Oracle Technical White Paper September Oracle VM Templates for PeopleSoft

Improving Blade Economics with Virtualization

How to Deploy an Oracle E-Business Suite System in Minutes Using Oracle VM Templates

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Oracle Database 11g Direct NFS Client Oracle Open World - November 2007

Oracle Database 12c Flex Clusters

Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic iscsi storage

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2 NEW

Learn Your Alphabet - SRIOV, NPIV, RoCE, iwarp to Pump Up Virtual Infrastructure Performance

Enterprise Manager Snap Clone Snapshot your data without snapping your storage David Wolf Director of Product Management

Atos TM Virtualization Solutions

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Overview. Prerequisites. VMware vsphere 6.5 Optimize, Upgrade, Troubleshoot

BENEFITS AND BEST PRACTICES FOR DEPLOYING SSDS IN AN OLTP ENVIRONMENT USING DELL EQUALLOGIC PS SERIES

An Oracle Technical White Paper December Best Practices and Guidelines for Deploying the Oracle VM Blade Cluster Reference Configuration

Zero Data Loss Recovery Appliance DOAG Konferenz 2014, Nürnberg

Oracle Enterprise Manager 12c IBM DB2 Database Plug-in

Surveillance Dell EMC Storage with Cisco Video Surveillance Manager

Oracle Enterprise Manager Ops Center

Solution-in-a-box: Deploying Oracle FLEXCUBE v12.1 on Oracle Database Appliance Virtualized Platform ORACLE WHITE PAPER JULY 2016

ORACLE RAC DBA COURSE CONTENT

Dell Reference Configuration for Large Oracle Database Deployments on Dell EqualLogic Storage

Moving Databases to Oracle Cloud: Performance Best Practices

Dell s High Availability Cluster Product Strategy

Red Hat enterprise virtualization 3.1 feature comparison

Microsoft Office SharePoint Server 2007

High Performance Database on Bare Metal Cloud Services

Dell TM with Oracle Database Enterprise Edition Running Windows Server 2008

[TITLE] Virtualization 360: Microsoft Virtualization Strategy, Products, and Solutions for the New Economy

Oracle Database Appliance

1Z Oracle Real Application Clusters 12c Essentials Exam Summary Syllabus Questions

Maximum Availability Architecture (MAA): Oracle E-Business Suite Release 12

Surveillance Dell EMC Storage with Milestone XProtect Corporate

Dell DVS. Enabling user productivity and efficiency in the Virtual Era. Dennis Larsen & Henrik Christensen. End User Computing

Transcription:

1

<Insert Picture Here> S317077: Lessons from the RAC Pack: Oracle Real Application Clusters on Oracle VM - Best Practices Saar Maoz RACPack Oracle RAC Development Roger Lopez Oracle Database Solutions - DELL

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. 3

Agenda Oracle RAC & Oracle VM Overview Oracle RAC on Oracle VM Best Practices Oracle RAC Oracle VM Templates Partner Perspective Dell Demos Standard Build Dom0 Build Add / Remove Nodes / Instances Live Migration 4

Oracle RAC Architecture Node1 VIP1 Service Listener public network VIP2 Service Listener / / Node 2 VIPn Service Listener Node n instance 1 instance 2 instance n ASM ASM ASM Oracle Clusterware Oracle Clusterware Oracle Clusterware Operating System Operating System Operating System shared storage Managed by ASM RAW / Block Devices Redo / Archive logs all instances Database / Control files OCR and Voting Disks 5

Oracle RAC in Oracle VM Architecture Service Service Listener Listener instance 1 instance 2 Oracle ASM Oracle ASM Oracle Clusterware Oracle Clusterware Dom0 OS Guest OS Operating Guest System OS Operating Guest System OS Guest OS Dom0 OS DOM 0 Guest VM Guest VM Guest VM Guest VM DOM 0 DOM-0 Hypervisor Hypervisor DOM-0 X86/64 Bare-Metal Server X86/64 Bare-Metal Server CPU CPU CPU I/O I/O Mem Mem Mem CPU CPU CPU I/O I/O Mem Mem Mem 6

RAC on OVM Deployment Configuration Two types of deployments Production Oracle RAC OVM Configurations [Supported] Each RAC node must be deployed on a separate physical server for production environments Shared database disks must be on physical disks Test Oracle RAC OVM Configurations Above requirements are relaxed 7

Oracle RAC on Oracle VM Production Deployment Service Service Listener Listener instance 1 instance 2 Oracle ASM Oracle ASM Oracle Clusterware Oracle Clusterware Dom0 OS Operating Guest System OS Operating Guest System OS Dom0 OS DOM 0 Guest VM Guest VM DOM 0 DOM-0 Hypervisor Hypervisor DOM-0 X86/64 Bare-Metal Server X86/64 Bare-Metal Server CPU CPU CPU I/O I/O Mem Mem Mem CPU CPU CPU I/O I/O Mem Mem Mem 8

Oracle RAC on Oracle VM Non-Production deployment Dom0 OS DOM 0 Service Listener instance 2 Oracle ASM Oracle Clusterware Operating Guest System OS Guest VM Service Listener instance 1 Oracle ASM Oracle Clusterware Operating Guest System OS Guest VM DOM-0 Hypervisor X86/64 Bare-Metal Server DM-0 CPU CPU CPU I/O I/O Mem Mem Mem 9

RAC OVM Templates - Availability Available for 11.1.0.7.2, 11.2.0.1.2, 11.2.0.2.0 on Linux 32 and 64 bits Download from e-delivery or My Oracle Support Note:1185244.1: https://support.oracle.com/oip/faces/secure/km/documentdisplay.jsp x?id=1185244.1 Templates are distributed as archive files containing two disk images Oracle Enterprise Linux 5 U4 system disk image Oracle RAC install disk image (Clusterware, Database, ASM) All homes updated to latest Bundle / CPU Patch level Entire install is automated, with the user only providing minimal input parameters. 10

RAC OVM Templates - Delivery Mechanism 32 bit and 64bit versions Image files are built with sparse file support Inside each zip are tgz archives with the following files: VM Config file (text file) Opatch lsinventory sample output README / PDFs for installing Disk 1 image file: Operating System Disk 2 image file: Oracle Software Includes Clusterware, ASM and RAC 11

RAC OVM Templates - Features Builds production ready Oracle RAC (Cluster) in about 30 minutes 11.1: 2-node, then manual add node 11.2: N-node initial build, automated add/remove nodes 11.2 Templates allow Standard 2-node build (Interview based) Automatic network setup directly from Dom0 N-node build, also directly from Dom0 Run as root, oracle/grid users (w/sudo configured on build node only) Automatic add/remove any number of nodes or instances Options to modify environment after a build (Create DB, add DB Console) Optionally create an ACFS filesystem on all nodes Support for role separation or non-role separation (default) 12

Simple 2 Node Interview 13

Partner Perspective DELL 14

Building Clusters with more than 2 nodes True Silent Install Customer supplies an initialisation file. (netparams.ini) Stamp file into shared storage netparams.ini # Node specific information NODE1=test170 NODE1IP=192.168.1.170 NODE1PRIV=test170-priv NODE1PRIVIP=10.10.10.170 NODE1VIP=test170-vip NODE1VIPIP=192.168.1.172 Repeat this section, identifying the 6 attributes for each node Power on new nodes and pass command on grub boot-up line NODE2=test171 NODE2IP=192.168.1.171 NODE2PRIV=test171-priv NODE2PRIVIP=10.10.10.171 NODE2VIP=test171-vip NODE2VIPIP=192.168.1.173 15

Oracle RAC on Oracle VM Best Practices Oracle RAC in Oracle VM whitepaper on OTN http://www.oracle.com/technetwork/database/clustering/oraclerac-in-oracle-vm-environment-131948.pdf Oracle VM Server Size as you would a bare metal real server Ensure enough CPU, network, and IO bandwidth for the guests Do not overload Dom0 with unnecessary packages, products and workload Dom-U (Guests) Same traditional questions How many CPUs do you need? How much I/O and network bandwidth should be dedicate? 16

Oracle RAC on Oracle VM Best Practices (Cont d) Over-Committing Do not over-commit CPUs or memory unless workload allows for it Configure Time synchronization Set guests to manage their own system clocks set xen.independent_wallclock=1 in /etc/sysctl.conf Diagwait Set explicitly to 13 for 10g and 11g Release 1 Not required for 11g Release 2 Not OVM specific See Metalink Note 580296.1 for more information 17

Oracle RAC on Oracle VM Best Practices (Cont d) In Dom0, configure two or more HBAs/NICs for redundancy HBAs/NICs should be configured as multipath-ed devices in Dom0 Configure device persistency in Dom0 Use vendor multipathing or dm-udev in Dom0 Optionally configure physical block devices (in DomU) as ASMLIB disks 18

RAC on OVM Disk Configuration (Production) # xen xen config file example for for RAC RAC Guest Domain name = vmrac1" memory = 8192" phy disk = [ 'phy:/dev/mapper/mpath3p1,xvda,w', W! 'phy:/dev/mapper/mpath4p1,xvdb,w!', 'phy:/dev/mapper/mpath5p1,xvdc,w!', ] vif vif = [ 'mac=00:16:3e:00:00:08, bridge=xenbr0', 'mac=00:16:3e:10:a5:96, bridge=xenbr1', ] vfb vfb = ["type=vnc,vncunused=1"] uuid = "3d6f1de4-626c-e02a-42a1-458c9c17e728" bootloader="/usr/bin/pygrub" vcpus=8 on_reboot = 'restart' on_crash = 'restart' 19

RAC on OVM Network Configuration Use dedicated network devices For each host a minimum of two 1Gb Ethernet NICs Public Network Private Network Extra Ethernet NICs required if network based storage connectivity (iscsi or NFS) is used For complete network redundancy, 4-6 NICs recommended Bond ethx interfaces in Dom0 for HA These networks can be shared with multiple RAC VM guests, but network bandwidth and capacity needs to reviewed and correctly sized 20

RAC on OVM Network Configuration O ra c le V M G u e s t 1 G u e s t 2 P u b lic n e tw o rk P riv a te n e tw o rk P u b lic n e tw o rk P riv a te n e tw o rk e th 0 e th 1 e th 0 e th 1 D o m a in -0 x e n b r0 x e n b r 1 b o n d 0 b o n d 1 e th 0 e th 1 e th 2 e th 3 P u b lic N e tw o rk S w itc h 1 P u b lic N e tw o rk S w itc h 2 P riv a te N e tw o rk S w itc h 1 P riv a te N e tw o rk S w itc h 2 21

Oracle VM Templates Rapid Application Deployment RAC E-Delivery Download from Oracle Pre-built, pre-configured VM Complete Clusterware, ASM, RAC installation Database 11g, Enterprise Manager dbcontrol Save days or weeks in installation and configuration time RAC VM 1 RAC VM 2 VM VM Oracle VM Server Pool VM Customize & Save as Golden Images File Start-Up in Oracle VM Pool Oracle VM Servers Import to Oracle VM Manager NAS, SAN, iscsi VM 22

RAC on OVM Best Practices Summary Each RAC node must be deployed on a separate physical server for production environments Be conservative if planning on over-committing CPUs or memory when running RAC on OVM. Configure disk multi-pathing and NIC bonding in Dom0 To sustain required I/O throughput, ensure sufficient CPU resources are allocated to hypervisor (Dom0) Use the ready-made RAC OVM Templates! 23

See You in Oracle World 2011 Oracle RAC OVM Templates download locations 11.1.0.7 & 11.2.0.1 from e-delivery 11.1:http://www.oracle.com/technetwork/database/clustering/overview/ra c-092962.html 11.2.0.1:http://www.oracle.com/technetwork/database/clustering/overvie w/rac-template-11grel2-166623.html 11.2.0.2 from My Support: http://support.oracle.com/ Patch# 10113572 All described in Note:1185244.1: https://support.oracle.com/oip/faces/secure/km/documentdisplay.jspx?id=1 185244.1 Oracle RAC related sessions at Oracle World 2010 http://www.oracle.com/us/openworld/oow10-focuson-real-app-clstr- 167735.pdf Linux related sessions at Oracle World 2010 http://www.oracle.com/us/openworld/oow10-focuson-linux-166861.pdf 24

Q U E S T I O N S A N S W E R S 25

26

Oracle OpenWorld 2010 Roger Lopez Systems Engineer Global Marketing

Oracle Database Solutions - Charter Our Charter Deliver robust, reliable, and scalable solutions that solve customer problems while removing complexity and providing choice Complete ownership of the product design & development cycle which includes: Integration Validation Bundling Sustaining 2 Global Marketing

Building Block Approach Software Database Database Applications Operating Systems Enterprise Linux Microsoft Windows 2003 SP2/2008/2008 R2 Server PowerEdge Servers (Rack / Tower / Blade) Fabric 10GbE/1GbE Fibre Channel SAS SATA Storage iscsi Storage FC SAN Global Marketing

Oracle Database Solutions - Deliverables Create Reference Architectures Write Best Practices Deliver quarterly solutions that include the following collaterals: Deployment scripts Deployment guides Solution Deliverable List (SDL) Oracle Solutions Advisor Tool found at http://www.dell.com/oracle 4 Global Marketing

How Dell uses Oracle VM Templates At Dell, we use Oracle VM Templates to do the following: To build solutions around Oracle s templates To ease the installation process for development environments To distribute templates for Dell IT development teams To maintain a standard for deploying OS/Oracle software/patching upgrades across Dell IT 5 Global Marketing

To learn more about how Dell can help you drive an Efficient Enterprise visit: Dell s onsite TSR for a free quote Michael Dell s keynote on Wednesday at 8 a.m. One of Dell s 20 conference sessions www.dell.com/oracle Global Marketing