Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

Embed Size (px)

Citation preview

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    1/35

    Mark R. Hinkle

    Director, Cloud Computing Community

    Citrix Systems Inc.Twitter: @mrhinkle

    Email: [email protected]

    Delivering

    Infrastructure-as-a-Service (IaaS)with Open Source Software

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    2/35

    2

    Agenda

    1. Introduction

    2. Quick Cloud Computing Overview

    3. Open Source Building Blocks for Cloud

    Computing

    4. Open Source Tools for Cloud Management

    5. Questions

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    3/35

    3

    Mark Hinkle,

    Director ,Cloud Computing Community, Citrix

    Responsible for Driving Adoption of

    CloudStack Open Source Cloud Computing

    Software

    Joined Citrix via Cloud.com acquisition July

    2011

    Former manager ofZenoss Open SourceMonitoring project 100,000 users, 1.5

    million downloads

    Former LinuxWorld Magazine Editor-in-

    Chief

    Author - Windows to Linux Business

    Desktop Migration Thomson

    NetDirector Project - Open SourceConfiguration Management Project

    Sometimes Author and Blogger at

    SocializedSoftware.com/NetworkWorld

    http://www.cloudstack.org/http://www.cloudstack.org/http://www.zenoss.org/http://www.zenoss.org/http://www.networkworld.com/subnets/opensource/?v=2http://www.networkworld.com/subnets/opensource/?v=2http://www.zenoss.org/http://www.zenoss.org/http://www.cloudstack.org/http://www.cloudstack.org/
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    4/35

    Cloud Computing Overview

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    5/35

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    6/35

    6

    Five Characteristics ofClouds

    1.On-Demand Self-Service

    2.Broad Network Access

    3.Resource Pooling

    4.Rapid Elasticity

    5.Measured Service

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    7/35

    7

    Cloud Computing Service Models

    USER CLOUD a.k.a. SOFTWARE AS A SERVICE

    Single application, multi-tenancy, network-based, one-to-many delivery of

    applications, all users have same access to features.

    Examples: Salesforce.com, Google Docs, Red Hat Network/RHEL

    DEVELOPMENT CLOUD a.k.a. PLATFORM-AS-A-SERVICE

    Application developer model, Application deployed to an elastic service that

    autoscales, low administrative overhead. No concept of virtual machines or

    operating system. Code it and deploy it.

    Examples: Google AppEngine, Windows Azure, Rackspace Site, Red HatMakara

    SYSTEMS CLOUD a.k.a INFRASTRUCTURE-AS-A-SERVICE

    Servers and storage are made available in a scalable way over a network.

    Examples: EC2,Rackspace CloudFiles, OpenStack, CloudStack,Eucalyptus, Ubuntu Enterprise Cloud, OpenNebula

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    8/35

    8Deployment Models

    Public, Private & Hybrid Clouds

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    9/35

    Building Compute Clouds

    with Open Source Software

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    10/35

    10

    Why Open Source?

    Typically user-driven solutions to real problems

    Larger user base, users helping users

    Lower barrierto participation

    Aggressive release cycles can stay current with thestate-of-the-art

    Try before you buy, no brochureware, no

    PowerPoint software

    Open data, Open standards, Open APIs

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    11/35

    11

    Open Virtual Machine Formats

    Open Virtualization Format (OVF) is an openstandard for packaging and distributing virtual

    appliances or more generally software to be run

    in virtual machines. Standardization is still inprocess.

    Popular Virtual Formats:

    Amazon AMI (Amazon Machine Image)

    Hyper-V VHD (Virtual Hard Disk) KVM QCOW2 (QEMU Copy On Write

    Version 2)

    VMware VMDK (Virtual Machine Disk)

    Xen IMG (Virtual Machine Image)

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    12/35

    12Sourcing OSS

    VMs and Cloud Appliances

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    13/35

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    14/35

    14

    Open Source Compute Clouds

    Year Started License HypervisorsSupported

    2008 GPL Xenserver, Xen

    Cloud Platform,

    KVM, VMware

    2010

    (Developed

    by

    NASA by

    Anso Labspeviously)

    Apache VMware ESX and

    ESXi, Microsoft

    Hyper-V, Xen,

    KVM and Virtual

    Box

    Other open source compute software include Abiquo, Red Hats CloudForms and OpenNebula

    Numerous companies are building cloud software on OpenStack including Nebula, Piston Inc.

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    15/35

    15

    CloudStack

    Cloud Cloud Compute

    Multi-Hypervisor Support

    Robust Web Interface

    Advanced Networking Capabilities

    High Availability

    Multiple-Roles for Admins and Users

    Extensive API

    GPL Licensedwww.cloudstack.org

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    16/35

    16

    OpenStack

    Three Projects (Compute, Object Storage,

    Image Service)

    Rapid Development

    Next Release Diablo Q3 , 2011

    Large community of developers and partners

    Numerous channels for commercial support

    Command Line Interface (CLI)

    Apache License

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    17/35

    17Open Source Platform-as-a-

    ServiceYear Started Sponsors Hypervisors

    Supported

    2011 VMware Spring, Rails, Node.js

    2011 Red Hat Express Ruby, Php

    and

    Python

    Flex Jboss, Java

    EE6

    2010 WSO2 Jboss, Java EE6

    http://www.redhat.com/solutions/cloud/openshift/http://www.cloudfoundry.org/
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    18/35

    18Open Source

    Cloud Computing Storage GlusterFS Scale Out NAS system aggregating storage over

    Ethernet or Infiniband

    Ceph Distributed file storage system developed by DreamHost tohandle data at petabyte scale

    OpenStack Object Storage (SWIFT) Long-term storage objectstorage system

    Sheepdog Distributed storage for KVM hypervisors

    OpenFiler- Openfiler is a browser-based network storage software

    distribution to create aNetwork Attached Storage (NAS) and block-

    based Storage Area Networking in a single framework NFS Old standby, tried and true, not designed for cloud scale or

    performance

    http://www.gluster.org/http://ceph.newdream.net/http://www.openstack.org/projects/storage/http://www.osrg.net/sheepdog/http://www.openfiler.com/communityhttp://www.openfiler.com/communityhttp://www.osrg.net/sheepdog/http://www.openstack.org/projects/storage/http://www.openstack.org/projects/storage/http://www.openstack.org/projects/storage/http://ceph.newdream.net/http://www.gluster.org/
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    19/35

    19Cloud APIs Arent Created Equal

    Open Source Abstractions

    jclouds

    libcloud

    deltacloud

    fog

    http://www.jclouds.org/http://libcloud.apache.org/http://deltacloud.org/http://github.com/geemus/foghttp://github.com/geemus/foghttp://deltacloud.org/http://libcloud.apache.org/http://www.jclouds.org/
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    20/35

    20

    Private CloudArchitecture

    API

    Abstractions

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    21/35

    Managing Clouds with

    Open Source Tools

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    22/35

    22Automation Unlocks

    the Potential of the Cloud

    MeatCloud, Cant

    Keep up with Cloud

    Computing

    Devops & Agile ITPhilosophy

    Script Repetitive

    Tasks Automate,

    Automate, Automate

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    23/35

    23

    What Makes Tools Cloudy?

    Network Capable

    Cloud Aware

    Easy-to-Integrate Adhere to Open Standards

    Lend Themselves to Automation

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    24/35

    24

    The Myth of the Nines

    Availability % Downtime perYear

    Downtime perMonth

    Downtime perWeek

    99.9% (three nines) 8.76 hours 43.2 minutes 10.1 minutes

    99.95% 4.38 hours 21.56 minutes 5.04 minutes

    99.99% (four nines) 52.6 minutes 4.32 minutes 1.01 minutes

    99.999% (five

    nines)

    5.26 minutes 25.9 seconds 6.05 seconds

    99.9999% (six

    nines)

    31.5 seconds 2.59 seconds .0605 seconds

    Average polling interval for monitoring? 5 minutes?

    Even superhuman operations people cant be alerted and take action in under 5 minutes.

    One outage per year could drop service level to three nines or worse.

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    25/35

    25

    4 Types of Management Tools

    ProvisioningInstallation of operating systems and other software

    Configuration ManagementSets the parameters for servers, can specify

    installation parameters

    Orchestration/AutomationAutomate tasks across systems

    MonitoringRecords errors and health of IT infrastructure

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    26/35

    26

    Management Toolchains

    Configuration

    Patchingand

    Provisioning

    Monitoring

    Toolchain (n):

    A set of toolswhere the output of

    one tool becomes

    the input of another

    tool

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    27/35

    27Open Source

    Provisioning ToolsYear Started Language License Installation

    Targets

    Cobbler(Plus

    koan for PXE

    boot of VMs)

    2007 Python GPL Red Hat,

    OpenSUSE

    Fedora,

    Debian,Ubuntu

    Kickstart ? Python GPL Most .dep and

    RPM based

    Linux distros

    Spacewalk 2008 Perl, Python,Java

    GPL Fedora,Centos

    Crowbar 2011 Ruby Apache (Bare metal

    provisioning)

    https://fedorahosted.org/cobbler/http://spacewalk.redhat.com/https://github.com/dellcloudedge/crowbar/wikihttps://github.com/dellcloudedge/crowbar/wikihttp://spacewalk.redhat.com/https://fedorahosted.org/cobbler/
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    28/35

    28Open Source

    Configuration Management Tools

    Year Started Language License Client/Server

    Cfengine 1993 C Apache Yes

    Chef 2009 Ruby Apache Chef Solo No

    Chef Server - Yes

    Puppet 2004 Ruby GPL yes

    http://www.zabbix.org/wiki/Main_Pagehttp://wiki.opscode.com/display/chef/Homehttp://projects.puppetlabs.com/projects/puppethttp://projects.puppetlabs.com/projects/puppethttp://wiki.opscode.com/display/chef/Homehttp://www.zabbix.org/wiki/Main_Page
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    29/35

    29Open Source

    Monitoring ToolsYearStarted

    License Type of Monitoring CollectionMethods

    Cacti /

    RRDTool

    2001 GPL Performance SNMP, syslog

    Nagios 1999 GPL Availability SNMP,TCP,

    ICMP, IPMI,syslog

    Zabbix 2001 GPL Availability/

    Performance and more

    SNMP,

    TCP/ICMP,

    IPMI, Synthetic

    Transactions

    Zenoss 2005 GPL Availability,

    Performance, Event

    Management

    SNMP, ICMP,

    SSH, syslog,

    WMI

    http://www.cacti.net/http://www.mrtg.org/rrdtool/http://nagios.org/http://www.zabbix.org/wiki/Main_Pagehttp://www.zenoss.org/http://www.zenoss.org/http://www.zabbix.org/wiki/Main_Pagehttp://nagios.org/http://www.mrtg.org/rrdtool/http://www.cacti.net/http://www.cacti.net/
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    30/35

    30Open Source

    Automation/Orchestration ToolsYearStarted

    Language License Client/Server

    SupportOrganization

    Capistrano 2006 Ruby MIT Yes None

    RunDeck 2010 Java Apache Yes DTO

    Solutions

    Func 2007 Python GPL Yes Fedora

    Project

    MCollectiv

    e

    2009 Ruby Apache Yes PuppetLabs

    https://github.com/capistrano/capistrano/wikihttp://rundeck.org/https://fedorahosted.org/func/http://docs.puppetlabs.com/mcollective/http://docs.puppetlabs.com/mcollective/http://docs.puppetlabs.com/mcollective/http://docs.puppetlabs.com/mcollective/https://fedorahosted.org/func/http://rundeck.org/https://github.com/capistrano/capistrano/wiki
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    31/35

    31

    Miscellania

    logstash is a tool for managing your logs. W

    It helps you take logs and other event data from your systems

    and move it into a central place. logstash is open source and

    completely free.

    You can get support for logstash via a hosted version from

    http://loggly.com/

    myCloud is a free service that allows you tomanage up to five virtualized hosts via a hosted

    version of Cloudstack complimented by

    RightScale, a cloud management company. While

    this is not open source it site a free

    http://loggly.com/http://www.cloud.com/index.php?option=com_k2&view=item&layout=item&id=152&Itemid=380http://loggly.com/http://loggly.com/
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    32/35

    32

    Example Open Source Toolchain

    Launch BootStrapImage

    Provisioning

    (Cobbler,Spacewalk)

    Configuration

    (Puppet, Chef)

    Start/Stop Services

    (RunDeck,Capistrano)

    Monitor

    (Nagios, Zenoss)

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    33/35

    Slides Can be Viewed and Downloaded at:

    http://www.cloudstack.org/blog.html

    Questions?

  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    34/35

    34

    Contact Me

    Professional: [email protected]

    Personal: [email protected]

    Professional: 919.228.8049

    Personal: 919.522.3520

    Professional: http://www.cloudstack.org

    Personal: http://socializedsoftware.com

    Twitter: @mrhinkle

    Mark R. Hinkle

    Director, Cloud Computing Community

    Citrix Systems Inc.

    Open Source Enthusiast

    mailto:[email protected]:[email protected]://www.cloudstack.org/http://www.cloudstack.org/mailto:[email protected]:[email protected]
  • 7/29/2019 Webinar Deliveringiaaswithoss Pptx 110809195231 Phpapp01

    35/35

    Delivering

    Infrastructure-as-a-Service with

    Open Source Software

    by Mark R. Hinkle is licensed under a Creative Commons Attribution-

    ShareAlike 3.0 United States License.