Ganeti. Private Cloud as Google does it. Helga Velroyen <helgav@google.com> Linuxtag Berlin, May 9th, 2014



Similar documents
Ganeti, "how we did it"

Google

Ganeti is a software stack that allows easily managing a collection of

Comparing Ganeti to other Private Cloud Platforms. Lance Albertson

SYNNEFO: A COMPLETE CLOUD PLATFORM OVER GOOGLE GANETI WITH OPENSTACK APIs VANGELIS KOUKIS, TECH LEAD, SYNNEFO

Comparing Open Source Private Cloud (IaaS) Platforms

FIA Athens 2014 ~OKEANOS: A LARGE EUROPEAN PUBLIC CLOUD BASED ON SYNNEFO. VANGELIS KOUKIS, TECHNICAL LEAD, ~OKEANOS

Η υπηρεσία Public IaaS ΕΔΕΤ ανάπτυξη και λειτουργία για χιλιάδες χρήστες

With Red Hat Enterprise Virtualization, you can: Take advantage of existing people skills and investments

Unveiling ~okeanos: A public cloud IaaS service coming from the depths of the GRNET's DataCenter facilities

IN DETAIL. Smart & Dedicated Servers

Getting Started Hacking on OpenNebula

Virtualization Management the ovirt way

Cloud Computing Architecture with OpenNebula HPC Cloud Use Cases

OpenNebula Open Souce Solution for DC Virtualization

An Introduction to OpenStack and its use of KVM. Daniel P. Berrangé

OpenNebula Open Souce Solution for DC Virtualization

Onboarding VMs to Cisco OpenStack Private Cloud

Operating Systems Virtualization mechanisms

How To Build A Cloud Stack For A University Project

OpenNebula Open Souce Solution for DC Virtualization. C12G Labs. Online Webinar

2) Xen Hypervisor 3) UEC

Linux Virtualization Nesting and Management

The OpenNebula Cloud Platform for Data Center Virtualization

OpenNebula The Open Source Solution for Data Center Virtualization

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

A Complete Open Cloud Storage, Virt, IaaS, PaaS. Dave Neary Open Source and Standards, Red Hat

Hadoop on OpenStack Cloud. Dmitry Mescheryakov Software

Building a Cloud Computing Platform based on Open Source Software Donghoon Kim ( donghoon.kim@kt.com ) Yoonbum Huh ( huhbum@kt.

Develop a process for applying updates to systems, including verifying properties of the update. Create File Systems

Citrix XenServer Backups with Xen & Now by SEP

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

Solution for private cloud computing

Boas Betzler. Planet. Globally Distributed IaaS Platform Examples AWS and SoftLayer. November 9, IBM Corporation

7 Ways OpenStack Enables Automation & Agility for KVM Environments

VMware vsphere 5.1 Advanced Administration

6422: Implementing and Managing Windows Server 2008 Hyper-V (3 Days)

SEP Disaster Recovery and Backup Restore: Best

KVM, OpenStack, and the Open Cloud

Parallels Server 4 Bare Metal

Oracle VM Server Recovery Guide. Version 8.2

Citrix XenServer 5.6 OpenSource Xen 2.6 on RHEL 5 OpenSource Xen 3.2 on Debian 5.0(Lenny)

Lightweight Virtualization: LXC Best Practices

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Building Multi-Site & Ultra-Large Scale Cloud with Openstack Cascading

Introduction to ovirt

VMware vsphere 5.0 Boot Camp

Citrix XenDesktop Backups with Xen & Now by SEP

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)

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

How To Build An Iaas Cloud Cloud (Geneo) For Ganet.Org

CHAPTER 2 THEORETICAL FOUNDATION

Migrating to ESXi: How To

Applying the Benefits of Cloud and Clustering to your Shared Hosting Platform

Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM

Open Source Virtualization with ovirt. DI (FH) René Koch Systems Engineer Siedl Networks GmbH Grazer Linuxtage,

Parallels Cloud Server 6.0 Readme

2972 Linux Options and Best Practices for Scaleup Virtualization

The QEMU/KVM Hypervisor

SERVICE SCHEDULE PUBLIC CLOUD SERVICES

Fast Lane OpenStack Overview Red Hat Enterprise Linux OpenStack Platform

Parallels Cloud Server 6.0

Ubuntu OpenStack on VMware vsphere: A reference architecture for deploying OpenStack while limiting changes to existing infrastructure

OGF25/EGEE User Forum Catania, Italy 2 March 2009

Openstack. Cloud computing with Openstack. Saverio Proto

Open Source Cloud Computing Management with OpenNebula

Running Oracle Databases in a z Systems Cloud environment

Private Cloud for WebSphere Virtual Enterprise Application Hosting

Implementing and Managing Windows Server 2008 Hyper-V

SERVICE SCHEDULE DEDICATED SERVER SERVICES

StorPool Distributed Storage Software Technical Overview

Business Process Desktop: Acronis backup & Recovery 11.5 Deployment Guide

Dell High Availability Solutions Guide for Microsoft Hyper-V

Building Clouds with OpenNebula 2.2 and StratusLab

ovirt: Open Your Virtual Data Center

ovirt Introduction James Rankin Product Manager Red Hat Virtualization Management the ovirt way

Xen Virtualization: Xen (source) and XenServer

What s new in Hyper-V 2012 R2

Table of Contents Introduction and System Requirements 9 Installing VMware Server 35

Building a real world public cloud from the ground up

CLOUD COMPUTING. When It's smarter to rent than to buy

October Gluster Virtual Storage Appliance User Guide

Data Centers and Cloud Computing

Introduction to OpenStack

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Building Storage as a Service with OpenStack. Greg Elkinbard Senior Technical Director

THE EUCALYPTUS OPEN-SOURCE PRIVATE CLOUD

Mobile Cloud Computing T Open Source IaaS

Transcription:

Ganeti Private Cloud as Google does it Helga Velroyen <helgav@google.com> Linuxtag Berlin, May 9th, 2014

A Ganeti Cluster Instance: a virtualization guest Node: a virtualization host Nodegroup: a homogeneous set of nodes Cluster: a set of nodes, managed as a collective, partitioned by nodegroups 4/20

What can it do? Manage clusters of physical machines Deploy virtual machines on them - Resiliency to failure (distributed storage) - Live migration - Ease of repairs and hardware swaps - Cluster balancing 5/20

Ideas Interact with the cluster as an entity, instead of the individual machines. Making the virtualization entry level as low as possible - - - - Easy to install/manage Lightweight (no "expensive" dependencies) No specialized hardware needed (eg. SANs) Start small, grow big Scale to enterprise ecosystems - - Manage simultaneously from 1 to ~200 host machines Access to advanced features (distributed storage, live migration, cluster balancing) 6/20

Technologies Linux and standard utils (iproute2, bridge-utils, ssh) Hypervisors: - Xen, KVM, LXC Storage: - DRBD, LVM, file, distributed storage, Ceph/Gluster Programming languages: - Python, Haskell 7/20

Controlling Ganeti Command line (*) RAPI (Rest-full http interface) (*) Webinterfaces: - - - Ganeti Web manager, aiming for admins, but includes "self-service management" for users ganetimgr web manager, simplified multicluster web manager for end users Synnefo, complete cloud service solution, OpenStack API compatible (*) Programmable interfaces 8/20

Production cluster As we use it in a Google Datacentre Remote API SSH access current master node Per machine monitoring......... Per machine monitoring Per machine monitoring group / rack group / rack group / rack 9/20

Fleet at Google type Office no maint window Office ZURICH Fleet Management Virgil Euripides Dradis type General maint window A type General maint window B type General maint window A type General maint window B type Dedicated maint window A type Ubiquity no maint window Datacenter Z VM transfer type Ubiquity no maint window Datacenter X type Dedicated maint window B type General maint window A Datacenter Y 10/20

Instance provisioning at Google type General type General RAPI interface Alloc request type Ubiquity type Dedicated scan capacity Virgil Machine DB gather capacity Monitoring 11/20

Auto node repair at Google Euripides Send machine to repairs (2) Virgil Monitoring detects fault (1) broken HW Tell cluster to evacuate the broken machine (4) Machine database Mark machine broken (3) Send to repairs (5) 12/20

Auto node readd at Google Euripides Detects machine was repaired (1) Machine DB Tells Virgil to reintegrate machine (3) Watches machine for 24hrs (2) repaired HW Tell cluster to add it (5) Configure machine (4) Virgil Mark machine serving (6) Dradis 13/20

Ganeti 2.8, 2.9 2.8.4 Downgrading Autorepair tool Hroller Improvements on storage, monitoring 2.9.6 DRBD 8.4 support Continued work on monitoring, storage, hroller 14/20

Ganeti 2.10 2.10.3, available in debian wheezy backports, debian jessi Cross-cluster instance moves: - automatic node allocation on destination cluster - convert disk templates on the fly Cluster balancing based on CPU load KVM: Hotplug support, direct access to RBD storage Ganeti upgrades! 15/20

Updates In the past, updating Ganeti was a pain: /etc/init.d/ganeti stop// on all nodes apt-get install ganeti2=2.7.1-1 ganeti-htools=2.7.1-1//on all nodes /usr/lib/ganeti/tools/cfgupgrade//on master /etc/init.d/ganeti start// on all nodes gnt-cluster redist-conf// on master...// lots of other steps, depending on the version // If something goes wrong, fix the mess manually. From 2.10 on, Ganeti comes with a built-in upgrade mechanism: apt-get install ganeti-2.11// on all nodes gnt-cluster upgrade--to 2.11// on master gnt-cluster upgrade--to 2.10// to roll back Note that you still have to install the new and deinstall the old packages manually. 16/20

Ganeti 2.11 Current stable release, 2.11.0. RPC security: individual node certificates Compression for instance moves / backups / imports Configurable SSH ports per node group Gluster support (experimental) 17/20

Current and Future development No guarantees! Network improvements (IPv6, more flexibility) Storage: more work on shared storage Heterogeneous clusters Improvements on cross-cluster instances moves Google Summer of Code: Make LXC support production-ready Conversion between arbitrary disk templates 18/20

Open Source Events Confirmed: Linuxcon Japan, Tokyo, May 20th 2014 Ganeticon, Portland, Oregon, September Not confirmed yet: Linuxcon North America, Chicago, August FrOSCon, St. Augustin, Germany, August LISA '14, Seattle, November 19/20

Thank You! Questions? 2010-2014 Google Use under GPLv2+ or CC-by-SA Some images borrowed / modified from Lance Albertson, Iustin Pop, and Guido Trotter Some slides were borrowed / modified from Tom Limoncelli