SlideShare une entreprise Scribd logo
1  sur  153
Télécharger pour lire hors ligne
Xen Hypervisor Deployment, Management, and
          Cloud Computing Tools




      Todd Deshane and Patrick F. Wilbur
             Clarkson University
Copyright Notice

Copyright 2010, Todd Deshane and Patrick F. Wilbur.
Last modified: September 30, 2010 11:02 PM EST.

The Xen panda logo is property of Xen.org .

==

LICENSE:

Todd Deshane and Patrick F. Wilbur
Department of Mathematics and Computer Science
Clarkson University
Potsdam, NY USA

Current slides available at: http://cosi.clarkson.edu/docs/installingxen/

These slides and content are released under the Creative Commons Attribution-Share Alike 3.0 Unported
license, available online at http://creativecommons.org/licenses/by-sa/3.0/

You may share (copy, distribute, and transmit) this work, and remix (adapt) this work, as long as you
attribute this work to the author and share adapted works under the same or similar license by leaving this
entire notice in place (including the original author's name/contact information/URL and this license
notice).
About Us

Todd Deshane is a Ph.D.          Patrick F. Wilbur is a Ph.D
graduate of Clarkson             student at Clarkson
University.                      University.

His research interests include   His research interests include
information technology,          security, usability, policy, and
security, virtualization, and    systems architecture.
usability.

http://todddeshane.net           http://pdub.net
Acknowledgments

This 2010 Xen Training / Tutorial, by Todd Deshane and
Patrick F. Wilbur, is derived from the 2009 Xen Training /
Tutorial as updated by Zach Shepherd and Jeanna Matthews
from the original version written by Zach Shepherd and Wenjin
Hu, originally derived from materials written by Todd Deshane
and Patrick F. Wilbur.

Portions of this work are inspired by Jeremy
Fitzhardinge's Pieces of Xen slides.

Variations of this work have been presented numerous times at
the USENIX Annual Technical Conference, USENIX LISA, and
at other various locations across the United States.
Overview

● Session 1: Xen Introduction and Installing Xen

● Session 2: Guest Creation and Management

● Session 3: Xen in the Datacenter

● Session 4: Xen in the Cloud
Session 1

Xen Introduction and Installing Xen
Xen Overview
Xen and the Art of Virtualization

 ● Xen is a virtualization system supporting both
   paravirtualization and hardware-assisted full virtualization

 ● Name from neXt gENeration virtualization

 ● Initially created by University of Cambridge
   Computer Laboratory

 ● Open source (licensed under GPLv2)
Xen Virtualization Basics

● A physical machine runs a program to manage virtual
  machines (Virtual Machine Monitor or hypervisor)

● On the physical machine, there are one or more virtual
  machines (domains) running

● A virtual machine is an encapsulated operating system
  which can run applications as a physical machine

● The management virtual machine (Domain0) is responsible
  for interacting with the hypervisor

● Other virtual machines are called guests
Ways to Use Virtualization

● Fully utilize hardware resources: consolidation of
  workloads on single machine, exploitation of multiple cores

● Running heterogeneous environments on one
  machine: different operating systems, different libraries

● Isolation: separate workloads that have different
  requirement and/or to avoid attacks on one from
  compromising another

● Manageability: rapid deployment and provisioning,
  backup/disaster recovery, portability
Types of Virtualization

Emulation:
Fully-emulate the underlying hardware architecture

Full virtualization:
Simulate the base hardware architecture

Paravirtualization:
Abstract the base architecture

OS-level virtualization:
Shared kernel (and architecture), separate user spaces
Virtualization in Xen

Paravirtualization:
 ● Uses a modified Linux kernel
 ● Guest loads Dom0's pygrub or Dom0's kernel
 ● Front-end and back-end virtual device model
 ● Cannot run Windows
 ● Guest "knows" it's a VM and talks with the hypervisor

Hardware-assisted full virtualization:
 ● Uses the same, normal, OS kernel
 ● Guest contains grub and kernel
 ● Normal device drivers
 ● Can run Windows
 ● Guest doesn't "know" it's a VM, so hardware manages it
Reasons to Use Xen

Paravirtualization (PV):
 ● High performance (claim to fame)
 ● High scalability
 ● Uses a modified operating system

Hardware-assisted full virtualization (HVM):
 ● Co-evolution of hardware and software on x86 architecture
 ● Uses an unmodified operating system
Reasons to Use Xen

● Xen is powered by a growing and active community and a
  diverse range of products and services

● Xen offers high performance and an isolating architecture
Xen Architecture
Xen: Hypervisor Role

● Thin, privileged abstraction layer between the hardware and
  operating systems

● Defines the virtual machine that guest domains see instead
  of physical hardware:

   ○ Grants portions of physical resources to each guest

   ○ Exports simplified devices to guests

   ○ Enforces isolation among guests
Xen: Domain0 (Dom0) Role

 ● Creates and manages guest VMs
xm (Xen management tool)
                      A client application to send commands to xend

 ● Interacts with the Xen hypervisor
xend (Xen daemon)
                       Daemon to communicate with the hypervisor

 ● Supplies device and I/O services:
    ○ Runs (backend) device drivers
    ○ Provides domain storage
Normal Linux Boot Process

BIOS

        Master Boot Record (MBR)

GRUB
        Kernel
        Module
Linux
The Xen Boot Process

GRUB starts
        Kernel
Hypervisor starts
        Module
Domain0 starts
        Daemon
Xend starts
        xm
Guest domain starts
Installing the Open-source
      Xen Hypervisor
Installing Xen from a Package

root:~>yum install xen
Installing Xen from a Package

 ● OpenSUSE: Install with YaST
http://www.susegeek.com/general/how-to-install-configure-xen-virtualization-in-
opensuse-110/

 ● Gentoo: Install with portage
http://www.gentoo.org/doc/en/xen-guide.xml

 ● NetBSD: Xen package support as of BSD 4.0
http://www.netbsd.org/ports/xen/howto.html
Installing Xen from Source

Reasons to use the latest Xen version:

 ● Performance optimization, cutting-edge features

 ● Security and bug fixes

 ● Support for additional Dom0 OSes (Linux, Solaris, BSD)

 ● Ability to patch/customize


Xen4 installation instructions, including from source:
http://wiki.xensource.com/xenwiki/Xen4.0
Installing Xen from Source

New in Xen4:

 ● blktap2 for VHD image support, snapshots and cloning

 ● Primary graphics card GPU passthru for high-performance
   3D graphics and hardware-accelerated video

 ● TMEM allows improved utilization of unused (for example
   page cache) PV guest memory

 ● Memory page sharing and page-to-disc for HVM guests

 ● Copy-on-Write sharing of memory pages between VMs
Installing Xen from Source

Also new in Xen4:

 ● Netchannel2 for improved networking acceleration, smart
   NICs, multi-queue support, SR-IOV functionality

 ● On-line resize of guest disks without reboot/shutdown

 ● Remus Fault Tolerance: live transactional synchronization
   of VM state between physical servers

 ● RAS features: physical cpu/memory hotplug
GRUB Configuration

Sample Xen GRUB Configuration:
title Xen 3.4
root (hd0,0)
kernel /boot/xen-3.4.0.gz
module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda1
module /boot/initrd.img-2.6.18.8-xen



Sample Normal Linux GRUB Configuration:
title Ubuntu 2.6.24-23
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-23-generic root=/dev/sda1
initrd /boot/initrd.img-2.6.24-23-generic
Xend Configuration

Xen daemon's configuration in /etc/xen/xend-config.sxp :

 ● Configure Xen to listen for remote connections

 ● Set max/min Dom0 CPU and memory resources

 ● Set up the virtual network:
    ○ Bridging
    ○ Routing
    ○ NAT

 ● Configure live migration (enable and set relocation port)
Sample Xend Configuration
# (logfile /var/log/xen/xend.log)
# (loglevel DEBUG)

# (xend-http-server no)
(xend-unix-server yes)
(xend-unix-path /var/lib/xend/xend-socket)

(network-script network-bridge)
(vif-script vif-bridge)

(dom0-min-mem 256)
(dom0-cpus 0)

# (xend-relocation-server no)
# (xend-relocation-port 8002)

# (vnc-listen '127.0.0.1')
(vncpasswd '')
Network Modes

Bridging mode:
Guest domains are transparently on the same
network as Dom0
Routing mode:
Guest domains sit behind Dom0 and packets are
relayed to the network by Dom0

NAT mode:
Guest domains hide behind Dom0 using Dom0's
IP for external traffic
Bridge Mode
Routing Mode
NAT Mode
Network Configuration
1. Set network-script and vif-script in xend config.

2. Restart Xen daemon:
/etc/init.d/xend restart

service xend restart
Bridge Mode Configuration

● Default network mode for Xen

● Xen uses bridge-utils in Dom0 to provide virtual
  network bridging
Routing Mode Configuration

 ● Modify xend configuration:
(network-script network-route)
(vif-script vif-route)



 ● Xen uses iptables in Dom0 to perform software routing
NAT Mode Configuration

 ● Modify xend configuration:
(network-script network-nat)
(vif-script vif-nat)


 ● Xen uses iptables in Dom0 to perform NAT
/etc/init.d/xend start
echo $?

0 - everything's fine
1 - everything's not so fine
4 - you did not run as root


       xend
xm list (No Guests Running)
Session 2

Guest Creation and Management
Guest Configuration
Local Storage

Raw File:
 ● Use a filesystem within a single file
 ● Takes advantage of loopback devices

Partition:
 ● Use a partition on a logical partition
 ● Can be physical partition or on an LVM volume

Partitioned File:
 ● Less common
 ● Treats a raw file as a disk (instead of single partition)
Local Storage: Raw File for PV

1. Allocate storage:
 dd if=/dev/zero of=/path/to/image.img bs=1024k count=1024

2. Format:
 mkfs.ext3 -F /path/to/image.img

3. Mount the storage:
    mkdir /mnt/tmp; mount -o loop /path/to/new/image.img /mnt/tmp

4. Install the operating system (needs PV drivers):
    debootstrap hardy /mnt/tmp or cp -a /* /mnt/tmp
Local Storage: Raw File for PV

5. Modify various files in guest filesystem and unmount:
 e.g. /etc/fstab , /etc/hostname , /etc/ifconfig

6. Create the guest configuration file for Xen to use
Local Storage: Raw File for HVM

1. Allocate storage:
   dd if=/dev/zero of=/path/to/image.img bs=1024k count=1024


2. Create the guest configuration file

3. Install the operating system
Guest Storage Configuration Options

Array of disk specifications:
'real dev in dom0, virtual dev in domU,   Access (r, w)'



SCSI (sd) and IDE (hd) examples:
disk = [ 'phy:sda, sda, w',
             'phy:/dev/cdrom, cdrom:hdc, r' ]
disk = [ 'tap:aio:hdb1, hdb1, w',
             'phy:/dev/LV/disk1, sda1, w' ]

Xen virtual device example:
disk = [ 'tap:aio:hdb1, xvdb1, w',
             'phy:/dev/LV/disk1,xvda1, w' ]
General Guest Configuration Options

(For both PV and HVM guests)

name
 ● The name of the guest
 ● (defaults to configuration filename)

vcpus
 ● The number of virtual CPUs
 ● (defaults to 1)
memory
 ● The amount of memory (in MB)
 ● (defaults to 128)
Guest Network Configuration

 ● Array of virtual interface network parameters specify
   'MAC Address, IP Address,' for each interface

 ● Examples:
vif = [ ' ' ] # Default bridge, random MAC address

vif = [ 'mac=00:16:3e:36:a1:e9,
ip=192.168.1.25, bridge=xenbr0' ]
Guest Network Configuration

Bridge mode networking (default in xend config):
Set vif statement in the DomU's configuration file

Routing mode networking (if chosen in xend config):
Set DomU's gateway (in guest OS's network configuration) to
Dom0's external IP (e.g. 192.0.32.10)

NAT mode networking (if chosen in xend config):
Set DomU's gateway (in guest OS's network configuration) to
Dom0's internal IP (e.g. 10.0.0.1)
Guest Creation
HVM-specific Configuration Options

kernel
                                 The location of the HVM loader

builder
          Domain build function ("hvm" for an unmodified kernel)

device_model
          Location of the device emulation tool (e.g. "qemu_dm")

boot
                          The boot order (CD-ROM, hard drive)

vnc
                      Enable VNC utility for the guest to display
Sample HVM Guest Configuration

vcpus = 1
memory = 512

kernel = "/usr/lib64/xen/boot/hvmloader"
builder = "hvm"
device_model = "/usr/lib64/xen/bin/qemu-dm"

boot = "cd"
disk = [ 'tap:aio:/xen/images/hvm.disk, ioemu:hda,w',
'phy:/dev/cdrom, ioemu:hdc:cdrom,r' ]


vif = [ 'type=ioemu, bridge=eth0' ]

vnc = 1   # (or sdl = 1)
Installing HVM Guest OSes (CD/.iso)

1. Allocate disk image for the VM

2. Create HVM config. with CD/.iso as first boot device

3. Boot the guest:
   xm create /path/to/guest.cfg


4. Follow normal installation process of guest OS

5. Change boot order in guest configuration file, reboot
PV-specific Configuration Options

kernel
             Location of the Xen-modified kernel in Dom0's filespace

ramdisk
          Location of the initial RAM disk image in Dom0's filespace

 or:

bootloader
                         The location of the bootloader (e.g. pygrub)
PV-specific Configuration Options

root
                         The partition to use as root inside the guest

extra
              The parameters appended to the kernel command line
              (as would be normally set at the end of a kernel line)

vfb
        Virtual framebuffer for PV guest to use in addition to console
Sample PV Guest Configuration

vcpus = 1
memory = 64

kernel = "/boot/vmlinuz-2.6.18.8-xen"
extra = 'xencons=tty'
ramdisk = "/boot/initrd.img-2.6.18.8-xen"

disk = [ 'phy:hda1,xvda1,w' ]
root = "/dev/xvda1"

vif = [ '' ]
vfb = ['type=vnc,vncunused=1']
Installing PV Guest OSes

1. Allocate disk image for the guest VM

2. Mount and populate disk image with distro tools:
    ○ Stacklet Bundler
    ○ virt-install
    ○ virt-manager (discussed further later)
    ○ vmbuilder
    ○ debootstrap
    ○ The tool that comes with your favorite distro

3. Unmount image and create PV guest configuration

4. Boot the guest: xm create /path/to/guest.cfg
Pre-built Guest Images

Sources:
 ● http://stacklet.com
 ● http://rpath.com
 ● http://jumpbox.com

Advantages:
 ● Simple to download and extract the images
 ● Available with different distribution OSes and
   pre-installed applications
P2V : Physical Machine to a VM

Conversion of a physical machine into a virtual machine

Scenarios:
 ● Virtualizing existing infrastructure
 ● Supporting legacy applications
 ● System administration benefits of virtualization

Available Tools:
 ● Use existing backup tools to create a file backup
 ● P2V LiveCD
 ● XenServer conversion tool
 ● Various third-party tools
Guest Access Methods

 ● The simplest way: console
xm console domU_name

 ● A better way: SSH directly to DomU
ssh user@xxx.xxx.xxx.xxx

 ● Simple graphics: SSH with X11 forwarding to DomU
ssh -X user@xxx.xxx.xxx.xxx

 ● Better graphics: SDL or VNC
    ○ Install vncviewer package
Enable the vnc or sdl option in guest config file
xm create
xm console
xm list
xentop
Session 3

Xen in the Datacenter
Network Storage
Network Storage Options
ATA over Ethernet (AoE):
  ● Export block devices over the network
  ● Lightweight Ethernet layer protocol
  ● No built-in security
Internet Small Computer System Interface (iSCSI):
  ● Exports block devices over the network
  ● Network layer protocol
  ● Scales with network bandwidth
  ● Client and user-level security
Network File System (NFS):
  ● Exports file system over the network
  ● Network layer protocol
  ● Known performance issues as root file system
Network Storage Options

Network Block Device (NBD):
 ● Exports block devices over the network
 ● Network layer protocol
 ● Scales with network bandwidth
 ● Not recommended as root file system
Distributed Replicated Block Device (DRBD):
 ● Exports and shares block devices over the network
 ● Integration with Heartbeat
 ● No additional storage server necessary
Using AoE

1. Install required packages:
     ○ Install vblade on the storage server
     ○ Install aoe-tools and the aoe module in the Domain0

2. Export a guest image from the storage server:
  vbladed 1 1 eth0 /dev/ (for partitions)
                        ...
  vbladed 1 1 eth0 /path/to/image.img (for files)

3. Point the guest configuration to the image:
  disk = ['phy:etherd/e1.1,xvda1,w']

Notes:
 ● Remember that AoE provides no security
 ● Never use the same shelf/slot for two images
Using DRBD

1. Install required packages:
     ○ Ubuntu/Debian: drbd8-utils and drbd8-module
Red Hat/CentOS: drbd and drbd-km

2. Configure DRBD:
      ○ Mostly beyond the scope of this presentation
      ○ Disable sendpage in /etc/modprobe.d/drbd.conf :
options drbd disable_sendpage=1

3. Point the guest configuration to the image:
disk = [ 'drbd:resource,xvda,w' ]

Documentation:
http://www.drbd.org/users-guide/ch-xen.html
Management Tools and
     Integration
Guest Management Tools
Simplify:
 ● Creation of guest images
 ● Manipulation of guest domains
 ● Generation of guest configuration files
 ● Monitoring resource usage by guests
Popular tools:
 ● Convirt
     ○ Open-source
     ○ Third-party product and support
 ● Zentific
     ○ Open-source
     ○ Web-based tool
 ● Virtual Machine Manager
     ○ Open-source
     ○ Desktop tool
Convirt
● Designed for full datacenter management

● Allows for managing the complete lifecycle of Xen (and
  KVM) guests and hosts

● Open-source with commercial support
Convirt: Manage VMs
Convirt: Manage Domain0s
Convirt: Provision VMs Based on Templates
Convirt: Manage VM Configuration
Zentific

 ● Open source web-based management tool

 ● Allows for managing and provisioning Xen guests
Zentific: Main Screen
Zentific: VM Status Panel
Zentific: VM Configuration
Zentific: Web-based Guest Console
Virtual Machine Manager

● Graphical user interface for managing virtual machines

● Allows for Xen guest performance monitoring, resource
  allocation, and domain creation.

● Open source with Red Hat support
Virt-manager: Virtual Machine Manager
Virt-manager: Creating a PV CentOS Guest by URL
Virt-manager: Configuring a PV Guest
Virt-manager: Installing PV guest
Virt-manager: Accessing a PV CentOS Guest
Virt-manager: Configuring an HVM Guest
Installing a Windows HVM Guest from CD-ROM
Virt-manager: Windows HVM Guest Running in Xen
Xen Integration and Compatibility

libvirt:
Provides a uniform interface with different virtualization technologies

Mainline Virtualization API (pv_ops):
Provides a common paravirtualization interface in mainstream Linux kernel for
increased performance and capabilities

Open Virtual Machine Format (OVF):
Defines a set of metadata tags that can be used to deploy virtual environment
across multiple virtualization platforms

Xen API (XAPI)
Advanced Networking
Multiple Dom0 Network Interfaces

Motivation:
Segregate DomUs over different networks

Procedure:
    1. Run network bridge script for each physical interface:
      /etc/xen/scripts/network-bridge start vifnum=0
         netdev=eth1 bridge=xenbr1
    2. Configure the DomU's vif option for each bridge:
      vif = ['bridge=xenbr1', ...]
Multiple DomU Network Interfaces

Motivation:
Allow a DomU to connect to different virtual bridges

Procedure:
Modify DomU configuration file:
vif = ['bridge=xenbr0', 'bridge=xenbr1', ...]
DomU Network Isolation

Motivation:
Isolate DomUs from external network, but allow them to
communicate with one another

Procedure:
    1. Create a dummy bridge in Dom0 in network
       configuration or with brctl
    2. Configure DomUs to connect to that dummy bridge:
vif = ['bridge = dummy0']
DomU Network Rate Limiting

Motivation:
Rate limiting for DomU network usage for better performance
isolation

Procedure:
  Configure DomU's vif option with rate parameter :
  vif = ['..., rate=50Kb/s']
Performance and Scalability
Measuring Performance

CPU:
xm top / xentop

Buffer:
xentrace

Disk I/O:
xenmon

Hardware Events:
xenoprof
Memory and Scalability

● Using memory overcommitment, more memory can be
  allocated than is on the system

● Memory allocated to, but unused by, a VM is made
  available for use by other VMs

● Reduces wasted resources, allowing greater scalability

● Risk poor performance due to swapping
Session 4

Xen in the Cloud
Guest Relocation
Guest Relocation

● Cold Relocation

● Warm Migration
● Live Migration
Cold Relocation

Motivation:
Moving guest between hosts without shared storage or with
different architectures or hypervisor versions

Process:
    1. Shut down a guest on the source host
    2. Move the guest from one Domain0's file system to
       another's by manually copying the guest's disk image
       and configuration files
    3. Start the guest on the destination host
Cold Relocation

Benefits:
 ● Hardware maintenance with less downtime
 ● Shared storage not required
 ● Domain0s can be different
 ● Multiple copies and duplications

Limitation:
 ● More manual process
 ● Service should be down during copy
Warm Migration

Motivation:
Move a guest between hosts when uptime is not critical

Command:
xm migrate

Result:
   1. Pauses a guest's execution
   2. Transfers guest's state across network to a new host
   3. Resumes guest's execution on destination host
Warm Migration

Benefits:
 ● Guest and processes remains running
 ● Less data transfer than live migration

Limitations:
 ● For a short time, the guest is not externally accessible
 ● Requires shared storage
 ● Network connections to and from guest are interrupted and
   will probably timeout
Live Migration

Motivation:
Load balancing, hardware maintenance, and
power management

Command:
xm migrate --live

Result:
   1. Begins transferring guest's state to new host
   2. Repeatedly copies dirtied guest memory (due to
      continued execution) until complete
   3. Re-routes network connections, and guest continues
      executing with execution and network uninterrupted
Live Migration

Benefits:
 ● No downtime
 ● Network connections to and from guest often remain active
   and uninterrupted
 ● Guest and its services remain available

Limitations:
 ● Requires shared storage
 ● Hosts must be on the same layer 2 network
 ● Sufficient spare resources needed on target machine
 ● Hosts must be similar
Xen Cloud Platform (XCP)
Xen Cloud Platform (XCP)

● Xen Cloud Platform (XCP) is turnkey virtualization solution
  that provides out-of-the-box virtualization/cloud computing

● XCP includes:
   ○ Open-source Xen hypervisor
   ○ Enterprise-level XenAPI (XAPI) management tool stack
   ○ Support for Open vSwitch (open-source, standards-
     compliant virtual switch)

● XCP was originally derived from Citrix XenServer (a free
  enterprise product), is open-source, and is free

● XCP promises to contain cutting-edge features that will
  drive future developments of Citrix XenServer
XCP Features

● Fully-signed Windows PV drivers

● Single Root I/O Virtualization (SR-IOV) support

● Heterogeneous machine resource pool support

● Installation by templates for many different guest OSes
XCP XenAPI Management Tool Stack

● VM lifecycle: live snapshots, checkpoint, migration

● Resource pools: live relocation, auto configuration,
  disaster recovery

● Flexible storage, networking, and power management

● Event tracking: progress, notification

● Upgrade and patching capabilities

● Real-time performance monitoring and alerting
XCP's xsconsole (SSH or Local)
XCP's XAPI Viewer
XCP Management Tools
OpenXenManager

 ● Open-source clone of Citrix XenCenter

 ● Manages both Citrix XenServer and Xen Cloud Platform

  ● Freely available:
http://www.openxenmanager.com
OpenXenManager: Multi-host, Multi-guest Status
OpenXenManager: Host and Guest Consoles
XenWebManager

 ● Web-based utility that shares OpenXenManager's codebase

  ● Open-source and freely available:
http://sourceforge.net/projects/xenwebmanager/
XenWebManager: Guest Creation with Templates
XenWebManager: Guest Creation with Templates
XenWebManager: Guest Creation with Templates
XenWebManager: Guest Creation with Templates
XenWebManager: Guest Creation with Templates
XenWebManager: Guest Creation with Templates
XenWebManager: Guest Creation with Templates
Xen VNC Proxy (XVP)

 ● Web-based, open-source management for both
   Citrix XenServer and Xen Cloud Platform

 ● VNC guest console via web browser

  ● Freely available as software or a virtual appliance:
http://www.xvpsource.org
XVP: Host Pool and Guest Status
XVP: Manage Guests
XVP: Two-server Pool Running Virtual Appliances
XVP: Select Server to Boot VM
XVP: Web-based Guest Consoles
Xen Cloud Control System (XCCS)

 ● "XCCS is a lightweight front end package for the excellent
   Xen Cloud Platform cloud computing system. XCCS is
   totally web based so any computer or smart phone with a
   web browser can be used with it!"

  ● Open-source and freely available as software/appliance:
http://www.xencloudcontrol.com
Xen Cloud Control System (XCCS)
Xen Cloud Control System (XCCS)
Xen Cloud Control System (XCCS)
Xen Cloud Control System (XCCS)
Xen Cloud Control System (XCCS)
Xen Cloud Control System (XCCS)
Xen Cloud Control System (XCCS)
Xen Cloud Control System (XCCS)
Xen Cloud Control System (XCCS)
Closing Remarks
Cloud Computing BoF

Tuesday, 8:00pm:
Open Source and Open Standards-based Cloud Computing
(Room: Willow Glen)

Todd Deshane and Patrick F. Wilbur, Clarkson University
Ben Pfaff, Nicira Networks
Jason Faulkner, Rackspace

In this session, we will describe some of the open source components available
to support hybrid (public/private) cloud computing. We have some interest and
expertise with various open source components, such as the hypervisor (Xen),
the infrastructure platform (the Xen Cloud Platform (XCP)), the virtual
networking switch layer (Open vSwitch), and the cloud computing software
(OpenStack). We invite others that are interested in learning about, describing
experiences with, and discussing the role open source and open standards-
based solutions play in the cloud.
Cloud Computing Sessions

● Wednesday, 4:00pm: Experiences with Eucalyptus:
  Deploying an Open Source Cloud

● Thursday, 2:00pm: Flying Instruments-Only: Navigating
  Legal and Security Issues from the Cloud

● Thursday, 4:00pm: RC2 -- A Living Lab for
  Cloud Computing

● Thursday, 4:00pm: Panel: Legal and Privacy Issues in
  Cloud Computing
Useful Resources and References

Community:
 ● Xen Mailing List: http://www.xen.org/community/
 ● Xen Wiki: http://wiki.xensource.com/xenwiki/
 ● Xen Blog: http://blog.xen.org
 ● http://wiki.xensource.com/xenwiki/XenCommonProblems

Books:
 ● The Definitive Guide to the Xen Hypervisor
 ● Running Xen: A Hands-On Guide to the Art of Virtualization

Discussion:
 ● http://www.xen.org/community/xenpapers.html
 ● Abstracts, slides, and videos from Xen Summits

Contenu connexe

Tendances

Xen versus kvm_20080623
Xen versus kvm_20080623Xen versus kvm_20080623
Xen versus kvm_20080623Todd Deshane
 
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPOscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPThe Linux Foundation
 
Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP The Linux Foundation
 
BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform The Linux Foundation
 
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5Lorscheider Santiago
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622Todd Deshane
 
Docker Internals - Twilio talk November 14th, 2013
Docker Internals - Twilio talk November 14th, 2013Docker Internals - Twilio talk November 14th, 2013
Docker Internals - Twilio talk November 14th, 2013Guillaume Charmes
 
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Todd Deshane
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCPThe Linux Foundation
 
The ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of DockerThe ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of DockerAniekan Akpaffiong
 
Introduction to Docker
Introduction  to DockerIntroduction  to Docker
Introduction to DockerJian Wu
 
ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies
 ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies
ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case StudiesOpenNebula Project
 
Xen cloud platform
Xen cloud platformXen cloud platform
Xen cloud platformBill Chea
 

Tendances (20)

Xen versus kvm_20080623
Xen versus kvm_20080623Xen versus kvm_20080623
Xen versus kvm_20080623
 
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPOscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
 
Usenix04 20040702
Usenix04 20040702Usenix04 20040702
Usenix04 20040702
 
Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP
 
BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform
 
Docker internals
Docker internalsDocker internals
Docker internals
 
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
 
Aplura virtualization slides
Aplura virtualization slidesAplura virtualization slides
Aplura virtualization slides
 
Building FOSS clouds
Building FOSS cloudsBuilding FOSS clouds
Building FOSS clouds
 
Xen and Apache cloudstack
Xen and Apache cloudstack  Xen and Apache cloudstack
Xen and Apache cloudstack
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
 
Docker Internals - Twilio talk November 14th, 2013
Docker Internals - Twilio talk November 14th, 2013Docker Internals - Twilio talk November 14th, 2013
Docker Internals - Twilio talk November 14th, 2013
 
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud?
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
 
Xen Cloud Platform Update
Xen Cloud Platform UpdateXen Cloud Platform Update
Xen Cloud Platform Update
 
Docker
DockerDocker
Docker
 
The ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of DockerThe ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of Docker
 
Introduction to Docker
Introduction  to DockerIntroduction  to Docker
Introduction to Docker
 
ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies
 ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies
ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies
 
Xen cloud platform
Xen cloud platformXen cloud platform
Xen cloud platform
 

Similaire à 2010 xen-lisa

S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622Todd Deshane
 
RHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdfRHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdfPaul Yang
 
XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...
XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...
XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...The Linux Foundation
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISORVanika Kapoor
 
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...The Linux Foundation
 
Xen architecture q1 2008
Xen architecture q1 2008Xen architecture q1 2008
Xen architecture q1 2008colegio letonia
 
Linaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARMLinaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARMThe Linux Foundation
 
LinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondThe Linux Foundation
 
LinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyondLinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyondThe Linux Foundation
 
ELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedStefano Stabellini
 
Securing Your Cloud with Xen (CloudOpen NA 2013)
Securing Your Cloud with Xen (CloudOpen NA 2013)Securing Your Cloud with Xen (CloudOpen NA 2013)
Securing Your Cloud with Xen (CloudOpen NA 2013)Russell Pavlicek
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To LinuxZeeshan Rizvi
 
LF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and FuturesLF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and FuturesThe Linux Foundation
 

Similaire à 2010 xen-lisa (20)

OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
 
Xen Hypervisor
Xen HypervisorXen Hypervisor
Xen Hypervisor
 
RHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdfRHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdf
 
XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...
XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...
XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...
 
OLUG_xen.ppt
OLUG_xen.pptOLUG_xen.ppt
OLUG_xen.ppt
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Belvedere
BelvedereBelvedere
Belvedere
 
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
 
Xen architecture q1 2008
Xen architecture q1 2008Xen architecture q1 2008
Xen architecture q1 2008
 
Linaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARMLinaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARM
 
LinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and Beyond
 
LFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and BeyondLFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and Beyond
 
LinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyondLinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyond
 
ELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for Embedded
 
Securing Your Cloud with Xen (CloudOpen NA 2013)
Securing Your Cloud with Xen (CloudOpen NA 2013)Securing Your Cloud with Xen (CloudOpen NA 2013)
Securing Your Cloud with Xen (CloudOpen NA 2013)
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To Linux
 
LF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and FuturesLF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and Futures
 
Xen & virtualization
Xen & virtualizationXen & virtualization
Xen & virtualization
 

Plus de Todd Deshane

Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)
Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)
Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)Todd Deshane
 
Todd Deshane's PhD Proposal
Todd Deshane's PhD ProposalTodd Deshane's PhD Proposal
Todd Deshane's PhD ProposalTodd Deshane
 
Computer Security for Mission Assurance
Computer Security for Mission AssuranceComputer Security for Mission Assurance
Computer Security for Mission AssuranceTodd Deshane
 
Ph d proposal_20070809
Ph d proposal_20070809Ph d proposal_20070809
Ph d proposal_20070809Todd Deshane
 
Ph d proposal_20070809
Ph d proposal_20070809Ph d proposal_20070809
Ph d proposal_20070809Todd Deshane
 
Ece seminar 20070927
Ece seminar 20070927Ece seminar 20070927
Ece seminar 20070927Todd Deshane
 
Ece seminar 20070927
Ece seminar 20070927Ece seminar 20070927
Ece seminar 20070927Todd Deshane
 
Cs seminar 20071207
Cs seminar 20071207Cs seminar 20071207
Cs seminar 20071207Todd Deshane
 
Cs seminar 20071207
Cs seminar 20071207Cs seminar 20071207
Cs seminar 20071207Todd Deshane
 
Cs seminar 20070426
Cs seminar 20070426Cs seminar 20070426
Cs seminar 20070426Todd Deshane
 
Cs seminar 20070426
Cs seminar 20070426Cs seminar 20070426
Cs seminar 20070426Todd Deshane
 
Cs seminar 20061207
Cs seminar 20061207Cs seminar 20061207
Cs seminar 20061207Todd Deshane
 
Cs seminar 20061207
Cs seminar 20061207Cs seminar 20061207
Cs seminar 20061207Todd Deshane
 
Csaw research poster_20071204
Csaw research poster_20071204Csaw research poster_20071204
Csaw research poster_20071204Todd Deshane
 
Atc ny friday-talk_slides_20080808
Atc ny friday-talk_slides_20080808Atc ny friday-talk_slides_20080808
Atc ny friday-talk_slides_20080808Todd Deshane
 
Atc ny friday-talk_20080808
Atc ny friday-talk_20080808Atc ny friday-talk_20080808
Atc ny friday-talk_20080808Todd Deshane
 
Xen versus kvm_slides_20080623
Xen versus kvm_slides_20080623Xen versus kvm_slides_20080623
Xen versus kvm_slides_20080623Todd Deshane
 

Plus de Todd Deshane (17)

Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)
Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)
Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)
 
Todd Deshane's PhD Proposal
Todd Deshane's PhD ProposalTodd Deshane's PhD Proposal
Todd Deshane's PhD Proposal
 
Computer Security for Mission Assurance
Computer Security for Mission AssuranceComputer Security for Mission Assurance
Computer Security for Mission Assurance
 
Ph d proposal_20070809
Ph d proposal_20070809Ph d proposal_20070809
Ph d proposal_20070809
 
Ph d proposal_20070809
Ph d proposal_20070809Ph d proposal_20070809
Ph d proposal_20070809
 
Ece seminar 20070927
Ece seminar 20070927Ece seminar 20070927
Ece seminar 20070927
 
Ece seminar 20070927
Ece seminar 20070927Ece seminar 20070927
Ece seminar 20070927
 
Cs seminar 20071207
Cs seminar 20071207Cs seminar 20071207
Cs seminar 20071207
 
Cs seminar 20071207
Cs seminar 20071207Cs seminar 20071207
Cs seminar 20071207
 
Cs seminar 20070426
Cs seminar 20070426Cs seminar 20070426
Cs seminar 20070426
 
Cs seminar 20070426
Cs seminar 20070426Cs seminar 20070426
Cs seminar 20070426
 
Cs seminar 20061207
Cs seminar 20061207Cs seminar 20061207
Cs seminar 20061207
 
Cs seminar 20061207
Cs seminar 20061207Cs seminar 20061207
Cs seminar 20061207
 
Csaw research poster_20071204
Csaw research poster_20071204Csaw research poster_20071204
Csaw research poster_20071204
 
Atc ny friday-talk_slides_20080808
Atc ny friday-talk_slides_20080808Atc ny friday-talk_slides_20080808
Atc ny friday-talk_slides_20080808
 
Atc ny friday-talk_20080808
Atc ny friday-talk_20080808Atc ny friday-talk_20080808
Atc ny friday-talk_20080808
 
Xen versus kvm_slides_20080623
Xen versus kvm_slides_20080623Xen versus kvm_slides_20080623
Xen versus kvm_slides_20080623
 

Dernier

Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 

Dernier (20)

Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 

2010 xen-lisa

  • 1. Xen Hypervisor Deployment, Management, and Cloud Computing Tools Todd Deshane and Patrick F. Wilbur Clarkson University
  • 2.
  • 3. Copyright Notice Copyright 2010, Todd Deshane and Patrick F. Wilbur. Last modified: September 30, 2010 11:02 PM EST. The Xen panda logo is property of Xen.org . == LICENSE: Todd Deshane and Patrick F. Wilbur Department of Mathematics and Computer Science Clarkson University Potsdam, NY USA Current slides available at: http://cosi.clarkson.edu/docs/installingxen/ These slides and content are released under the Creative Commons Attribution-Share Alike 3.0 Unported license, available online at http://creativecommons.org/licenses/by-sa/3.0/ You may share (copy, distribute, and transmit) this work, and remix (adapt) this work, as long as you attribute this work to the author and share adapted works under the same or similar license by leaving this entire notice in place (including the original author's name/contact information/URL and this license notice).
  • 4. About Us Todd Deshane is a Ph.D. Patrick F. Wilbur is a Ph.D graduate of Clarkson student at Clarkson University. University. His research interests include His research interests include information technology, security, usability, policy, and security, virtualization, and systems architecture. usability. http://todddeshane.net http://pdub.net
  • 5. Acknowledgments This 2010 Xen Training / Tutorial, by Todd Deshane and Patrick F. Wilbur, is derived from the 2009 Xen Training / Tutorial as updated by Zach Shepherd and Jeanna Matthews from the original version written by Zach Shepherd and Wenjin Hu, originally derived from materials written by Todd Deshane and Patrick F. Wilbur. Portions of this work are inspired by Jeremy Fitzhardinge's Pieces of Xen slides. Variations of this work have been presented numerous times at the USENIX Annual Technical Conference, USENIX LISA, and at other various locations across the United States.
  • 6. Overview ● Session 1: Xen Introduction and Installing Xen ● Session 2: Guest Creation and Management ● Session 3: Xen in the Datacenter ● Session 4: Xen in the Cloud
  • 7. Session 1 Xen Introduction and Installing Xen
  • 9. Xen and the Art of Virtualization ● Xen is a virtualization system supporting both paravirtualization and hardware-assisted full virtualization ● Name from neXt gENeration virtualization ● Initially created by University of Cambridge Computer Laboratory ● Open source (licensed under GPLv2)
  • 10. Xen Virtualization Basics ● A physical machine runs a program to manage virtual machines (Virtual Machine Monitor or hypervisor) ● On the physical machine, there are one or more virtual machines (domains) running ● A virtual machine is an encapsulated operating system which can run applications as a physical machine ● The management virtual machine (Domain0) is responsible for interacting with the hypervisor ● Other virtual machines are called guests
  • 11. Ways to Use Virtualization ● Fully utilize hardware resources: consolidation of workloads on single machine, exploitation of multiple cores ● Running heterogeneous environments on one machine: different operating systems, different libraries ● Isolation: separate workloads that have different requirement and/or to avoid attacks on one from compromising another ● Manageability: rapid deployment and provisioning, backup/disaster recovery, portability
  • 12. Types of Virtualization Emulation: Fully-emulate the underlying hardware architecture Full virtualization: Simulate the base hardware architecture Paravirtualization: Abstract the base architecture OS-level virtualization: Shared kernel (and architecture), separate user spaces
  • 13. Virtualization in Xen Paravirtualization: ● Uses a modified Linux kernel ● Guest loads Dom0's pygrub or Dom0's kernel ● Front-end and back-end virtual device model ● Cannot run Windows ● Guest "knows" it's a VM and talks with the hypervisor Hardware-assisted full virtualization: ● Uses the same, normal, OS kernel ● Guest contains grub and kernel ● Normal device drivers ● Can run Windows ● Guest doesn't "know" it's a VM, so hardware manages it
  • 14. Reasons to Use Xen Paravirtualization (PV): ● High performance (claim to fame) ● High scalability ● Uses a modified operating system Hardware-assisted full virtualization (HVM): ● Co-evolution of hardware and software on x86 architecture ● Uses an unmodified operating system
  • 15. Reasons to Use Xen ● Xen is powered by a growing and active community and a diverse range of products and services ● Xen offers high performance and an isolating architecture
  • 17. Xen: Hypervisor Role ● Thin, privileged abstraction layer between the hardware and operating systems ● Defines the virtual machine that guest domains see instead of physical hardware: ○ Grants portions of physical resources to each guest ○ Exports simplified devices to guests ○ Enforces isolation among guests
  • 18. Xen: Domain0 (Dom0) Role ● Creates and manages guest VMs xm (Xen management tool) A client application to send commands to xend ● Interacts with the Xen hypervisor xend (Xen daemon) Daemon to communicate with the hypervisor ● Supplies device and I/O services: ○ Runs (backend) device drivers ○ Provides domain storage
  • 19. Normal Linux Boot Process BIOS Master Boot Record (MBR) GRUB Kernel Module Linux
  • 20. The Xen Boot Process GRUB starts Kernel Hypervisor starts Module Domain0 starts Daemon Xend starts xm Guest domain starts
  • 21.
  • 22. Installing the Open-source Xen Hypervisor
  • 23. Installing Xen from a Package root:~>yum install xen
  • 24. Installing Xen from a Package ● OpenSUSE: Install with YaST http://www.susegeek.com/general/how-to-install-configure-xen-virtualization-in- opensuse-110/ ● Gentoo: Install with portage http://www.gentoo.org/doc/en/xen-guide.xml ● NetBSD: Xen package support as of BSD 4.0 http://www.netbsd.org/ports/xen/howto.html
  • 25. Installing Xen from Source Reasons to use the latest Xen version: ● Performance optimization, cutting-edge features ● Security and bug fixes ● Support for additional Dom0 OSes (Linux, Solaris, BSD) ● Ability to patch/customize Xen4 installation instructions, including from source: http://wiki.xensource.com/xenwiki/Xen4.0
  • 26. Installing Xen from Source New in Xen4: ● blktap2 for VHD image support, snapshots and cloning ● Primary graphics card GPU passthru for high-performance 3D graphics and hardware-accelerated video ● TMEM allows improved utilization of unused (for example page cache) PV guest memory ● Memory page sharing and page-to-disc for HVM guests ● Copy-on-Write sharing of memory pages between VMs
  • 27. Installing Xen from Source Also new in Xen4: ● Netchannel2 for improved networking acceleration, smart NICs, multi-queue support, SR-IOV functionality ● On-line resize of guest disks without reboot/shutdown ● Remus Fault Tolerance: live transactional synchronization of VM state between physical servers ● RAS features: physical cpu/memory hotplug
  • 28. GRUB Configuration Sample Xen GRUB Configuration: title Xen 3.4 root (hd0,0) kernel /boot/xen-3.4.0.gz module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda1 module /boot/initrd.img-2.6.18.8-xen Sample Normal Linux GRUB Configuration: title Ubuntu 2.6.24-23 root (hd0,0) kernel /boot/vmlinuz-2.6.24-23-generic root=/dev/sda1 initrd /boot/initrd.img-2.6.24-23-generic
  • 29. Xend Configuration Xen daemon's configuration in /etc/xen/xend-config.sxp : ● Configure Xen to listen for remote connections ● Set max/min Dom0 CPU and memory resources ● Set up the virtual network: ○ Bridging ○ Routing ○ NAT ● Configure live migration (enable and set relocation port)
  • 30. Sample Xend Configuration # (logfile /var/log/xen/xend.log) # (loglevel DEBUG) # (xend-http-server no) (xend-unix-server yes) (xend-unix-path /var/lib/xend/xend-socket) (network-script network-bridge) (vif-script vif-bridge) (dom0-min-mem 256) (dom0-cpus 0) # (xend-relocation-server no) # (xend-relocation-port 8002) # (vnc-listen '127.0.0.1') (vncpasswd '')
  • 31. Network Modes Bridging mode: Guest domains are transparently on the same network as Dom0 Routing mode: Guest domains sit behind Dom0 and packets are relayed to the network by Dom0 NAT mode: Guest domains hide behind Dom0 using Dom0's IP for external traffic
  • 35. Network Configuration 1. Set network-script and vif-script in xend config. 2. Restart Xen daemon: /etc/init.d/xend restart service xend restart
  • 36. Bridge Mode Configuration ● Default network mode for Xen ● Xen uses bridge-utils in Dom0 to provide virtual network bridging
  • 37. Routing Mode Configuration ● Modify xend configuration: (network-script network-route) (vif-script vif-route) ● Xen uses iptables in Dom0 to perform software routing
  • 38. NAT Mode Configuration ● Modify xend configuration: (network-script network-nat) (vif-script vif-nat) ● Xen uses iptables in Dom0 to perform NAT
  • 39. /etc/init.d/xend start echo $? 0 - everything's fine 1 - everything's not so fine 4 - you did not run as root xend
  • 40.
  • 41. xm list (No Guests Running)
  • 42. Session 2 Guest Creation and Management
  • 44. Local Storage Raw File: ● Use a filesystem within a single file ● Takes advantage of loopback devices Partition: ● Use a partition on a logical partition ● Can be physical partition or on an LVM volume Partitioned File: ● Less common ● Treats a raw file as a disk (instead of single partition)
  • 45. Local Storage: Raw File for PV 1. Allocate storage: dd if=/dev/zero of=/path/to/image.img bs=1024k count=1024 2. Format: mkfs.ext3 -F /path/to/image.img 3. Mount the storage: mkdir /mnt/tmp; mount -o loop /path/to/new/image.img /mnt/tmp 4. Install the operating system (needs PV drivers): debootstrap hardy /mnt/tmp or cp -a /* /mnt/tmp
  • 46. Local Storage: Raw File for PV 5. Modify various files in guest filesystem and unmount: e.g. /etc/fstab , /etc/hostname , /etc/ifconfig 6. Create the guest configuration file for Xen to use
  • 47. Local Storage: Raw File for HVM 1. Allocate storage: dd if=/dev/zero of=/path/to/image.img bs=1024k count=1024 2. Create the guest configuration file 3. Install the operating system
  • 48. Guest Storage Configuration Options Array of disk specifications: 'real dev in dom0, virtual dev in domU, Access (r, w)' SCSI (sd) and IDE (hd) examples: disk = [ 'phy:sda, sda, w', 'phy:/dev/cdrom, cdrom:hdc, r' ] disk = [ 'tap:aio:hdb1, hdb1, w', 'phy:/dev/LV/disk1, sda1, w' ] Xen virtual device example: disk = [ 'tap:aio:hdb1, xvdb1, w', 'phy:/dev/LV/disk1,xvda1, w' ]
  • 49. General Guest Configuration Options (For both PV and HVM guests) name ● The name of the guest ● (defaults to configuration filename) vcpus ● The number of virtual CPUs ● (defaults to 1) memory ● The amount of memory (in MB) ● (defaults to 128)
  • 50. Guest Network Configuration ● Array of virtual interface network parameters specify 'MAC Address, IP Address,' for each interface ● Examples: vif = [ ' ' ] # Default bridge, random MAC address vif = [ 'mac=00:16:3e:36:a1:e9, ip=192.168.1.25, bridge=xenbr0' ]
  • 51. Guest Network Configuration Bridge mode networking (default in xend config): Set vif statement in the DomU's configuration file Routing mode networking (if chosen in xend config): Set DomU's gateway (in guest OS's network configuration) to Dom0's external IP (e.g. 192.0.32.10) NAT mode networking (if chosen in xend config): Set DomU's gateway (in guest OS's network configuration) to Dom0's internal IP (e.g. 10.0.0.1)
  • 53. HVM-specific Configuration Options kernel The location of the HVM loader builder Domain build function ("hvm" for an unmodified kernel) device_model Location of the device emulation tool (e.g. "qemu_dm") boot The boot order (CD-ROM, hard drive) vnc Enable VNC utility for the guest to display
  • 54. Sample HVM Guest Configuration vcpus = 1 memory = 512 kernel = "/usr/lib64/xen/boot/hvmloader" builder = "hvm" device_model = "/usr/lib64/xen/bin/qemu-dm" boot = "cd" disk = [ 'tap:aio:/xen/images/hvm.disk, ioemu:hda,w', 'phy:/dev/cdrom, ioemu:hdc:cdrom,r' ] vif = [ 'type=ioemu, bridge=eth0' ] vnc = 1 # (or sdl = 1)
  • 55. Installing HVM Guest OSes (CD/.iso) 1. Allocate disk image for the VM 2. Create HVM config. with CD/.iso as first boot device 3. Boot the guest: xm create /path/to/guest.cfg 4. Follow normal installation process of guest OS 5. Change boot order in guest configuration file, reboot
  • 56. PV-specific Configuration Options kernel Location of the Xen-modified kernel in Dom0's filespace ramdisk Location of the initial RAM disk image in Dom0's filespace or: bootloader The location of the bootloader (e.g. pygrub)
  • 57. PV-specific Configuration Options root The partition to use as root inside the guest extra The parameters appended to the kernel command line (as would be normally set at the end of a kernel line) vfb Virtual framebuffer for PV guest to use in addition to console
  • 58. Sample PV Guest Configuration vcpus = 1 memory = 64 kernel = "/boot/vmlinuz-2.6.18.8-xen" extra = 'xencons=tty' ramdisk = "/boot/initrd.img-2.6.18.8-xen" disk = [ 'phy:hda1,xvda1,w' ] root = "/dev/xvda1" vif = [ '' ] vfb = ['type=vnc,vncunused=1']
  • 59. Installing PV Guest OSes 1. Allocate disk image for the guest VM 2. Mount and populate disk image with distro tools: ○ Stacklet Bundler ○ virt-install ○ virt-manager (discussed further later) ○ vmbuilder ○ debootstrap ○ The tool that comes with your favorite distro 3. Unmount image and create PV guest configuration 4. Boot the guest: xm create /path/to/guest.cfg
  • 60. Pre-built Guest Images Sources: ● http://stacklet.com ● http://rpath.com ● http://jumpbox.com Advantages: ● Simple to download and extract the images ● Available with different distribution OSes and pre-installed applications
  • 61. P2V : Physical Machine to a VM Conversion of a physical machine into a virtual machine Scenarios: ● Virtualizing existing infrastructure ● Supporting legacy applications ● System administration benefits of virtualization Available Tools: ● Use existing backup tools to create a file backup ● P2V LiveCD ● XenServer conversion tool ● Various third-party tools
  • 62. Guest Access Methods ● The simplest way: console xm console domU_name ● A better way: SSH directly to DomU ssh user@xxx.xxx.xxx.xxx ● Simple graphics: SSH with X11 forwarding to DomU ssh -X user@xxx.xxx.xxx.xxx ● Better graphics: SDL or VNC ○ Install vncviewer package Enable the vnc or sdl option in guest config file
  • 67.
  • 68. Session 3 Xen in the Datacenter
  • 70. Network Storage Options ATA over Ethernet (AoE): ● Export block devices over the network ● Lightweight Ethernet layer protocol ● No built-in security Internet Small Computer System Interface (iSCSI): ● Exports block devices over the network ● Network layer protocol ● Scales with network bandwidth ● Client and user-level security Network File System (NFS): ● Exports file system over the network ● Network layer protocol ● Known performance issues as root file system
  • 71. Network Storage Options Network Block Device (NBD): ● Exports block devices over the network ● Network layer protocol ● Scales with network bandwidth ● Not recommended as root file system Distributed Replicated Block Device (DRBD): ● Exports and shares block devices over the network ● Integration with Heartbeat ● No additional storage server necessary
  • 72. Using AoE 1. Install required packages: ○ Install vblade on the storage server ○ Install aoe-tools and the aoe module in the Domain0 2. Export a guest image from the storage server: vbladed 1 1 eth0 /dev/ (for partitions) ... vbladed 1 1 eth0 /path/to/image.img (for files) 3. Point the guest configuration to the image: disk = ['phy:etherd/e1.1,xvda1,w'] Notes: ● Remember that AoE provides no security ● Never use the same shelf/slot for two images
  • 73. Using DRBD 1. Install required packages: ○ Ubuntu/Debian: drbd8-utils and drbd8-module Red Hat/CentOS: drbd and drbd-km 2. Configure DRBD: ○ Mostly beyond the scope of this presentation ○ Disable sendpage in /etc/modprobe.d/drbd.conf : options drbd disable_sendpage=1 3. Point the guest configuration to the image: disk = [ 'drbd:resource,xvda,w' ] Documentation: http://www.drbd.org/users-guide/ch-xen.html
  • 74. Management Tools and Integration
  • 75. Guest Management Tools Simplify: ● Creation of guest images ● Manipulation of guest domains ● Generation of guest configuration files ● Monitoring resource usage by guests Popular tools: ● Convirt ○ Open-source ○ Third-party product and support ● Zentific ○ Open-source ○ Web-based tool ● Virtual Machine Manager ○ Open-source ○ Desktop tool
  • 76. Convirt ● Designed for full datacenter management ● Allows for managing the complete lifecycle of Xen (and KVM) guests and hosts ● Open-source with commercial support
  • 79. Convirt: Provision VMs Based on Templates
  • 80. Convirt: Manage VM Configuration
  • 81. Zentific ● Open source web-based management tool ● Allows for managing and provisioning Xen guests
  • 86. Virtual Machine Manager ● Graphical user interface for managing virtual machines ● Allows for Xen guest performance monitoring, resource allocation, and domain creation. ● Open source with Red Hat support
  • 88. Virt-manager: Creating a PV CentOS Guest by URL
  • 91. Virt-manager: Accessing a PV CentOS Guest
  • 93. Installing a Windows HVM Guest from CD-ROM
  • 94. Virt-manager: Windows HVM Guest Running in Xen
  • 95. Xen Integration and Compatibility libvirt: Provides a uniform interface with different virtualization technologies Mainline Virtualization API (pv_ops): Provides a common paravirtualization interface in mainstream Linux kernel for increased performance and capabilities Open Virtual Machine Format (OVF): Defines a set of metadata tags that can be used to deploy virtual environment across multiple virtualization platforms Xen API (XAPI)
  • 97. Multiple Dom0 Network Interfaces Motivation: Segregate DomUs over different networks Procedure: 1. Run network bridge script for each physical interface: /etc/xen/scripts/network-bridge start vifnum=0 netdev=eth1 bridge=xenbr1 2. Configure the DomU's vif option for each bridge: vif = ['bridge=xenbr1', ...]
  • 98. Multiple DomU Network Interfaces Motivation: Allow a DomU to connect to different virtual bridges Procedure: Modify DomU configuration file: vif = ['bridge=xenbr0', 'bridge=xenbr1', ...]
  • 99. DomU Network Isolation Motivation: Isolate DomUs from external network, but allow them to communicate with one another Procedure: 1. Create a dummy bridge in Dom0 in network configuration or with brctl 2. Configure DomUs to connect to that dummy bridge: vif = ['bridge = dummy0']
  • 100. DomU Network Rate Limiting Motivation: Rate limiting for DomU network usage for better performance isolation Procedure: Configure DomU's vif option with rate parameter : vif = ['..., rate=50Kb/s']
  • 101.
  • 103. Measuring Performance CPU: xm top / xentop Buffer: xentrace Disk I/O: xenmon Hardware Events: xenoprof
  • 104. Memory and Scalability ● Using memory overcommitment, more memory can be allocated than is on the system ● Memory allocated to, but unused by, a VM is made available for use by other VMs ● Reduces wasted resources, allowing greater scalability ● Risk poor performance due to swapping
  • 105.
  • 106. Session 4 Xen in the Cloud
  • 108. Guest Relocation ● Cold Relocation ● Warm Migration ● Live Migration
  • 109. Cold Relocation Motivation: Moving guest between hosts without shared storage or with different architectures or hypervisor versions Process: 1. Shut down a guest on the source host 2. Move the guest from one Domain0's file system to another's by manually copying the guest's disk image and configuration files 3. Start the guest on the destination host
  • 110. Cold Relocation Benefits: ● Hardware maintenance with less downtime ● Shared storage not required ● Domain0s can be different ● Multiple copies and duplications Limitation: ● More manual process ● Service should be down during copy
  • 111. Warm Migration Motivation: Move a guest between hosts when uptime is not critical Command: xm migrate Result: 1. Pauses a guest's execution 2. Transfers guest's state across network to a new host 3. Resumes guest's execution on destination host
  • 112. Warm Migration Benefits: ● Guest and processes remains running ● Less data transfer than live migration Limitations: ● For a short time, the guest is not externally accessible ● Requires shared storage ● Network connections to and from guest are interrupted and will probably timeout
  • 113. Live Migration Motivation: Load balancing, hardware maintenance, and power management Command: xm migrate --live Result: 1. Begins transferring guest's state to new host 2. Repeatedly copies dirtied guest memory (due to continued execution) until complete 3. Re-routes network connections, and guest continues executing with execution and network uninterrupted
  • 114. Live Migration Benefits: ● No downtime ● Network connections to and from guest often remain active and uninterrupted ● Guest and its services remain available Limitations: ● Requires shared storage ● Hosts must be on the same layer 2 network ● Sufficient spare resources needed on target machine ● Hosts must be similar
  • 115.
  • 117. Xen Cloud Platform (XCP) ● Xen Cloud Platform (XCP) is turnkey virtualization solution that provides out-of-the-box virtualization/cloud computing ● XCP includes: ○ Open-source Xen hypervisor ○ Enterprise-level XenAPI (XAPI) management tool stack ○ Support for Open vSwitch (open-source, standards- compliant virtual switch) ● XCP was originally derived from Citrix XenServer (a free enterprise product), is open-source, and is free ● XCP promises to contain cutting-edge features that will drive future developments of Citrix XenServer
  • 118. XCP Features ● Fully-signed Windows PV drivers ● Single Root I/O Virtualization (SR-IOV) support ● Heterogeneous machine resource pool support ● Installation by templates for many different guest OSes
  • 119. XCP XenAPI Management Tool Stack ● VM lifecycle: live snapshots, checkpoint, migration ● Resource pools: live relocation, auto configuration, disaster recovery ● Flexible storage, networking, and power management ● Event tracking: progress, notification ● Upgrade and patching capabilities ● Real-time performance monitoring and alerting
  • 120. XCP's xsconsole (SSH or Local)
  • 123. OpenXenManager ● Open-source clone of Citrix XenCenter ● Manages both Citrix XenServer and Xen Cloud Platform ● Freely available: http://www.openxenmanager.com
  • 125. OpenXenManager: Host and Guest Consoles
  • 126. XenWebManager ● Web-based utility that shares OpenXenManager's codebase ● Open-source and freely available: http://sourceforge.net/projects/xenwebmanager/
  • 127. XenWebManager: Guest Creation with Templates
  • 128. XenWebManager: Guest Creation with Templates
  • 129. XenWebManager: Guest Creation with Templates
  • 130. XenWebManager: Guest Creation with Templates
  • 131. XenWebManager: Guest Creation with Templates
  • 132. XenWebManager: Guest Creation with Templates
  • 133. XenWebManager: Guest Creation with Templates
  • 134. Xen VNC Proxy (XVP) ● Web-based, open-source management for both Citrix XenServer and Xen Cloud Platform ● VNC guest console via web browser ● Freely available as software or a virtual appliance: http://www.xvpsource.org
  • 135. XVP: Host Pool and Guest Status
  • 137. XVP: Two-server Pool Running Virtual Appliances
  • 138. XVP: Select Server to Boot VM
  • 139. XVP: Web-based Guest Consoles
  • 140. Xen Cloud Control System (XCCS) ● "XCCS is a lightweight front end package for the excellent Xen Cloud Platform cloud computing system. XCCS is totally web based so any computer or smart phone with a web browser can be used with it!" ● Open-source and freely available as software/appliance: http://www.xencloudcontrol.com
  • 141. Xen Cloud Control System (XCCS)
  • 142. Xen Cloud Control System (XCCS)
  • 143. Xen Cloud Control System (XCCS)
  • 144. Xen Cloud Control System (XCCS)
  • 145. Xen Cloud Control System (XCCS)
  • 146. Xen Cloud Control System (XCCS)
  • 147. Xen Cloud Control System (XCCS)
  • 148. Xen Cloud Control System (XCCS)
  • 149. Xen Cloud Control System (XCCS)
  • 151. Cloud Computing BoF Tuesday, 8:00pm: Open Source and Open Standards-based Cloud Computing (Room: Willow Glen) Todd Deshane and Patrick F. Wilbur, Clarkson University Ben Pfaff, Nicira Networks Jason Faulkner, Rackspace In this session, we will describe some of the open source components available to support hybrid (public/private) cloud computing. We have some interest and expertise with various open source components, such as the hypervisor (Xen), the infrastructure platform (the Xen Cloud Platform (XCP)), the virtual networking switch layer (Open vSwitch), and the cloud computing software (OpenStack). We invite others that are interested in learning about, describing experiences with, and discussing the role open source and open standards- based solutions play in the cloud.
  • 152. Cloud Computing Sessions ● Wednesday, 4:00pm: Experiences with Eucalyptus: Deploying an Open Source Cloud ● Thursday, 2:00pm: Flying Instruments-Only: Navigating Legal and Security Issues from the Cloud ● Thursday, 4:00pm: RC2 -- A Living Lab for Cloud Computing ● Thursday, 4:00pm: Panel: Legal and Privacy Issues in Cloud Computing
  • 153. Useful Resources and References Community: ● Xen Mailing List: http://www.xen.org/community/ ● Xen Wiki: http://wiki.xensource.com/xenwiki/ ● Xen Blog: http://blog.xen.org ● http://wiki.xensource.com/xenwiki/XenCommonProblems Books: ● The Definitive Guide to the Xen Hypervisor ● Running Xen: A Hands-On Guide to the Art of Virtualization Discussion: ● http://www.xen.org/community/xenpapers.html ● Abstracts, slides, and videos from Xen Summits