Virtualisation for Oracle databases and application servers

Similar documents
Oracle for administrative, technical and Tier-0 mass storage services

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

<Insert Picture Here> Application-Aware Virtualization

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

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

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

Oracle for administrative, technical and Tier-0 mass storage services

Experiences with OracleVM 3.3

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

Remote power and console management in large datacenters

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

Vendor: Oracle. Exam Code: 1Z Exam Name: oracle VM 2 for x86 Essentials. Version: Demo

ELFms industrialisation plans

F5 BIG-IQ Centralized Management and Linux Xen Project: Setup. Version 5.0

OPS-9: Fun With Virtualization. John Harlow. John Harlow. About John Harlow

Oracle VM Server Recovery Guide. Version 8.2

Installing and Configuring Oracle VM on Oracle Cloud Infrastructure ORACLE WHITE PAPER NOVEMBER 2017

Oracle VM Workshop Applica>on Driven Virtualiza>on

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

XEN and KVM in INFN production systems and a comparison between them. Riccardo Veraldi Andrea Chierici INFN - CNAF HEPiX Spring 2009

Installing and Configuring Oracle VM on Oracle Cloud Infrastructure O R A C L E W H I T E P A P E R D E C E M B E R

Oracle VM Tips and Best Practices

BIG-IP Virtual Edition and Xen Project: Setup. Version 13.1

EM 12c: Broadest, Most Complete Range of Enterprise Services

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

Oracle Virtual Machine Qualification Note Oracle FLEXCUBE Release [May] [2017]

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

Baremetal with Apache CloudStack

vsphere Upgrade Update 1 Modified on 4 OCT 2017 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Transparent Service Migration to the Cloud Clone existing VMs to CloudStack/OpenStack templates without user downtime. CloudOpen Seattle 2015

HP integrated Citrix XenServer Online Help

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

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

Configure Windows Server 2003 Release 2 Server Network File Share (NFS) as an authenticated storage repository for XenServer

ElasterStack 3.2 User Administration Guide - Advanced Zone


OLT Us e r Guide for Or acle VM

Exam Name: VMware Certified Professional on vsphere 5 (Private Beta)

Deploying Fusion Middleware in a 100% Virtual Environment Using OVM

Oracle Corporation 1

Xen Summit Spring 2007

Virtualizing Oracle on VMware

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

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

Integrating ovirt, Foreman And Katello To Empower Your Data-Center Utilization

Replace Single Server or Cluster

INNOV-4: Fun With Virtualization. Or, How I learned to love computers that don t really exist...

Integration of Oracle VM 3 in Enterprise Manager 12c

User Guide for XenServer Fuel Plugin

Intel Cloud Builder Guide: Cloud Design and Deployment on Intel Platforms

XenSource s Xen testing infrastructure

Configuring and Managing a Private Cloud with Oracle Enterprise Manager

PassTest. Bessere Qualität, bessere Dienstleistungen!

Towards Massive Server Consolidation

Invirt: A Technical Overview

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

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

Oracle Enterprise Manager Ops Center 12c Administration Ed 3

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

<Insert Picture Here> Virtualisierung mit Oracle VirtualBox und Oracle Solaris Containern

Oracle Weblogic products are available at

OEM Provisioning An Introduction

Certified Reference Design for VMware Cloud Providers


1Y0-A26 Citrix XenServer 6.0 Practice Exam

About John Harlow. About BravePoint. OPS- 4: Fun With Virtualization

Audience Data center administrators responsible for designing, installing and configuring a private cloud infrastructure.

Acronis Backup & Recovery 11.5

Oracle Database Consolidation on FlashStack

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

Citrix XenServer 6.5 Virtual Machine User's Guide. Published Thursday, 15 January Edition

RHEV in the weeds - special sauce! Marc Skinner

Ixia Developer KVM over CentOS deployment and configuration steps:

DeploymentManager - product introduction - Aug 30,2016 NEC Corporation

Microsoft. Configuring and Deploying a Private Cloud with System Center 2012

VVD for Cloud Providers: Scale and Performance Guidelines. October 2018

Oracle VM 3.3. Planning and Implementing

Power your cloud infrastructure with Oracle VM and Cisco!

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

Creating Application Containers

Bacula Systems Virtual Machine Performance Backup Suite

A. Use a specified server pool as the default for all commands requiring a server pool argument.

opennebula and cloud architecture

Oracle VM Template for MySQL Enterprise Edition

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

Virtualization. Michael Tsai 2018/4/16

VMware Exam VCP-511 VMware Certified Professional on vsphere 5 Version: 11.3 [ Total Questions: 288 ]

Oracle Exadata and OVM Best Practice Overview

70-745: Implementing a Software-Defined Datacenter

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

vsphere Update Manager Installation and Administration Guide 17 APR 2018 VMware vsphere 6.7 vsphere Update Manager 6.7

Oracle 1Z Oracle VM 2 for x86 Essentials.

CREATING, EDITING AND MANAGING VMS

Getting Started Guide. Installation and Setup Instructions. For version Copyright 2009 Code 42 Software, Inc. All rights reserved

ovirt Node June 9, 2012 Mike Burns ovirt Node 1

Farstone TotalDeploy User Guide

XenServer Release Notes

Let s manage agents. Tom Sightler, Principal Solutions Architect Dmitry Popov, Product Management

VMware Overview VMware Infrastructure 3: Install and Configure Rev C Copyright 2007 VMware, Inc. All rights reserved.

Production Installation and Configuration. Openfiler NSA

Transcription:

Virtualisation for Oracle databases and application servers Carlos Garcia Fernandez Luigi Gallerani Anton Topurov Carlos.Garcia.Fernandez@cern.ch

Outline What is virtualisation? Tests and Management of Oracle VM CERN infrastructure: CERN ELFms Integration steps of Oracle VM 2.1.5 Update to version 2.2 Guests installation Conclusion and future work Virtualisation for Oracle databases and application servers - 2

Virtualisation

What is Virtualisation? Virtualisation is a term that refers to the abstraction of computer resources. Paravirtualisation is a virtualisation technique where the software interface to virtual machines is similar, but not identical, to that of the underlying hardware, thereby requiring guest operating systems to be adapted. Hardware-assisted virtualisation is a virtualisation technique that enables efficient full virtualisation using help from hardware capabilities, primarily from the host processors. Oracle VM: is the Oracle solution for server virtualization that supports both Oracle and non-oracle applications. First version integrated at CERN 2.1.5 Virtualisation for Oracle databases and application servers - 4

Reasons for Virtualisation Growing number of Oracle database instances and application server instances Need to control the necessary resources in terms of physical space, manpower, electricity and cooling. Relocation from one physical machine to another as needed Server consolidation: P2V transformation Old machines: - 8 GB RAM New machines: - 48 GB RAM Virtualisation for Oracle databases and application servers - 5

Performance and management of Oracle VM

Performance in Oracle VM Oracle Databases: Oracle VM versus pure Xen Paravirtualisation vs Hardware-Virtualisation Live Migration Tests: Performance tests using Swingbench Stress tests Order Entry tests With and without load-balancing between the cluster nodes Virtualisation for Oracle databases and application servers - 7

Tests: Performance of Databases Bare Metal to Oracle VM -7.7% -5.4% ST benchmark Oracle VM ST benchmark Bare Metal OE benchmark Oracle VM OE benchmark Bare Metal 0 20000 40000 60000 80000 100000 Transactions per minute Virtualisation for Oracle databases and application servers - 8

Tests: Performance of Databases Performance comparisons of databases Using Oracle VM Using virtual machines on top of pure Xen Gained between 10% and 20% of performance in Oracle VM vs. pure Xen Virtualisation for Oracle databases and application servers - 9

Tests: Live Migration of Databases Virtualisation for Oracle databases and application servers - 10

JRockit VE: Removing the OS and Creating a More Efficient Software Stack VM with Standard Guest OS VM with JRockit VE Application JRockit JVM Application OS File Net JRockit VE ~1GB -> ~2 MB Improved performance Simplified configuration Increased security Customized to run single Java process No shell access allowed Headless Slide from Oracle JRockit What s new and what s coming @ OOW2009 2009 Oracle Corporation Virtualisation for Oracle databases and application servers - 11

WebLogic Server Virtual Edition Product Taxonomy WebLogic Server Virtual Edition Virtual machine containing WLS and JRockit VE Designed to run on Oracle VM, without an operating system Users can create their own virtual machine images containing WLSVE and their domains and applications JRockit VE JRockit VE is the JRockit JVM extended so it can run directly on virtual hardware, and optimized for running Java on OVM and x86 hardware JRVE Image Tool Create and edit the virtual machine images WLSVE WLS JRockit VE OVM x86 Slide from Oracle JRockit What s new and what s coming @ OOW2009 2009 Oracle Corporation Virtualisation for Oracle databases and application servers - 12

Example of WLS-VE topology Virtualisation for Oracle databases and application servers - 13

Performance in Oracle VM WebLogic Server Virtual Edition: Deployment of 2 Administrative applications considered as benchmark. EDH (Electronic Document Handling) APT (Activity Plan Tool) Tests on functionality: Deploy a very complex web application at CERN (EDH) Tests on performance: Deployed a document which causes lot of stress in the machine (APT) Compared Physical Machine vs. Virtual Machine with the same memory and number of vcpus Very satisfactory results Virtualisation for Oracle databases and application servers - 14

Management of Oracle VM Command Line interface Used mostly all the time Easily scriptable Oracle VM manager Some incompatibilities with CERN network infrastructure MAC address specified randomly with no possible modification A pool couldn t be controlled by different managers Need some work around to install in central DBs Feedback has been sent to Oracle Oracle Enterprise Manager Virtualisation Pack Same issues as Oracle VM manager Virtualisation for Oracle databases and application servers - 15

CERN Fabric Management

Requirements at CERN Advantages: Use of same architecture as the non-virtualised servers Eases the migration from physical environment to virtual (P2V) Virtualisation for Oracle databases and application servers - 17

Requirements at CERN Images have to be placed in the same storage so we can migrate them NFS eases the increase of volumes size Use of the same approach as physical machines Virtualisation for Oracle databases and application servers - 18

Requirements at CERN All the systems running databases are being configured via Quattor including the database software installation. In order to reach the same level of management, we have to use the central Linux installation service and Quattor for OracleVM. All this process is done at CERN using CERN ELFms Virtualisation for Oracle databases and application servers - 19

Concepts: CERN ELFms ELFms stands for Extremely Large Fabric management system It is divided in the following steps: Specifying configuration: Description in PAN language templates. Installing machines: Add DHCP entries and generate PXE configurations Mechanism Kickstart/Anaconda. Configuring services: Done by ncm components (Node Configuration Manager) Virtualisation for Oracle databases and application servers -20

Installing ELFms machines It s done with a perl script called PrepareInstall. It generates an Anaconda/KickStart file from the node information retrieved from CDB It prepares the Sindes service for download of sensitive files during installation It configures the AIMS installation service to: upload the Kickstart file configure and restart the dhcp server select the PXE image to be used Once PrepareInstall has finished, you can reboot the machine to install the node. Virtualisation for Oracle databases and application servers -21

Integration in CERN infrastructure Virtualisation for Oracle databases and application servers - 22

Oracle VM integration steps

Non default parameters -Parameter to add to the kickstart file: ovsmgmntif eth0 Virtualisation for Oracle databases and application servers - 24

Non default parameters -Parameter to add to the kickstart file: ovsagent XXXXXX Note: XXXXXX is the password for the agent Virtualisation for Oracle databases and application servers - 25

Problem bridging bonds Modify bridge script to get the bond interfaces /etc/xen/scripts/network-bridges #!/bin/bash dir=$(dirname "$0") run_all_ethernets() { for f in /sys/class/net/*; do netdev=$(basename $f) if [[ $netdev =~ "^eth[0-9]+$" ]]; then devnum=${netdev:3} $dir/network-bridge "$@" "netdev=${netdev}" "bridge=xenbr${devnum}" fi if [[ $netdev =~ "^bond[0-9]+$" ]]; then devnum=${netdev:4} $dir/network-bridge "$@" "netdev=${netdev}" "bridge=xenbo${devnum}" fi done } run_all_ethernets "$@" Virtualisation for Oracle databases and application servers - 26

Problem mounting NFS in the host Mount the /OVS folder to store the images in a NFS Lost of connection problems with the NFS OracleVM Server Agent automatically mounts the image folder, called "Repository", using information defined by the script /opt/ovs-agent-2.3/utils/repos.py Mount point is /var/ovs/mount/uuid, where UUID is a hash unique descriptor for the NFS folder. UUID is managed by the server agent. The /OVS folder is then automatically linked by OVM server agent to the UUID folder mounted. The machine was configured to manually mount the /OVS in the NFS, but OVS-Agent changed automatically the mount point causing the lost of the connection. Virtualisation for Oracle databases and application servers - 27

Update to version 2.2 Provide to the linux team the packages of this new version Create a repository for the new version Update the default version for the packages Generated automatically in pretest running some scripts Verify that we have all the packages we want and in the proper version Test the pretest installation If working move it to prod Virtualisation for Oracle databases and application servers - 28

Guest installation steps

Preparation work We wanted to have the most transparent VMs for the users We want to avoid having the guest-host link in quattor configuration, to ease live migration. We need to make some small changes in quattor templates: Adapted the cluster templates for the hda disks Adapted RHES5 and SLC5 as guest OS Selected on-the-fly installation vs. golden images Better for quattor management bare metal images Better to follow life cycle, patch installation Virtualisation for Oracle databases and application servers - 30

Guest installation Configuration file for xen: name = 'virt06' builder = 'hvm' memory = 4096 disk = [ 'file:/ovs/virt06/disk.img,hda,w' ] vif = [ 'type=ioemu,mac=00:16:3e:76:a6:ab,bridge=xenbr0', 'type=ioemu,bridge=xenbo0', 'type=ioemu,bridge=xenbo1'] vfb = [ 'type=vnc' ] kernel = '/usr/lib/xen/boot/hvmloader' device_model = '/usr/lib/xen/bin/qemu-dm' root = '/dev/hda ro' vnc = 1 vncunused = 1 vnclisten = '127.0.0.1' apic = 1 acpi = 1 pae = 1 #Boot parameter, n (network) for first PrepareInstall, cn (C drive+network) for next shutdown boot = 'cn' vcpus = 8 serial = 'pty' on_reboot = 'restart' on_crash = 'restart' Virtualisation for Oracle databases and application servers - 31

Guest installation SOAP script to add machine in the network database Run LEAFAddHost to the virtual machine LEAFAddHost --new_host=dbvrtd001 --cluster=webapps -- serial_number=1234 --rack=ek01 --hardware=ovm_00_00 os=rhes5 arch=x86_64 --mac1=00:00:00:00:00:00 resource=des PrepareInstall the VM Reboot it with Boot from network option Installation finishes Reboot it with Boot from disk option 20 min host added and installed from scratch Virtualisation for Oracle databases and application servers - 32

Conclusions and future work Oracle VM and WLS-VE are great technologies we are keen to exploit Long and hard work to integrate Oracle VM in large scale environments We will replace DEV and TEST application servers for VMs by June Develop some scripted mechanism for operations with VMs (reinstall, start, stop, move) More news and experiences for next HEPiX Virtualisation for Oracle databases and application servers - 33

Questions Virtualisation for Oracle databases and application servers - 34

Appendix Virtualisation for Oracle databases and application servers - 35

Concepts: Quattor Quattor is a large scale fabric management system for managing medium to very large (>1000 node) clusters. http://en.wikipedia.org/wiki/quattor http://www.quattor.org/ Virtualisation for Oracle databases and application servers - 36

Requirements at CERN Virtualisation for Oracle databases and application servers - 37

Requirements at CERN Virtualisation for Oracle databases and application servers - 38