Cloud environment with CentOS, OpenNebula and KVM

Similar documents
An Introduction to Cloud Computing with OpenNebula

Installing and Basic Usage

opennebula and cloud architecture

StratusLab Cloud Distribution Installation. Charles Loomis (CNRS/LAL) 3 July 2014

QEMU 2.0 and Beyond. CloudOpen Anthony Liguori

KVM 在 OpenStack 中的应用. Dexin(Mark) Wu

Libvirt presentation and perspectives. Daniel Veillard

Libvirt: a virtualization API and beyond

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

Live block device operations in QEMU

OpenNebula 4.8 Quickstart CentOS 6 and Xen

Build Cloud like Rackspace with OpenStack Ansible

OpenNebula 4.4 Quickstart CentOS 6 and KVM. OpenNebula Project

Intro to ovirt. Itamar Heim Virtualization Management the ovirt way

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

Xen Summit Spring 2007

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

Open Your Virtual Datacenter. DI (FH) René Koch Freelancer Grazer Linuxtage,

Open Cloud Reference Architecture

Automated Deployment of Private Cloud (EasyCloud)

Red Hat Enterprise Linux 8.0 Beta

Red Hat Enterprise Virtualization Hypervisor Roadmap. Bhavna Sarathy Senior Technology Product Manager, Red Hat

Open Hybrid Cloud & Red Hat Products Announcements

VMware Workstation 5 Lab. New Features and Capabilities: Multiple Snapshots, Teams, Clones, Video Capture and More

Overview Demo Claudia OpenNebula

Painless switch from proprietary hypervisor to QEMU/KVM. Denis V. Lunev

Know your competition A review of qemu and KVM for System z

OpenNebula 4.12 Quickstart Ubuntu and KVM

Virtualization Management the ovirt way

OpenNebula 4.4 Quickstart Ubuntu and KVM. OpenNebula Project

OpenNebula on VMware: Cloud Reference Architecture

RHEV in the weeds - special sauce! Marc Skinner

Installation and Cluster Deployment Guide for KVM

Be smart. Think open source.

KVM Forum Vancouver, Daniel P. Berrangé

Java Embedded on ARM

COP Cloud Computing. Presented by: Sanketh Beerabbi University of Central Florida

OpenNebula 5.2 Deployment guide

OpenNebula 4.10 Quickstart CentOS 6 and KVM

Getting to Know Apache CloudStack

CloudOpen Europe 2013 SYNNEFO: A COMPLETE CLOUD STACK OVER TECHNICAL LEAD, SYNNEFO

Baremetal with Apache CloudStack

The OpenNebula Virtual Infrastructure Engine

SUSE An introduction...

Cloud and Datacenter Networking

kernels-in-kernels kernels within kernels by Lee Elston Version 1.0 c CC-BY SA4

KVM PERFORMANCE OPTIMIZATIONS INTERNALS. Rik van Riel Sr Software Engineer, Red Hat Inc. Thu May

Part2: Let s pick one cloud IaaS middleware: OpenStack. Sergio Maffioletti

Apache CloudStack. Sebastien Goasguen Open Source Office,

What is Cloud Computing? Cloud computing is the dynamic delivery of IT resources and capabilities as a Service over the Internet.

OpenNebula 4.8 Design and Installation Guide

Quantum, network services for Openstack. Salvatore Orlando Openstack Quantum core developer

Linux/QEMU/Libvirt. 4 Years in the Trenches. Chet Burgess Cisco Systems Scale 14x Sunday January 24th

Merging Enterprise Applications with Docker* Container Technology

Architecture and terminology

Red Hat Virtualization 4.1 Technical Presentation May Adapted for MSP RHUG Greg Scott

StorPool Distributed Storage Software Technical Overview

Parallels EMEA Partner Roadshow Parallels Virtualization Portfolio how can I get my piece of the virtualization cake?

Installation and Cluster Deployment Guide for KVM

ovirt Node June 9, 2012 Mike Burns ovirt Node 1

Veritas InfoScale 7.4 Virtualization Guide - Linux

Tuning Your SUSE Linux Enterprise Virtualization Stack. Jim Fehlig Software Engineer

Lifecycle management with Foreman and Katello Basics and Spacewalk migration

ovirt Node November 1, 2011 Mike Burns Alan Pevec Perry Myers ovirt Node 1

Ceph Block Devices: A Deep Dive. Josh Durgin RBD Lead June 24, 2015

Transforming XenServer into a proper open-source project

Bacula Systems Virtual Machine Performance Backup Suite

Virtualization Food Fight. Rik van Riel

CREATING, EDITING AND MANAGING VMS

Next Generation Storage for The Software-Defned World

Developing cloud infrastructure from scratch: the tale of an ISP

Course Review. Hui Lu

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

OpenNebula 4.12 Quickstart CentOS 7 and KVM

Installation and Cluster Deployment Guide for KVM

Veritas InfoScale 7.2 Virtualization Guide - Linux

GRNET Cloud Services

Virtualization. ...or how adding another layer of abstraction is changing the world. CIS 399: Unix Skills University of Pennsylvania.

Virtualization at Scale in SUSE Linux Enterprise Server

64-bit ARM Unikernels on ukvm

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

ElasterStack 3.2 User Administration Guide - Advanced Zone

KVM Forum 2007 Tucson, Arizona

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

ANALYSIS OF VIRTUAL NETWORKS IN DATA CENTERS.

5 Things You Need for a True VMware Private Cloud

1. What is Cloud Computing (CC)? What are the Pros and Cons of CC? Technologies of CC 27

OpenNebula 4.4 Quickstart CentOS 6 and ESX 5.x. OpenNebula Project

Azure DevOps. Randy Pagels Intelligent Cloud Technical Specialist Great Lakes Region

ganeti Comparing IaaS VMware vs OpenStack vs Google s Ganeti November 2013 Giuseppe Gippa Paternò

Virtualization Management the ovirt way

Introduction to a Virtualization Testsuite --Based on Autotest Testing Framework. Yu Mingfei

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

Hyperconverged Cloud Architecture with OpenNebula and StorPool

SIMPLIFIED VDI WITH RED HAT ENTERPRISE VIRTUALIZATION FOR DESKTOPS

Installation runbook for Hedvig + Cinder Driver

Migration Strategies from vsphere to Linux and OpenStack via a shared virtualized network

UP! TO DOCKER PAAS. Ming

OPENSTACK PRIVATE CLOUD WITH GITHUB

Windows Azure Services - At Different Levels

Transcription:

CentOS Dojo Madrid, November 8th, 2013 Cloud environment with CentOS, OpenNebula and KVM Jaime Melis Project Engineer OpenNebula Project. Creative Commons Attribution-NonCommercial-ShareAlike License

Agenda What is OpenNebula? Why CentOS and OpenNebula? Building a Cloud from scratch in 15 minutes Optimizing KVM 2

What is OpenNebula? IaaS Cloud Computing Tool for Managing a Data Center's Virtual Infrastructure Data Center Virtualization Manager Open-source Apache license Interoperable, based on standards Adaptable Public User Private Clouds Virtualize your on-premise infrastructure Pubic Clouds Expose standard cloud interfaces Hybrid Clouds Extend your private cloud with Administrator resources from a remote cloud provider Private User Ready for end-users Advanced user management CLI and Web Interface Physical Infrastructure Remote Provider 3

What is OpenNebula? Rigorously Tested, Matured Through Vibrant Community and Many Release Cycles Develop & innovate Support the community Collaborate Third party scalability tests: 16,000 VMs TP v1.0 v1.2 v1.4 v2.0 v2.2 v3.0 v3.2 v3.4 v3.6 v3.8 v4.0 v4.2 2005 2008 2009 2010 2011 2012 2013 2014 Research Project 5,000 downloads/month 4

What is OpenNebula? Widely Used to Build Enterprise Private Clouds in Medium and Large Data Centers Reference Users Survey Q2/Q3 2012 (2,500 users http://c12g.com/resources/survey/) 5

What is OpenNebula? The OpenNebula Model Adaptable: Integration capabilities to fit into any data center Enterprise-ready: Upgrade process and commercial support No Lock-in: Infrastructure and platform independent Light: Efficient & simple Proven: Rigorously tested, mature and widely used Scalable: single instance & multi-tier architectures Interoperable: rich set of API's & Interfaces Open Source: Apache License v2 6

Why CentOS and OpenNebula? CentOS Long production cycles Mature, tested code base Widespread user base (Hosting, Cloud, voip, HPC ) Xen, xen, xen Hypervisor support, ARM, automation, etc Disclaimer: this list has been shamelessly ripped off from Karanbir Singh s Presentation @ OpenNebulaConf: http://www.slideshare.net/netways/cent-os-and-opennebula-karanbir-singh 7

Why CentOS and OpenNebula? OpenNebula in CentOS Very mature OpenNebula package I love opennebula-node-kvm I will love opennebula-node-xen Included in the default repos yum install centos-release-opennebula yum install opennebula-server opennebula-sunstone Disclaimer: yes this list has also been shamelessly ripped off from Karanbir Singh s presentation @ OpenNebulaConf: http://www.slideshare.net/netways/cent-os-and-opennebula-karanbir-singh 8

Building a Cloud Our Plan Set-up a DHCP and TFTP server (dnsmasq) Get pxelinux images (syslinux) Write a PXE cfg file Mirror the CentOS base and opennebula repos Write a Kickstart file Install CentOS in a laptop in < 10 minutes 9

Building a Cloud Basic OpenNebula Deployment Monitoring,Virtualization, Storage and Network Repository of VM images MultipleBackends (LVM, Ceph) ProvidesphysicalresourcesfortheVMs Musthave a hypervisorinstalled 10

Building a Cloud OpenNebula Architecture - Infrastructure Agnostic and Highly Customizable CLI GUI Cloud Servers OCA (Ruby, Java) Scheduler XML-RPC API OpenNebula core Monitoring Storage Network DB Virtualization Images Auth Languages 11

Demo Time! Sunstone 12

Building a Cloud Our Plan Install OpenNebula and create: acompute host (localhost) a Network an Image Create a Virtual Machine which dynamically installs apache Logs Contextualization Virtual Machine actions 13

Optimizing KVM From the ground up Human beings do not understand qemu-kvm syntax (maybe Fabrice Bellard ) We need Libvirt Other tools: virt-manager, virt-install, qemu-img, virtalignment-scan Drivers: virtio Huge performance gain No emulation Cooperation with the hypervisor Integrated into the Linux kernel 14

Optimizing KVM Image Backends Regular file (Raw) Large Qcow2 Snapshots Additional layer less performance LVM Block Device Cache Writethrough host page on, guest disk write cache off Writeback host page on, guest disk write cache on Good overall I/O Performance None host page off, guest disk write cache on Good write performance 15

Optimizing KVM CPU and Memory CGROUPS Limit, account and isolate resource usage CPU model Subset of features Nested Virtualization /usr/share/libvirt/cpu_map.xml Kernel Samepage Merging (KSM) Combines memory private pages Useful for similar VMs Increases VM density Enabled by defalut 16

Optimizing KVM Networking MacVTap (direct) Connect directly to physical interface Doesn t allow connection host vm Not recommended Bridged Networking Plugs a VM interface to a Linux bridge Disable STP Kernel s networking stack: NAT, iptables... Recommended Open vswitch 17

Optimizing KVM Desktop Sharing VLC Keymap (or you will go crazy) SPICE QXL driver (guest OS) Printers USB mass-storage Audio 18

Join our growing community! How to contribute Join our mailing list (users and dev) Follow the development at dev.opennebula.org Add-ons Extensions (tools, interfaces or drivers) that enlarge the capabilities of OpeNebula. You can contribute code to any of these add-ons, make a new addon, or join the discussions in the development mailing list. IRC Channel #opennebula on irc.freenode.net 19

Questions? We Will Be Happy to Answer any Question TL; DR: OpenNebula is awesome, go check it out! @opennebula 20