Building Oracle Grid with Oracle VM on Blade Servers and iscsi Storage. Kai Yu Dell Oracle Solutions Engineering

Similar documents
Virtualized Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips Kai Yu Oracle Solutions Engineering Dell Inc

Configuring and Managing a Private Cloud with Enterprise Manager 12c

BUILDING AN ORACLE GRID BLADE SERVERS AND DELL EQUALLOGIC ISCSI STORAGE WITH ORACLE VM ON DELL. A Dell Technical White Paper

Automated Deployment of Oracle RAC Using Enterprise Manager Provisioning Pack

High Availability Infrastructure for Cloud Computing

INTRODUCTION TO CLOUD MANAGEMENT

Implementing Oracle Grid: A Successful Customer Case Study

High Availability Infrastructure of Database Cloud: Architecture, Best Practices. Kai Yu Oracle Solutions Engineering, Dell Inc.

IOUG Virtualization SIG - Online Symposium Kai Yu Oracle Solutions Engineering, Dell Inc.

Ultimate Guide to Oracle Storage

Oracle VM Server Recovery Guide. Version 8.2

Design and Implement a Self- Service Enabled Private Cloud with Oracle Enterprise Manager 12c

CON9488 The Enterprise Cloud Simplified with Oracle VM

INTRODUCTION APPLICATION DEPLOYMENT WITH ORACLE VIRTUAL ASSEMBLY

1 P a g e Delivering Self -Service Cloud application service using Oracle Enterprise Manager 12c

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

<Insert Picture Here> Oracle VM and Cloud Computing

WebLogic on Oracle Database Appliance: Combining High Availability and Simplicity

<Insert Picture Here> Enabling Cloud Deployments with Oracle Virtualization

<Insert Picture Here> Introducing Oracle VM: Oracle s Virtualization Product Strategy

How To Install An Org Vm Server On A Virtual Box On An Ubuntu (Orchestra) On A Windows Box On A Microsoft Zephyrus (Orroster) 2.5 (Orner)

Hard Partitioning and Virtualization with Oracle Virtual Machine. An approach toward cost saving with Oracle Database licenses

Ensure the RAC High Availability: Storage and Network Side Story

<Insert Picture Here> Xen Virtualization with Oracle: Commitment, Integration, Mission-critical Virtualization

Implement & Manage IaaS and Self Service Portal with Enterprise Manager 12c

Oracle Virtualization Strategy and Roadmap

Rob Zoeteweij CUSTOMER CASE CONFIGURATION MANAGEMENT PROVISIONING & AUTOMATED PATCHING

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager

An Oracle White Paper August Oracle VM 3: Server Pool Deployment Planning Considerations for Scalability and Availability

Data Center Op+miza+on

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager. Kai Yu, Orlando Gallegos Dell Oracle Solutions Engineering

VMware vsphere 5.1 Advanced Administration

VMware vsphere 5.0 Boot Camp

Converting Linux and Windows Physical and Virtual Machines to Oracle VM Virtual Machines. An Oracle Technical White Paper December 2008

Enabling Multi-pathing on ESVA with Red Hat Enterprise Linux 6 Device Mapper

A Highly Versatile Virtual Data Center Ressource Pool Benefits of XenServer to virtualize services in a virtual pool

Virtualization Strategy with Oracle VM and Oracle Linux. Bjorn Naessens

An Oracle Technical White Paper August Oracle VM: Designing, Creating and Testing an Oracle VM 2.2 Environment

Oracle Applications and Cloud Computing - Future Direction

Planning, Provisioning and Deploying Enterprise Clouds with Oracle Enterprise Manager 12c Kevin Patterson, Principal Sales Consultant, Enterprise

An Oracle White Paper October Oracle VM 3: Quick Start Guide

Dell High Availability Solutions Guide for Microsoft Hyper-V

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

<Insert Picture Here> Infrastructure as a Service (IaaS) Cloud Computing for Enterprises

Agenda About SUNY and ITEC Cloud project Challenges and Use cases for ITEC Cloud EM Solution Business Benefits

Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies

Building Storage Service in a Private Cloud

CON9577 Performance Optimizations for Cloud Infrastructure as a Service

Running Oracle Databases in a z Systems Cloud environment

Monitor Your Engineered Systems From a Single Pane Of Glass

Oracle Cloud Storage and File system

White Paper. Dell Reference Configuration

Oracle Networking and High Availability Options (with Linux on System z) & Red Hat/SUSE Oracle Update

Avnet Guide to Oracle: Oracle Linux

Oracle Software. Hardware. Training. Consulting. Mythics Complete.

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

Deploying Microsoft Hyper-V with Dell EqualLogic PS Series Arrays

Linux/Open Source and Cloud computing Wim Coekaerts Senior Vice President, Linux and Virtualization Engineering

Building Active/Passive Clusters with Oracle Fusion Middleware 11g

What s New with VMware Virtual Infrastructure

Google

An Oracle Technical White Paper May Oracle Optimized Solution for Enterprise Cloud Infrastructure

Oracle Products on SUSE Linux Enterprise Server 11

EMC MIGRATION OF AN ORACLE DATA WAREHOUSE

Dell EqualLogic Red Hat Enterprise Linux 6.2 Boot from SAN

IOS110. Virtualization 5/27/2014 1

Cloud Computing through Virtualization and HPC technologies

Cloud Server. Parallels. Key Features and Benefits. White Paper.

Using Dell EqualLogic and Multipath I/O with Citrix XenServer 6.2

ORACLE CONFIGURATION SERVICES EXHIBIT

An Oracle White Paper June, Provisioning & Patching Oracle Database using Enterprise Manager 12c.

About the Author About the Technical Contributors About the Technical Reviewers Acknowledgments. How to Use This Book

High Availability Databases based on Oracle 10g RAC on Linux

Oracle Solutions on Top of VMware vsphere 4. Saša Hederić VMware Adriatic

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

Virtualizare sub Linux: avantaje si pericole. Dragos Manac

Sanbolic s SAN Storage Enhancing Software Portfolio

Downtime, whether planned or unplanned,

How To Install Eucalyptus (Cont'D) On A Cloud) On An Ubuntu Or Linux (Contd) Or A Windows 7 (Cont') (Cont'T) (Bsd) (Dll) (Amd)

Best Practices for Deploying & Tuning Oracle Database 12c on RHEL6

Reference Architecture for Dell VIS Self-Service Creator and VMware vsphere 4

MS 10751A - Configuring and Deploying a Private Cloud with System Center 2012

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

Private Cloud for WebSphere Virtual Enterprise Application Hosting

Private cloud computing advances

Lecture 2 Cloud Computing & Virtualization. Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu

Cloud Storage. Parallels. Performance Benchmark Results. White Paper.

VMWARE VSPHERE 5.0 WITH ESXI AND VCENTER

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated R2

Enabling Technologies for Distributed Computing

An Oracle White Paper February Why Oracle VM is the Best Platform for Deploying Oracle Database

<Insert Picture Here> Cloud Computing Strategy

DELL. Dell Microsoft Windows Server 2008 Hyper-V TM Reference Architecture VIRTUALIZATION SOLUTIONS ENGINEERING

Transcription:

Building Oracle Grid with Oracle VM on Blade Servers and iscsi Storage Kai Yu Dell Oracle Solutions Engineering

About Author Kai Yu 15 years with Oracle technology, specialized in Oracle Grid/RAC, Oracle Apps and Oracle VM Oracle ACE Director, Oracle papers author and frequent presenter at OOW and Collaborate IOUG Oracle RAC SIG president Dell Oracle Solutions Engineering Lab Dell s Oracle Technology solutions based on Dell PE servers and Dell storages. The solutions stack: servers, storage, network, OS, virtualization, Oracle RAC, Oracle Apps

Agenda Introduction to Oracle Grid Grid Reference Configuration POC Project Grid Implementation Consolidate Applications on Grid QA

Introduction to Oracle Grid Enterprise Grid Computing Group independent hardware and software components in to a single resource pool Can be provisioned, distributed and redistributed on demand Standardization, Virtualization, Automation Benefit of Grid Computing Quickly meet the changing of business needs Dynamically allocate the resources for changing workloads Resource consolidation and sharing reduce the IT cost Providing Predictable service levels Key Technologies for Oracle Grid Sever clustering: Real Applications Cluster (RAC) Server Virtualization: Oracle VM Storage Virtualization: Automatic Storage Management (ASM) Management and Provisioning: Oracle Enterprise Manager

Introduction to Oracle Grid Oracle Real Application Clusters Multiple instances running on many hosts interconnected by high speed private network share a single database Oracle Cache Fusion Technology for node synchronization All Instances can execute transactions simultaneously on the single database in the shared storage Provide High Availability for the applications Scalability, special useful for commodity hardware. Automatic Storage Management (ASM) An integrated file system and volume manager Spread data evenly on disks; automatically rebalance Easy management of file system Provide shared storage for RAC nodes

Introduction to Oracle Grid

Introduction to Oracle Grid Oracle VM Technology Virtual Server: Xen Hypervisor, management domain dom0 Linux kernel with support of devices, IO, networking, etc. Virtual Server Pool: an autonomous region of VM servers VM: guest OS with applications running on domu

Introduction to Oracle Grid

Introduction to Oracle Grid Enterprise Grid vs Cloud Computing Dynamic shared infrastructure as the basis of Cloud computing Provide the key building blocks for cloud computing Help IT build private cloud and cloud-like infrastructure Engineering solution on Grid Computing Provide customers a solution that builds cloud like services Complete stack of software and hardware platform Provide building, deploying and managing solutions Ensure customers the enterprise grade configuration Engineering Solution through the Oracle Grid Proof of Concept project

Grid Architecture Design Grid Reference POC Project Engineering solution for Grid Architecture and implementation Design/implement an enterprise grade Grid infrastructure Dynamically provision multi-tier applications in a single Grid Based on commodity hardware and SAN storage Grid Architecture Physical Grid on clustering: 8 + nodes Oracle 11g RAC Virtual Grid: a set of virtual machines running on Oracle VM servers based on Dell Blades Grid control as the unified management Grid Hardware Platform Commodity Hardware: Dell 11g Blade Servers: Shared SAN storage: Dell EqualLogic iscsi storage

Physical View Logical View Grid Architecture Design

Grid Architecture Design

Grid Architecture Design

Implementation Tasks Configure Grid Control Management Infrastructure Configure EqualLogic Shared storage Configure Physical Grid Configure Virtual Grid Grid Control Management Configuration Oracle Enterprise Linux OEL 4.7 64 bit Oracle Enterprise Manager Grid control 10.2.0.3 Grid control 10.2.0.5 upgrade Enable Virtual Management Pack Restart OMS server

Blade servers connect to EqualLogic SAN Storage

EqualLogic shared storage configuration Storage volumes for the Physical Grid Volume Size Raid Used for OS Mapping blade_crs 2GB 10 OCR/Votingdisk Yes blade_data1 100GB 10 Data for DB1 ASM diskgroup1 blade_data2 100GB 10 Data for DB2 ASM diskgroup2 blade_data3 150GB 10 Data for DB3 ASM diskgroup3 blade_data5 150GB 10 Data for DB4 ASM diskgroup5 Volume Size Raid Used for OS Mapping Storage volumes for the Virtual Grid blade_data4 400GB 10 VM Repositories /OVS blade_data6 500GB 10 VM Repositories /OVS/9A87460A7EDE4 3EE92201B8B7989DBA 6 vmcor1-5 1GB each 10 OCR/vogtingdisk 2XOCRs/3Xvotingdisks vmracdb1 50GB 10 Data for RAC DB ASM diskgroup1 vmracdb2 50GB 10 Data for RAC DB ASM diskgroup2

EqualLogic storage management console

Physical Grid Configuration : 8-node 11g RAC Network configuration Network Interface IO modules Connections IP address eth0 A1 Public Network 155.16.9.71-78 eth2 B1 iscsi connection 10.16.7.241-255(odd) eth3 B2 iscsi connection 10.16.7.240-254(odd) eth4,eth5 C1,C2 Bonded to bond0 192.168.9.71-78 VIP Virtual IP for 11g RAC 155.16.9.171-178 iscsi storage connections Configure host access to storage: eth2 and eth3, /etc/iscsi/iscsid.config iscsi interfaces: i-eth2 on eth2, i-eth3 on eth3: iscsiadm -m iface -I i-eth2 --op=new iscsiadm -m iface -I i-eth2 --op=update -n iface.hwaddress -v <hwadd> iscsiadm -m discovery -t st -p 10.16.7.100 --interface=i-eth2 --interface=i-eth3 iscsiadm -m node -p 10.16.7.100 --interface i-eth3 --login iscsiadm -m node -p 10.16.7.100 --interface i-eth2 login Check Partitions : more /proc/partitions:

Find iscsi ID: /sbin/scsi_id -gus /block/sdd Linux Device Mapper to establish mutipath devices to storage alias: /etc/multipath.conf. multipaths { }. } multipath { wwid 36090a0287065124c45a2941c7fc76340 alias ocr_crsp14 service multipathd restart Check multipath devices in /dev/mapper: ocr-crsp1, data1, data2, data3, data5 Make partitions: fdisk

Use block devices for 11g Clusterware and RAC databases: OCRs, Votingdisks and ASM diskgroups. Configure 11g RAC database Infrastructure 11g RAC clusterware configuration: private interconnect : bond0 OCRs and votingdisks on mutipath devices 11g ASM configuration: ASM instances provide the storage virtualization 11g RAC software to provide the database services Grid control agent 10.2.0.5 to connect to OMS server

Consolidate Databases Sizing the DB: Storage, # of DB instances, which nodes to run Provision the storage/asm diskgroup Create the database For some ERP applications, convert the installed DB to RAC

Scale out the physical Grid Infrastructure Add more databases to the Grid Increase capability of the existing databases Scale out the storage: add additional EqualLogic array expand existing or create new volumes make new volume accessible to the servers add new ASM diskgroup or add disk to the existing diskgroup or resize the disk of an diskgroup Add new node to the cluster Dynamically move the database to less busy node:

Implementation Tasks Overview Virtual servers Installation Virtual server network and storage configuration. Connect VM servers to the Grid Control Create guest VM using VM template Configure the VMs using VM Management Pack with Oracle Enterprise Manager Virtual Server Installation Prepare local disk and enable virtualization on BIOS Install Oracle VM server Change Dom0 memory : /boot/grub/menu.lst: edit line: kernel /xen-64bit.gz dom0_mem=1024m Ensure VM agent working: #service ovs-agent status

Oracle VM server network configuration

Configure shared storages on dom0 OVM repositories : blade_data4: 400GB, Shared disks for Oracle RAC on VMs Configure iscsi and multipath devices on dom0 /dev/mapper/ovs_data4p1 Put OVM repository on blade_data4p1 (OVM 2.1) mkfs.ocfs2 -b 4k -C 64k -L ovs /dev/mapper/ovs_data4p1 unmount /OVS, moun new OVS: mount -a -t ocfs2 edit /etc/fstab to include the new /OVS partiotion create directories : iso_pool, proxy, running_pool, seed_pool, shareddisk under /OVS

Put OVM repository on blade_data4p1 (OVM 2.2) service iptables stop; service o2cb configure, mkfs.ocfs2 -Tdatafiles -N8 /dev/mapper/p1ovsdisk1p1 remove the local /OVS: /opt/ovs-agent-2.3/utils/repos.py -l [ * ] 9e7012d5-69ba-4ac2-a58d-3400cd044efc => /dev/sda3 /opt/ovs-agent-2.3/utils/repos.py -d 9e7012d5-69ba-4ac2-a58d- 3400cd044efc create new repository on shared devices; /opt/ovs-agent-2.3/utils/repos.py -n /dev/mapper/p1ovsdisk1p1 [ NEW ] 567d581b-ec4a-4da8-94df-841dc0c5a390 => /dev/mapper/p1ovsdisk1p1 create the newly created repository the cluster root repository: /opt/ovs-agent-2.3/utils/repos.py -r 567d581b-ec4a-4da8-94df- 841dc0c5a390 [ R ] 567d581b-ec4a-4da8-94df-841dc0c5a390 => /dev/mapper/p1ovsdisk1p1 Reboot all the VM servers

VM Management tools: Oracle VM Manager Enterprise Manager: VM Management Pack Connect the VM servers to Enterprise Manager Pre-requisites Steps: oracle user in oinstall group, oracle ssh user equivalence between dome0 and OMS server, Oracle user sudo privileges : /etc/sudoers

Create VM server Pool: login to Grid control

Add additional virtual servers to the VM server pool

Create Guest VMs using VM template Virtual Machine as node of Virtual Grid Create guest VM using VM templates Import a VM template: download template; Discover VM template

Create VM using the template

Prepare storage for VMs: virtual disks: From the Images files in repository: Local disk: Shared disk Disks as resources for VM:

Add local disk to the VM Attach shared disk to the VM s

Disks shown in VM as the virtual disk partitions: Attached the storage to the guest VM a) vm.cfg: disk = [''file:/ovs/shareddisk/racdb.img,xvdc,w!', b) vm.cfg: disk = [' phy: /dev/mapper/vmracdbp1, xvdc,w!', Virtual network interface through Xen bridges vm.cfg: vif = ['bridge=xenbr0,mac=00:16:3e:11:8e:ce,type=netfront', 'bridge=xenbr1,mac=00:16:3e:50:63:25,type=netfront',] xenbr0 eth0 in the guest VM xenbr1 eth1 in the guest VM

Storage/Network configuration for 11g RAC on VMs:

Consolidate Applications Consolidate enterprise applications on the Grid Applications and middleware on the virtual Grid VMs Applications Application VM templates->new VMs Application template VMs Modification New application template Import: existing VM: Copy VM image Import VM image Deploy database service on the physical Grid Provisiong Storage Attach storage to Nodes ASM diskgroup Database create Schema->connect to Database Deploy DEV/Test Application suite on the virtual Grid Multi-tier nodes are on the VMs Fast deployment based on templates

Consolidate Applications Grid Architecture to host applications Grid Structure and Applications Physical Grid Virtual Grid VM server Pool 11g RAC Databases Grid Big_5 2vm2 11g RAC nvmr ac4 ebs2a pp2 EBS R12 Test Suite on VMs Banner RAC DB Bann 1 Bann 2 ebs2d b1 Other Database Apps 1 Apps 2 ebsap p1 EBS R12 Apps Tier on VMs EBS RAC DB Other Database Oracle VM EqualLogic SAN storage

Consolidate Applications Oracle E-Business Suite Applications:

Consolidate Applications Virtual Grid shown on Grid Control Virtual Central

SUMMARY Dell Grid POC: Oracle Grid on Dell Blades and EqualLogic Oracle Enterprise Manager Grid control for management Provides the infrastructure to consolidate the enterprise applications and databases Acknowledgement: David Mar, Roger Lopez (Dell Oracle Solutions Engineering), John Tao(Dell IT), Rajat Nigam(Oracle) Related Dell Oracle Whitepapers: 1) Building an Oracle Grid with Oracle VM on Dell Blade servers and Dell EqualLogic iscsi storage 2) Implementing Oracle E-Business Suite in a Scalable and Reliable Virtual System Architecture 3) Efficient Deployment of Oracle Real Application Clusters (RAC) in a Virtualized Environment Using Enterprise Manager Provisioning Pack

References 1. Best Practices of Deployment of Oracle ASM with Dell EqualLogic PS iscsi Storage System, Dell White Paper 2. Oracle Press Release: Oracle Enterprise Manager Extends Management to Oracle VM Server Virtualization 3. Oracle Enterprise Manager Concepts 10g Release 5 (10.2.0.5) Part Number B31949-10 4. Oracle Enterprise Manager Grid Control ReadMe for Linux x86-64 10g Release 5 (10.2.0.5) April 2009 5. How to Enable Oracle VM Management Pack in EM Grid Control 10.2.0.5, Metalink Note #: 781879.1 6. Oracle VM: Converting from a Local to Shared OVS Repository, Metalink note # 756968.1 7. How to Add Shared Repositories to Oracle VM Pools with Multiple Servers, Metalink Note # 869430.1 8. Implementing Oracle Grid: A successful Customer Case Study, Kai Yu, Dan Brint, IOUG Select Journal Volume 16, Number 2, Second Quarter 2009 9. Deploying Oracle VM Release 2.1 on Dell PowewrEdge servers and Dell/EMC storage Dell white paper 10. Dell Reference Configuration Deploying Oracle Database on Dell EqualLogic PS5000XV iscsi Storage A Dell Technical White Paper 11. Technical Best Practices for Virtualization & RAC Oracle RAC SIG webseminar slides, Michael Timpanaro-Perota & Daniel Dibbets 12. Kai Yu s Oracle Blog

QA

Thank You Please Complete the Survey (presentation #705, Building Oracle Grid with Oracle VM on blade servers and iscsi storage, Presenter: Kai Yu) Visit Kai s Oracle Blog: http://kyuoracleblog.wordpress.com