SlideShare une entreprise Scribd logo
1  sur  36
Télécharger pour lire hors ligne
Beolink.org




  Build a “Domestic Cloud”




Fabrizio Manfredi Furuholmen
                                Beolink.org
Agenda                              Beolink.org

           Introduction
               Definition
               Characteristics
               Deployment model
               Delivery model


           openQRM
               Components
               Usage


           Eucalyptus
               Components
               Usage
What is cloud computing                          Beolink.org


  Wikipedia (2007)
  Cloud computing is a style of computing 
  in which dynamically scalable and often
  Virtualized resources are provided as a 
  Service over the internet.



  Gardner (2009)
  Cloud computing is a style of computing in 
  which scalable and elastic IT-enabled 
  capabilities are delivered as a service to 
  external customers using Internet 
  technologies.
NIST Working Definition                             Beolink.org

Definition of Cloud Computing (version 14)


 Cloud computing is a model for enabling
  convenient, on-demand network access to a shared
  pool of configurable computing resources (e.g.,
  networks, servers, storage, applications, and
  services) that can be rapidly provisioned and released
  with minimal management effort or service provider
  interaction. This cloud model promotes availability and
  is composed of five essential characteristics, three
  delivery models, and four deployment models.
Essential Characteristics                         Beolink.org

                        On-demand self-
                            service


     Measured
     Service. 
                             Ubiquitous
                                          network access. 




                                         Location
          Rapid elasticity. 
          independent
                                     resource pooling.
Delivery model                         Beolink.org

  Cloud Software as a Service
   (SaaS)

  Cloud Platform as a Service
   (PaaS)

  Cloud Infrastructure as a Service
   (IaaS)
Deployment Models                                Beolink.org

  Private cloud

   The cloud infrastructure is operated
    solely for an organization 


  Public cloud

   The cloud infrastructure is made
    available to the general public or a large
    industry group and is owned by an
    organization selling cloud services


  Hybrid cloud

 The cloud infrastructure is a composition
    of two or more clouds (private, community,
    or public) that remain unique entities
Why setup a private cloud ?               Beolink.org


                                             Utility
                         Privacy and
        Control
                          Chargeback
                          Security
                                            System




        Temporary                         Instant (Self)
    Infrastructure for   Multi-tenancy
   Provisioning
    Proof of Concept 
                     Framework




        Cloud
     Management
    Infrastructure
Cloud comparison parameters                      Beolink.org


  Virtualization / image format


     Storage type/Access


        Networking


            Interface (API, Comunication, ..)


               Scheduler
Big picture   Beolink.org
openQRM                                              Beolink.org

Open-source data center management platform, for a automatic and
appliance-based deployment, 


                                fully pluggable architecture 
                                monitoring
                                high-availability
                                cloud computing 
                                multiple virtualization technologies
                                single-management console
                                API
                                Different storage support
openQRM Concepts                                  Beolink.org

OpenQRM consists of:
  Storage server

  which can export volumes to your
     clients such as iSCSI or NFS volumes


    A filesystem image

    captured by openQRM , created, or
     generated yourself.


    A Boot Image

    from which the node boots, consisting of
     a kernel it's initrd and a small filesystem
     containing openQRM tools


    A Virtual environment

    which is actually the combination of a
     bootimage and a filesystem
openQrm: booting                                     Beolink.org


                            PXE Boot


          qrm agents
                        DHCP




      Mount image/
                                              TFTP Server
        storage




                     Openqrm
                                  Kernel+initrd
                      script
openQrm: Deploy                                   Beolink.org

  Single deployment 

    1 image running on 1 machine


  Shared deployment 

    Deploy the same filesystem on multiple
     machines, define pools where you need a
     number of resources per type filesystem and
     load balance between those instances


    Partitioned deployment 

    Rather than using full machines you can
     partition a machine with different virtual
     machines. This can be done with the same
     filesystem images. ..
openQrm: Storage                               Beolink.org

                 NFS

                 Iscsi

                 Aoe/Coraid

                 NetApp

                 Local-disk 
                   transferring server-images to the local-disk

                 LVM-Nfs/Iscsi/Aoe 
                   NFS on top of LVM2 to allow fast-cloning 
                   Iscsi on top of LVM2 to allow fast-cloning 
                   Aoe on top of LVM2 to allow fast-cloning
openQrm: failover                                           Beolink.org

  Automatic Hardware Failover (AHF)

    AHF is a system level monitoring, when openQrm
     lose its heartbeat from a node for a specified period
     of time, openQRM will provision a new resource with
     that same image and try to kill the original resource to
     prevent conflict.


  Automatic Application Recovery
   (AAR)

    AAR uses application level checks to determine
     the health of the application. The actions AAR can
     trigger are either to reboot a particular resource,
     reboot all resources that belong to that Virtual
     Environment, or simply report the error. 


  openQRM High Availability

    The HA pool can have multiple standbys.
openQrm: Policy Scheduler                                Beolink.org

  Internal Policies

 Internal thresholds of average utilization that
    determine when to add or remove resources from a
    VE.


  External Policies

 Drived by the user external policy can call 'qrm-cli
    virtual-environment' to add or remove resources.


  Provisioning Request

   Provisioning requests enables requesting
    resources and services to be a standard procedure
    Once approved, a VE is created on a specific start
    date with the requested image and resources
    assigned. At the end date, the VE is stopped.
openQrm: Monitoring                                                  Beolink.org

  Internal
      User define metrics gathered



  Nagios (now also Zabbix)
      Integrates Nagios reports into the openQRM GUI. 
      Automatically configures Nagios sensors on resources. This is
       done by having a boot service which receives the list of sensors
       for each VE, as configured in the openQRM GUI, and activates
       them on the resource. 
      Reconfigures the Nagios server when assignments/de-
       assignments occur so it is aware of services running in the DC.
       The plug-in does this by registering event listeners.


  Events
      server creates notifications to the user/plug-ins
       about various events in the managed resources
openQrm: Cloud interface                                Beolink.org

   WebService API
       Provisioning / deprovisioning
       Remote control openQRM cloud


   Cloud Interface
       Fully automated provisioning cycle 
       External User portal for cloud-requests 
       Manual or automatic approval 
       Deployment to physical- or virtual machines 
       Sends mail in case of cloud-events 
       Integrate with Puppet


   AWS integration (in development)
My …   Beolink.org
Good for…                                          Beolink.org




                  Keep
                                Consolidation
              separation of
                               and centralized
               "hardware”
                                management
            from "software"




                  Fast
                               High availability
            prototyping and
                                environments
                deploy
Eucalyptus                                                     Beolink.org

Eucalyptus started as a research project by University of California, (SB) 

                             Open source software infrastructure that
                              implements IaaS-style cloud computing. The
                              goal of Eucalyptus is to allow sites with existing
                              clusters and server infrastructure to host an
  Elastic
                              elastic computing.
  Utility
  Computing
  Architecture
              Implementing on-premise private and hybrid
                              clouds using the hardware and software
  Linking 
                              infrastructure that is in place, without
  Your                        modification.
  Programs
  To
                             API-compatible open-source clone of the
  Useful
                              Amazon AWS (Amazon Web Services) cloud
  Systems
                    platform
                             Now Eucalyptus Systems (5.5 $ milion)
Eucalyptus : infrastructure                    Beolink.org

  Cloud Controller (CLC)

 includes the front-end services (Cloud
   Controller) as well as the Walrus storage
   system.


  Cluster Controller (CC)

 provides support for the virtual network
   overlay


  Node Controller (NC)

 interacts with KVM/XEN to manage
   individual VMs
Eucalyptus : storage                          Beolink.org

  Walrus

 is a storage service included with
    Eucalyptus that is interface compatible
    with Amazon's S3. Walrus allows users
    to store persistent data, organized as
    buckets and objects




  Elastic Block Storage

   The Block Storage Service in
    Eucalyptus is interface-compatible with
    Amazon's Elastic Block Store.
Eucalyptus : Walrus                           Beolink.org

  Supported Features
       Rest authentication
       Operation on the service buckets
        and object (including acl and
        metadata)

  Additional
       Image management (upload,
        decryption, download)
       Web based configuration

  Unsupported Features
       Virtual hosting of buckets
       Location constraints (no replication,
        ha,..)
       Bittorrent support
Eucalyptus : S3                                                                                                  Beolink.org
From Kenneth Berland Script
                                                                             sub doAWSRequest
sub getAWSAuthorization
                                                                             {
{
                                                                                my ($authorization,$Date,$HTTPVerb,$bucket)=@_;
   my ($HTTPVerb,$bucket)=@_;
                                                                                  my $ua=LWP::UserAgent->new;
   my $template="%a, %d %b %Y %T %z";
                                                                                  my $url="http://s3.amazonaws.com/";
     my $Date = time2str($template, time);
                                                                                  $url.=$bucket if $bucket;
     my $aws_access_key_id = "your id here";
                                                                                  $url.=$key if $key;
     my $aws_secret_access_key = "your key here";
                                                                                  print STDERR "URL: $urln" if $opt{d};
     my $host = "s3.amazonaws.com";
                                                                                  my $req = HTTP::Request->new($HTTPVerb=>$url);
     my $ContentMD5="";
                                                                                  $req->header( "Date" => $Date );
     my $CanonicalizedResource;
                                                                                  $req->header( "Authorization" => $authorization);
     $CanonicalizedResource="/";
                                                                                  $req->header( "Content-Type" => $ContentType );
     $CanonicalizedResource.=$bucket if $opt{b};
                                                                                  $req->header( "x-amz-acl" => "public-read") if $opt{p};
     $CanonicalizedResource.=$key if $opt{k};
                                                                                  if ($HTTPVerb eq "PUT" && $opt{f} && -e $opt{f}){
     my $stringToSign;
                                                                             
          my $data=read_file($opt{f});
     $stringToSign =$HTTPVerb."n".$ContentMD5."n";
                                                                             
         $req->content($data);
     $stringToSign.=$ContentType if $ContentType;
                                                                                  }
     $stringToSign.="n";
     $stringToSign.=$Date."n";
                                                                                  print STDERR "request->as_string: ".$req->as_string if ($opt{d});
     $stringToSign.=$CanonicalizedAmzHeaders if $CanonicalizedAmzHeaders;
     $stringToSign.=$CanonicalizedResource;
                                                                               my $res=$ua->request($req);
                                                                               if ($res->is_success) {
     print "StringToSign:".$stringToSign."n" if $opt{d};
                                                                             
        print STDERR localtime()." SUCCESS:".$res->status_line."n" if ($opt{d});
                                                                               }else{
     my $hmac = Digest::HMAC_SHA1->new($aws_secret_access_key);
                                                                             
       warn localtime()." FAILED:".$res->status_line."n";
     $hmac->add($stringToSign);
                                                                             
          print STDERR $res->content."n";
     my $signature = $hmac->b64digest;
                                                                                  }
     my $authorization = "AWS"." ".$aws_access_key_id.":".$signature."=";
                                                                                  $res;
     ($authorization,$Date);
}
                                                                             }
Eucalyptus : EBS                                      Beolink.org


   Unlike S3, which only provides persistent file
    storage, EBS provides persistent block storage. 
    Now you have random access to all the content in
    a volume's file system with EBS.

    User can:
        defined storage size of each EBS Volume
        create an EBS Snapshot of an EBS Volume at
         any point in time.

        Volumes can only be mounted by one instance at
         any time
        Instances can only attach EBS Volumes that are
         in the same broadcast network of CLC.
        Multiple EBS Volumes can be attached to the
         same instance.
 
Eucalyptus : networking                                                   Beolink.org

  SYSTEM Mode

   In this mode, Eucalyptus simply assigns a random MAC
    address to the VM instance before booting and attaches the VM
    instance's ethernet device to the physical ethernet


  STATIC Mode
    'map' of MAC address/IP Address pairs.



  MANAGED Mode

   Eucalyptus will maintain a DHCP server with static mappings
    for each VM instance that is created. Eucalyptus users can define a
    number of 'named networks', or 'security groups', to which they can
    apply network ingress rules that apply to any VM that runs within
    that 'networkʼ.


  MANAGED-NOVLAN Mode

   This mode is identical to MANAGED mode in terms of
    features (dynamic IPs and security groups) but does not provide
    VM network isolation.
Eucalyptus : Scheduler policy            Beolink.org

  GREEDY

 first node that is found that can
   run the VM will be chosen


  Round Robin

 nodes are selected one after
   another until one is found that can
   run the VM.
My …   Beolink.org
Good for ..                                        Beolink.org



                                  Debugging
                  Rapid
                                    and/or
               prototyping
                                  application
               and deploy
                                 development
              infrastructure
                                  purposes.


              Commercial
                                     Simple
                   web
                                installation and
              development
                                 Administration
              services that
                                    (Ubuntu
               target AWS
                                   Enterprise
                 (such as
                                     Cloud) 
               Rightscale)
Don’t forget..                                        Beolink.org

                            Eucalyptus is
                               Not as
                             Scalable as
                              Amazon




                                No
                            enterprise
                              ready
            No fail-over,                    Eucalyptus
            redundancy,                      implements
               load-                        most of EC2
             balancing,                     and a little of
                etc.
                            s3
Comparison                                                             Beolink.org

Cloud
        VM type
   Storage
       Networking
 Interface
 Scheduler
        VM
                                                                                 Functions
   .
Eucalyptus
   Xen/KVM
   Wirlus/Ebs
    Security       CLI, Web   First Fit,     start, list,
                                        Group,         portal
    round robin
   stop,
                                        elastic IP 
                             reboot, get
                                                                                 console
                                                                                 output
openNebula
 Xen,KVM
     Local file      none
          CLI
       Queuing        Save,
                         over ssh /                               system,        pause,
                         nfs
                                     advanced       resize, live
                                                                  reservation    migrate
                                                                  preemption 
Nimbus
       Xen
       ? (file copy)
 none
           CLI
       ?
             save



Aspen
        Xen
       CoW,           none
          CLI
       Save,          Policy,
                         snapshots                                pause,         priority
                         distribution                             resize
        queuing
                         over nfs
                                               system
The others                                   Beolink.org



    Enomalism
    http://wiki.xensource.com/xenwiki/Enomalism


    Reservoir
    http://www.reservoir-fp7.eu/
I look forward to meeting you…                             Beolink.org

                  XVI European AFS meeting 2009 
                      Rome: September 28-30

           Who should attend:
               Everyone interested in deploying a globally accessible file
                system
               Everyone interested in learning more about real world usage
                of Kerberos authentication in single realm and federated
                single sign-on environments
               Everyone who wants to share their knowledge and
                experience with other members of the AFS and Kerberos
                communities
               Everyone who wants to find out the latest developments
                affecting AFS and Kerberos

           More Info:
                www.openafs.it
Beolink.org




Thnak you !


manfred@freemails.ch




                        Beolink.org

Contenu connexe

Tendances

Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011
Stefane Fermigier
 
OpenStack at Xen summit Asia
OpenStack at Xen summit Asia OpenStack at Xen summit Asia
OpenStack at Xen summit Asia
Jaesuk Ahn
 
OpenStack Technology Overview
OpenStack Technology OverviewOpenStack Technology Overview
OpenStack Technology Overview
Open Stack
 
Nicira chef webinar-merged
Nicira chef webinar-mergedNicira chef webinar-merged
Nicira chef webinar-merged
Stathy Touloumis
 

Tendances (20)

Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011
 
CloudStack Hyderabad Meetup: Migrating applications to IaaS clouds
CloudStack Hyderabad Meetup: Migrating applications to IaaS cloudsCloudStack Hyderabad Meetup: Migrating applications to IaaS clouds
CloudStack Hyderabad Meetup: Migrating applications to IaaS clouds
 
OpenStack at Xen summit Asia
OpenStack at Xen summit Asia OpenStack at Xen summit Asia
OpenStack at Xen summit Asia
 
OpenStack Boston User Group, OpenStack overview
OpenStack Boston User Group, OpenStack overviewOpenStack Boston User Group, OpenStack overview
OpenStack Boston User Group, OpenStack overview
 
OpenStack Technology Overview
OpenStack Technology OverviewOpenStack Technology Overview
OpenStack Technology Overview
 
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
 
Openstack Global Meetup
Openstack Global Meetup Openstack Global Meetup
Openstack Global Meetup
 
Build Your Own Open Source Cloud
Build Your Own Open Source CloudBuild Your Own Open Source Cloud
Build Your Own Open Source Cloud
 
Nicira chef webinar-merged
Nicira chef webinar-mergedNicira chef webinar-merged
Nicira chef webinar-merged
 
Presentation cloud orchestration
Presentation   cloud orchestrationPresentation   cloud orchestration
Presentation cloud orchestration
 
Crash Course on Open Source Cloud Computing
Crash Course on Open Source Cloud ComputingCrash Course on Open Source Cloud Computing
Crash Course on Open Source Cloud Computing
 
Building Clouds with OpenNebula2.2
Building Clouds with OpenNebula2.2Building Clouds with OpenNebula2.2
Building Clouds with OpenNebula2.2
 
Apache CloudStack AlpesJUG
Apache CloudStack AlpesJUGApache CloudStack AlpesJUG
Apache CloudStack AlpesJUG
 
Cloud computing and OpenStack
Cloud computing and OpenStackCloud computing and OpenStack
Cloud computing and OpenStack
 
Nimbus Concept
Nimbus ConceptNimbus Concept
Nimbus Concept
 
Workshop - Openstack, Cloud Computing, Virtualization
Workshop - Openstack, Cloud Computing, VirtualizationWorkshop - Openstack, Cloud Computing, Virtualization
Workshop - Openstack, Cloud Computing, Virtualization
 
OSCON 2012 OpenStack Automation and DevOps Best Practices
OSCON 2012 OpenStack Automation and DevOps Best PracticesOSCON 2012 OpenStack Automation and DevOps Best Practices
OSCON 2012 OpenStack Automation and DevOps Best Practices
 
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
 
CloudStack for Java User Group
CloudStack for Java User GroupCloudStack for Java User Group
CloudStack for Java User Group
 
Cont0519
Cont0519Cont0519
Cont0519
 

Similaire à Domestic cloud

Cloud computing virtualization
Cloud computing virtualizationCloud computing virtualization
Cloud computing virtualization
Ayaz Shahid
 
Eucalyptus - An Open-source Infrastructure for Cloud Computing
Eucalyptus - An Open-source Infrastructure for Cloud ComputingEucalyptus - An Open-source Infrastructure for Cloud Computing
Eucalyptus - An Open-source Infrastructure for Cloud Computing
elliando dias
 
Openstack Diablo Survey
Openstack Diablo SurveyOpenstack Diablo Survey
Openstack Diablo Survey
Pjack Chen
 
Exploration of eucalyptus_v2.0
Exploration of eucalyptus_v2.0Exploration of eucalyptus_v2.0
Exploration of eucalyptus_v2.0
huangwenjun310
 
Introduction Openstack
Introduction OpenstackIntroduction Openstack
Introduction Openstack
Ranjith Kumar
 
ICALEPCS 2011: Testing Environments using Virtualization
ICALEPCS 2011: Testing Environments using VirtualizationICALEPCS 2011: Testing Environments using Virtualization
ICALEPCS 2011: Testing Environments using Virtualization
Omer Khalid
 

Similaire à Domestic cloud (20)

Cloud Computing Tools
Cloud Computing ToolsCloud Computing Tools
Cloud Computing Tools
 
Cloud computing virtualization
Cloud computing virtualizationCloud computing virtualization
Cloud computing virtualization
 
Automating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David Nalley
 
Delivering IaaS with Open Source Software
Delivering IaaS with Open Source SoftwareDelivering IaaS with Open Source Software
Delivering IaaS with Open Source Software
 
Dockercon EU 2015 Recap
Dockercon EU 2015 RecapDockercon EU 2015 Recap
Dockercon EU 2015 Recap
 
Presentation on Openstack in null Bhopal Chapter
Presentation on Openstack in null Bhopal ChapterPresentation on Openstack in null Bhopal Chapter
Presentation on Openstack in null Bhopal Chapter
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
 
Eucalyptus - An Open-source Infrastructure for Cloud Computing
Eucalyptus - An Open-source Infrastructure for Cloud ComputingEucalyptus - An Open-source Infrastructure for Cloud Computing
Eucalyptus - An Open-source Infrastructure for Cloud Computing
 
Challenges in hybrid and federated cloud computing
Challenges in hybrid and federated cloud computingChallenges in hybrid and federated cloud computing
Challenges in hybrid and federated cloud computing
 
A Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and ContainersA Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and Containers
 
EMEA OpenStack Day Intro, July 13th 2011 in London
EMEA OpenStack Day Intro, July 13th 2011 in LondonEMEA OpenStack Day Intro, July 13th 2011 in London
EMEA OpenStack Day Intro, July 13th 2011 in London
 
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 SummitOpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
 
An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017
 
Openstack Diablo Survey
Openstack Diablo SurveyOpenstack Diablo Survey
Openstack Diablo Survey
 
Exploration of eucalyptus_v2.0
Exploration of eucalyptus_v2.0Exploration of eucalyptus_v2.0
Exploration of eucalyptus_v2.0
 
Why kubernetes for Serverless (FaaS)
Why kubernetes for Serverless (FaaS)Why kubernetes for Serverless (FaaS)
Why kubernetes for Serverless (FaaS)
 
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless  - Serverless Summit 2017 - Krishna KumarKubernetes for Serverless  - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
 
Introduction Openstack
Introduction OpenstackIntroduction Openstack
Introduction Openstack
 
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
 
ICALEPCS 2011: Testing Environments using Virtualization
ICALEPCS 2011: Testing Environments using VirtualizationICALEPCS 2011: Testing Environments using Virtualization
ICALEPCS 2011: Testing Environments using Virtualization
 

Plus de Manfred Furuholmen

Winbind as Identity Management Connector
Winbind as Identity Management ConnectorWinbind as Identity Management Connector
Winbind as Identity Management Connector
Manfred Furuholmen
 

Plus de Manfred Furuholmen (20)

Pisa
PisaPisa
Pisa
 
Samba4 Introduction
Samba4 IntroductionSamba4 Introduction
Samba4 Introduction
 
Restfs internals
Restfs internalsRestfs internals
Restfs internals
 
Introduction to message_queue
Introduction to message_queueIntroduction to message_queue
Introduction to message_queue
 
Restfs
RestfsRestfs
Restfs
 
Winbind as Identity Management Connector
Winbind as Identity Management ConnectorWinbind as Identity Management Connector
Winbind as Identity Management Connector
 
Use Distributed Filesystem as a Storage Tier
Use Distributed Filesystem as a Storage TierUse Distributed Filesystem as a Storage Tier
Use Distributed Filesystem as a Storage Tier
 
Managing OpenAFS users with OpenIDM
Managing OpenAFS users with OpenIDMManaging OpenAFS users with OpenIDM
Managing OpenAFS users with OpenIDM
 
Afs manager
Afs managerAfs manager
Afs manager
 
Pt server ng
Pt server ngPt server ng
Pt server ng
 
Best Practices to create High Load Websites
Best Practices to create High Load WebsitesBest Practices to create High Load Websites
Best Practices to create High Load Websites
 
Be lazy... make automation
Be lazy... make automationBe lazy... make automation
Be lazy... make automation
 
Disaster recovery
Disaster recoveryDisaster recovery
Disaster recovery
 
Inexpensive storage
Inexpensive storageInexpensive storage
Inexpensive storage
 
Samba management Console
Samba management ConsoleSamba management Console
Samba management Console
 
Link Samba to Cloud Storage
Link Samba to Cloud StorageLink Samba to Cloud Storage
Link Samba to Cloud Storage
 
Samba as a gateway to OpenAFS
Samba as a gateway to OpenAFSSamba as a gateway to OpenAFS
Samba as a gateway to OpenAFS
 
Samba distributed env
Samba distributed envSamba distributed env
Samba distributed env
 
AFS introduction
AFS introductionAFS introduction
AFS introduction
 
AFS case study
AFS case studyAFS case study
AFS case study
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Domestic cloud

  • 1. Beolink.org Build a “Domestic Cloud” Fabrizio Manfredi Furuholmen Beolink.org
  • 2. Agenda Beolink.org   Introduction   Definition   Characteristics   Deployment model   Delivery model   openQRM   Components   Usage   Eucalyptus   Components   Usage
  • 3. What is cloud computing Beolink.org   Wikipedia (2007) Cloud computing is a style of computing in which dynamically scalable and often Virtualized resources are provided as a Service over the internet.   Gardner (2009) Cloud computing is a style of computing in which scalable and elastic IT-enabled capabilities are delivered as a service to external customers using Internet technologies.
  • 4. NIST Working Definition Beolink.org Definition of Cloud Computing (version 14) Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction. This cloud model promotes availability and is composed of five essential characteristics, three delivery models, and four deployment models.
  • 5. Essential Characteristics Beolink.org On-demand self- service Measured Service. Ubiquitous network access. Location Rapid elasticity. independent resource pooling.
  • 6. Delivery model Beolink.org   Cloud Software as a Service (SaaS)   Cloud Platform as a Service (PaaS)   Cloud Infrastructure as a Service (IaaS)
  • 7. Deployment Models Beolink.org   Private cloud The cloud infrastructure is operated solely for an organization   Public cloud The cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services   Hybrid cloud The cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities
  • 8. Why setup a private cloud ? Beolink.org Utility Privacy and Control Chargeback Security System Temporary Instant (Self) Infrastructure for Multi-tenancy Provisioning Proof of Concept Framework Cloud Management Infrastructure
  • 9. Cloud comparison parameters Beolink.org Virtualization / image format Storage type/Access Networking Interface (API, Comunication, ..) Scheduler
  • 10. Big picture Beolink.org
  • 11. openQRM Beolink.org Open-source data center management platform, for a automatic and appliance-based deployment,   fully pluggable architecture   monitoring   high-availability   cloud computing   multiple virtualization technologies   single-management console   API   Different storage support
  • 12. openQRM Concepts Beolink.org OpenQRM consists of:   Storage server which can export volumes to your clients such as iSCSI or NFS volumes   A filesystem image captured by openQRM , created, or generated yourself.   A Boot Image from which the node boots, consisting of a kernel it's initrd and a small filesystem containing openQRM tools   A Virtual environment which is actually the combination of a bootimage and a filesystem
  • 13. openQrm: booting Beolink.org PXE Boot qrm agents DHCP Mount image/ TFTP Server storage Openqrm Kernel+initrd script
  • 14. openQrm: Deploy Beolink.org   Single deployment 1 image running on 1 machine   Shared deployment Deploy the same filesystem on multiple machines, define pools where you need a number of resources per type filesystem and load balance between those instances   Partitioned deployment Rather than using full machines you can partition a machine with different virtual machines. This can be done with the same filesystem images. ..
  • 15. openQrm: Storage Beolink.org   NFS   Iscsi   Aoe/Coraid   NetApp   Local-disk transferring server-images to the local-disk   LVM-Nfs/Iscsi/Aoe NFS on top of LVM2 to allow fast-cloning Iscsi on top of LVM2 to allow fast-cloning Aoe on top of LVM2 to allow fast-cloning
  • 16. openQrm: failover Beolink.org   Automatic Hardware Failover (AHF) AHF is a system level monitoring, when openQrm lose its heartbeat from a node for a specified period of time, openQRM will provision a new resource with that same image and try to kill the original resource to prevent conflict.   Automatic Application Recovery (AAR) AAR uses application level checks to determine the health of the application. The actions AAR can trigger are either to reboot a particular resource, reboot all resources that belong to that Virtual Environment, or simply report the error.   openQRM High Availability The HA pool can have multiple standbys.
  • 17. openQrm: Policy Scheduler Beolink.org   Internal Policies Internal thresholds of average utilization that determine when to add or remove resources from a VE.   External Policies Drived by the user external policy can call 'qrm-cli virtual-environment' to add or remove resources.   Provisioning Request Provisioning requests enables requesting resources and services to be a standard procedure Once approved, a VE is created on a specific start date with the requested image and resources assigned. At the end date, the VE is stopped.
  • 18. openQrm: Monitoring Beolink.org   Internal   User define metrics gathered   Nagios (now also Zabbix)   Integrates Nagios reports into the openQRM GUI.   Automatically configures Nagios sensors on resources. This is done by having a boot service which receives the list of sensors for each VE, as configured in the openQRM GUI, and activates them on the resource.   Reconfigures the Nagios server when assignments/de- assignments occur so it is aware of services running in the DC. The plug-in does this by registering event listeners.   Events   server creates notifications to the user/plug-ins about various events in the managed resources
  • 19. openQrm: Cloud interface Beolink.org   WebService API   Provisioning / deprovisioning   Remote control openQRM cloud   Cloud Interface   Fully automated provisioning cycle   External User portal for cloud-requests   Manual or automatic approval   Deployment to physical- or virtual machines   Sends mail in case of cloud-events   Integrate with Puppet   AWS integration (in development)
  • 20. My … Beolink.org
  • 21. Good for… Beolink.org Keep Consolidation separation of and centralized "hardware” management from "software" Fast High availability prototyping and environments deploy
  • 22. Eucalyptus Beolink.org Eucalyptus started as a research project by University of California, (SB)   Open source software infrastructure that implements IaaS-style cloud computing. The goal of Eucalyptus is to allow sites with existing clusters and server infrastructure to host an Elastic elastic computing. Utility Computing Architecture   Implementing on-premise private and hybrid clouds using the hardware and software Linking infrastructure that is in place, without Your modification. Programs To   API-compatible open-source clone of the Useful Amazon AWS (Amazon Web Services) cloud Systems platform   Now Eucalyptus Systems (5.5 $ milion)
  • 23. Eucalyptus : infrastructure Beolink.org   Cloud Controller (CLC) includes the front-end services (Cloud Controller) as well as the Walrus storage system.   Cluster Controller (CC) provides support for the virtual network overlay   Node Controller (NC) interacts with KVM/XEN to manage individual VMs
  • 24. Eucalyptus : storage Beolink.org   Walrus is a storage service included with Eucalyptus that is interface compatible with Amazon's S3. Walrus allows users to store persistent data, organized as buckets and objects   Elastic Block Storage The Block Storage Service in Eucalyptus is interface-compatible with Amazon's Elastic Block Store.
  • 25. Eucalyptus : Walrus Beolink.org   Supported Features   Rest authentication   Operation on the service buckets and object (including acl and metadata)   Additional   Image management (upload, decryption, download)   Web based configuration   Unsupported Features   Virtual hosting of buckets   Location constraints (no replication, ha,..)   Bittorrent support
  • 26. Eucalyptus : S3 Beolink.org From Kenneth Berland Script sub doAWSRequest sub getAWSAuthorization { { my ($authorization,$Date,$HTTPVerb,$bucket)=@_; my ($HTTPVerb,$bucket)=@_; my $ua=LWP::UserAgent->new; my $template="%a, %d %b %Y %T %z"; my $url="http://s3.amazonaws.com/"; my $Date = time2str($template, time); $url.=$bucket if $bucket; my $aws_access_key_id = "your id here"; $url.=$key if $key; my $aws_secret_access_key = "your key here"; print STDERR "URL: $urln" if $opt{d}; my $host = "s3.amazonaws.com"; my $req = HTTP::Request->new($HTTPVerb=>$url); my $ContentMD5=""; $req->header( "Date" => $Date ); my $CanonicalizedResource; $req->header( "Authorization" => $authorization); $CanonicalizedResource="/"; $req->header( "Content-Type" => $ContentType ); $CanonicalizedResource.=$bucket if $opt{b}; $req->header( "x-amz-acl" => "public-read") if $opt{p}; $CanonicalizedResource.=$key if $opt{k}; if ($HTTPVerb eq "PUT" && $opt{f} && -e $opt{f}){ my $stringToSign; my $data=read_file($opt{f}); $stringToSign =$HTTPVerb."n".$ContentMD5."n"; $req->content($data); $stringToSign.=$ContentType if $ContentType; } $stringToSign.="n"; $stringToSign.=$Date."n"; print STDERR "request->as_string: ".$req->as_string if ($opt{d}); $stringToSign.=$CanonicalizedAmzHeaders if $CanonicalizedAmzHeaders; $stringToSign.=$CanonicalizedResource; my $res=$ua->request($req); if ($res->is_success) { print "StringToSign:".$stringToSign."n" if $opt{d}; print STDERR localtime()." SUCCESS:".$res->status_line."n" if ($opt{d}); }else{ my $hmac = Digest::HMAC_SHA1->new($aws_secret_access_key); warn localtime()." FAILED:".$res->status_line."n"; $hmac->add($stringToSign); print STDERR $res->content."n"; my $signature = $hmac->b64digest; } my $authorization = "AWS"." ".$aws_access_key_id.":".$signature."="; $res; ($authorization,$Date); } }
  • 27. Eucalyptus : EBS Beolink.org Unlike S3, which only provides persistent file storage, EBS provides persistent block storage.  Now you have random access to all the content in a volume's file system with EBS. User can:   defined storage size of each EBS Volume   create an EBS Snapshot of an EBS Volume at any point in time.   Volumes can only be mounted by one instance at any time   Instances can only attach EBS Volumes that are in the same broadcast network of CLC.   Multiple EBS Volumes can be attached to the same instance.  
  • 28. Eucalyptus : networking Beolink.org   SYSTEM Mode In this mode, Eucalyptus simply assigns a random MAC address to the VM instance before booting and attaches the VM instance's ethernet device to the physical ethernet   STATIC Mode 'map' of MAC address/IP Address pairs.   MANAGED Mode Eucalyptus will maintain a DHCP server with static mappings for each VM instance that is created. Eucalyptus users can define a number of 'named networks', or 'security groups', to which they can apply network ingress rules that apply to any VM that runs within that 'networkʼ.   MANAGED-NOVLAN Mode This mode is identical to MANAGED mode in terms of features (dynamic IPs and security groups) but does not provide VM network isolation.
  • 29. Eucalyptus : Scheduler policy Beolink.org   GREEDY first node that is found that can run the VM will be chosen   Round Robin nodes are selected one after another until one is found that can run the VM.
  • 30. My … Beolink.org
  • 31. Good for .. Beolink.org Debugging Rapid and/or prototyping application and deploy development infrastructure purposes. Commercial Simple web installation and development Administration services that (Ubuntu target AWS Enterprise (such as Cloud) Rightscale)
  • 32. Don’t forget.. Beolink.org Eucalyptus is Not as Scalable as Amazon No enterprise ready No fail-over, Eucalyptus redundancy, implements load- most of EC2 balancing, and a little of etc. s3
  • 33. Comparison Beolink.org Cloud VM type Storage Networking Interface Scheduler VM Functions . Eucalyptus Xen/KVM Wirlus/Ebs Security CLI, Web First Fit, start, list, Group, portal round robin stop, elastic IP reboot, get console output openNebula Xen,KVM Local file none CLI Queuing Save, over ssh / system, pause, nfs advanced resize, live reservation migrate preemption Nimbus Xen ? (file copy) none CLI ? save Aspen Xen CoW, none CLI Save, Policy, snapshots pause, priority distribution resize queuing over nfs system
  • 34. The others Beolink.org   Enomalism http://wiki.xensource.com/xenwiki/Enomalism   Reservoir http://www.reservoir-fp7.eu/
  • 35. I look forward to meeting you… Beolink.org XVI European AFS meeting 2009 Rome: September 28-30 Who should attend:   Everyone interested in deploying a globally accessible file system   Everyone interested in learning more about real world usage of Kerberos authentication in single realm and federated single sign-on environments   Everyone who wants to share their knowledge and experience with other members of the AFS and Kerberos communities   Everyone who wants to find out the latest developments affecting AFS and Kerberos More Info: www.openafs.it