Automating Xen Virtual Machine Deployment Kris Buytaert

Slides:



Advertisements
Similar presentations
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
Advertisements

Xen Virtualization Andrew Hamilton
Copyright 2009 FUJITSU TECHNOLOGY SOLUTIONS PRIMERGY Servers and Windows Server® 2008 R2 Benefit from an efficient, high performance and flexible platform.
Methodologies, strategies and experiences Virtualization.
Installing and maintaining clusters of FreeBSD servers using PXE and Rsync Cor Bosman XS4ALL
Cloud Computing in Large Scale Projects George Bourmas Sales Consulting Manager Database & Options.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite Release Process Maria Alandes Pradillo.
Managing Your Datacenter with Microsoft System Center Configuration Manager Kent Agerlund, ECM MVP, Coretech.
A look at the current initiatives within UWE such as SharePoint, consolidation and virtualisation as well as some of the technology trends we can see coming.
A Cloud is a type of parallel and distributed system consisting of a collection of inter- connected and virtualized computers that are dynamically provisioned.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Xen Virtualization Last Update Copyright 2011 Kenneth M. Chipps Ph.D.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks perfSONAR deployment over Spanish LHC Tier.
1 The new Fabric Management Tools in Production at CERN Thorsten Kleinwort for CERN IT/FIO HEPiX Autumn 2003 Triumf Vancouver Monday, October 20, 2003.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer, Progress Sonic.
Satisfy Your Technical Curiosity Specialists Enterprise Desktop -
Microsoft Management Seminar Series SMS 2003 Change Management.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer Progress Sonic.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Tools and techniques for managing virtual machine images Andreas.
RALPP Site Report HEP Sys Man, 11 th May 2012 Rob Harper.
Grid testing using virtual machines Stephen Childs*, Brian Coghlan, David O'Callaghan, Geoff Quigley, John Walsh Department of Computer Science Trinity.
RANDY MODOWSKI COSC Cloud Computing. Road Map What is Cloud Computing? History of “The Cloud” Cloud Milestones How Cloud Computing is being used.
A Measured Approach to Virtualization Don Mendonsa Lawrence Livermore National Laboratory NLIT 2008 by LLNL-PRES
Plesk 8 for Linux/UNIX Server Automation SWSOFT GLOBAL HOSTING SUMMIT 2006 Todd L. Crumpler May 30-June 1, 2006.
OpenQRM is not Dead by Kris Buytaert. 2 Kris Buytaert ● Senior Linux and Open Source Inuits.be ● „Infrastructure Architect“ ● Linux since.
Using Virtualization in the Real world. 2 Whoami ? Kris Senior Linux and Open Source Consultant „Infrastructure Architect“ Linux since.
Managing Xen VirtualMachines with openQRM by Kris Buytaert.
Deploying Xen in a Large Infrastructure. Who Am I – Linux and Open Source Consultant – „Infrastructure Architect“ – Linux since 0.98 – IANAKH – Senior.
System Installation Suite. Who Am I – Linux and Open Source Consultant –„Infrastructure Architect“ –Linux since 0.98 –IANAKH –Senior
FermiLinux STS Scientific Linux 6 Connie Sieh HEPIX Spring 2009 May 25, 2009.
Ganeti Instance Creation
Linux Kernel Security (SELinux vs AppArmor vs Grsecurity)
Building (Virtual) Appliances
OpenQRM is not Dead the lightning version Building a cloud in 5 mnutes by Kris Buytaert.
Automating Xen Virtual Machine Deployment Kris Buytaert
Open Source Virtualisation and Consolidation. Whoami ● Senior Linux and Open Source Consultant/ X-Tend ● „Infrastructure Architect“ ● Linux since.
Devops Kris Buytaert. ● I used to be a Dev, ● Then Became an Op ● Senior Linux and Open Source ● „Infrastructure Architect“ ● Building.
Open Source Virtualisation and Consolidation. Whoami ● Linux and Open Source Consultant ● „Infrastructure Architect“ ● Linux since 0.98 ● IANAKH ● Senior.
Andrea Righi – LinuxDay 2007 (Oct 27) Installare GNU/Linux su un ampio numero di client con SystemImager e BitTorrent Andrea Righi
Automating Xen Virtual Machine Deployment Kris Buytaert
Virtualised DICE image - scoping Research and Teaching Unit Work in progress.
1 /15 Design and Implementation of the Custom Debian Distributions Toolkit (CDDT) 17 February 2006 Sergio Talens-Oliag II Open Source World.
April 1st, 2009 Cobbler Provisioning Made Easy Jasper Capel.
Clouding with Microsoft Azure
Back it up – Don't be a fool!
BY: SALMAN 1.
Getting & Running EdgeX Docker Containers
Let's talk about Linux and Virtualization in 'vLAMP'
Stress Free Deployments with Octopus Deploy
Agenda Hardware Virtualization Concepts
AI How to: System Update and Additional Software
BY: SALMAN.
System Center 2012 Configuration Manager
NA4/medical imaging. Medical Data Manager Installation
The Architecture of oVirt Node
Docker Birthday #3.
Building a Virtual Infrastructure
Fedora in Education BalCCon2k17 17th September 2017 Nemanja Milošević
3.2 Virtualisation.
make servers happy with automated testing
Software Version System Part1: Subversion at CERN
Dell PowerEdge Change Management Tools Frequently asked questions
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Dev Test on Windows Azure Solution in a Box
ETSI Multi-access Edge Computing:
Data Security for Microsoft Azure
OPS235: Lab 2 Virtual Machines – Part I
Microsoft Virtual Academy
SUSE Linux Enterprise Desktop Administration
IT Management, Simplified
Presentation transcript:

Automating Xen Virtual Machine Deployment Kris Buytaert

Whoami ? ● Linux and Open Source Consultant ● „Infrastructure Architect“ ● Linux since 0.98 ● IANAKH ● HPC (openMosix) ● HA, LSI (Telco Environment)

Agenda ● Large Scale System Installation theory ● Hybrid Automated Installs ● Xen ● Automated Xen Installations

Why Virtualisation Matters ? ● Consolidation ● Security ● Testing Large Scale Rollouts ● Separating Development/Staging/Production platforms ●...

Our specific reasons for this work ● Testing Large Scale System Deployment – How to you test bootstrapping a large environment ? ● Actually deploying Virtual machines in a large environment – Repeated work is boring and error prone – We automated the physical machine deployment already so...

Goals ● Hands off Virtual Machine Deployment ● Minimal impact on the current infrastructure ● Fast deployments ● Easy to redeploy / reproducable ● I hate vendor Lock In‘s ● I hate doing the same stuff for different distros

The 10 th Floor Test ● Grab a random machine (don’t take a backup before) ● Throw it out a 10 th floor window ● Can you recover it in <10 minutes ? ● Even for Virtual Machines ?

Imaging vs Installing Imaging Speed Identical machines Multicasting Installing Finegrained “slower”

Systemimager Suite ● SystemImager ● Fast deployment ● Golden client based ● Multicast features ● Centrally Stored Images ● Boel framework

SystemImager Suite (2) ● SystemInstaller ● Evolved from LUI ● Generates Images based on ● Packagelist ● Distro type ● Partition Definition

SystemImager Suite (3) ● SystemConfigurator ● Post install configuration ● Hardware detection / bootloader config ● Distro integration

Beyond Installing ● Package management ● Central Repository – Updates of relevant packages ● Yum ● Apt ● current.tigris.net

Beyond Installing(2) ● Configuration Management – Isconf – Cfengine – Puppet

Hybrid Deployment Image a basic image Generate that image Then install the delta's on a per host basis via packages Use a repository to update systems Keep everything in CVS Use a config management tool.

Our Environment ● A SystemImager based framework ● System Imager Suite is platform independent, we can use it with Suse/Redhat/Debian etc ● Config data an installation scripts are being stored in CVS ● Base Image of the basic Linux tools and common applications is generated with SystemInstaller ● apt-repository for host specific applications (rpm v3 compliant)

Overriding „standard“ configs ● SystemImager Concept ● Over-rides an image per host ● Used for „non packagable“ files ● Contains machine specific information e.g. Package lists

Autoinstall, the script / the cd

What‘s to be found on a central Repository ?

Let‘s talk about Xen ● ParaVirtualisation ● You‘ve already seen Xen enough internals stuff these days ;) ● Going Mainstream real fast ! ● Stable and performant platform ● Scriptable

Typical Xen DomainX installations ● Copy an existing image ● Yum –installroot=/path/ -y groupinstall Base ● Debootstrap ● Urpmi –root=/path basesystem urpmi ssh- server ● Yast ● rpmstrap

A Typical Large Environment Bootstrap?

Why Typical Installs don‘t work

Existing Alternatives ● The alternatives – Preseeding d-i – Supercharge ● Issues with them : – Distro Specific – Valid in Isolated environments

Building your own ? What do we need ? ● Installing a basic image in a chroot ● Creating „partitions“ ● Creating/Updating configurations ● Booting

Modifying an Autoinstall Script create_vhost : { ● Create LVM partitions ● Chroot ● Rsync }

The full monty Install hostX reboot into non xen, lvm enabled kernel if (xen=enabled) then add xen packages from repository overrides include /etc/xen/auto files for $vhost in /etc/xen/auto/* ; create_vhost done reboot into xen enabled / lvm enabled kernel

From here to.. ● Management of virtual machine is identical to physical machine ● Deploy new virtual machine is as easy as running create_vhost $hostname ● Cfengine and repositories are being used as within physical machines

Future Work ● Eliminate 2 phase bootstrap ● Integrate with mksiimage ● Look at COW enhancements

Conclusions: ● Pass the 10 th floor test ● Hybrid deployments enable best of breed deploying techniques ● Not „Yet Another Systeminstallation Tool“ :), but tools you already use for a physical purpose !

Thank you Contact: Kris Buytaert Further Reading

? ! ● Questions ?