LinuxTag 2013

1,825 views
1,715 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,825
On SlideShare
0
From Embeds
0
Number of Embeds
1,083
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

LinuxTag 2013

  1. 1. LinuxTag 2013Berlin, Germany, May 22nd© OpenNebula Project. Creative Commons Attribution-NonCommercial-ShareAlike LicenseGetting Started Hacking onOpenNebulaCarlos MartínProject EngineerAcknowledgmentsThe research leading to these results has received funding from Comunidad de Madrid throughresearch grant MEDIANET S2009/TIC-1468,
  2. 2. 2The OpenNebula ProjectAgenda●  What is IaaS?●  What is OpenNebula?●  Demo!●  OpenNebula from the…●  Cloud provider perspective●  Cloud integrator perspective●  Advanced Deployments●  OpenNebula Apps●  How to try it out
  3. 3. 3The OpenNebula ProjectWhat is IaaS?Types of Cloud ComputingWhat WhoOn-demandaccess to anyapplicationEnd-user(does not care about hw or sw)Platform forbuilding anddelivering webapplicationsDeveloper(no managing of the underlying hw& swlayers)Raw computerinfrastructureSystem Administrator(complete management of thecomputer infrastructure)Software as a ServiceᄎPlatform as a ServiceInfrastructure as aServicePhysical Infrastructure
  4. 4. 4The OpenNebula ProjectWhat is IaaS?Challenges of IaaS Clouds●  How do I provision a new VM?Image Management & Context●  Where do I store the disks?Storage●  How do I set up networking for a multitier service?Network & VLANs●  Where do I put my web server VM?Monitoring & Scheduling●  How do I manage any hypervisor?Virtualization●  Who has access to the Cloud’s resources?User & Role Management●  How do I manage my distributed infrastructure?Interfaces & APIs
  5. 5. 5The OpenNebula ProjectWhat is IaaS?Challenges of IaaS Clouds●  How do I provision a new VM?Image Management & Context●  Where do I store the disks?Storage●  How do I set up networking for a multitier service?Network & VLANs●  Where do I put my web server VM?Monitoring & Scheduling●  How do I manage any hypervisor?Virtualization●  Who has access to the Cloud’s resources?User & Role Management●  How do I manage my distributed infrastructure?Interfaces & APIsUniform management layer thatorchestrates multiple technologies
  6. 6. 6The OpenNebula ProjectWhat is OpenNebula?IaaS Cloud Computing Tool for Managing a Data Centers Virtual InfrastructureData Center Virtualization Manager● Open-source Apache license● Interoperable, based on standards● AdaptablePrivate Clouds● Virtualize your on-premise infrastructurePubic Clouds● Expose standard cloud interfacesHybrid Clouds●  Extend your private cloud withresources from a remote cloud providerReady for end-users●  Advanced user management●  CLI and Web InterfacePublicUserPrivateUserAdministratorPhysical InfrastructureRemoteProvider
  7. 7. 7The OpenNebula ProjectWhat is OpenNebula?Rigorously Tested, Matured Through Vibrant Community and Many Release Cycles20052008 2009 2010 2011 2012TP v1.0 v1.2 v1.4 v2.0 v2.2 v3.0• Develop & innovate• Support the community• CollaborateThird party scalabilitytests: 16,000 VMsv3.2 v3.4 v3.6 v3.85,000 downloads/month20142013v4.0ResearchProject
  8. 8. 8The OpenNebula ProjectWhat is OpenNebula?Widely Used to Build Enterprise Private Clouds in Medium and Large Data CentersReference UsersSurvey Q2/Q3 2012 (2,500 users http://c12g.com/resources/survey/)
  9. 9. 9The OpenNebula ProjectWhat is OpenNebula?The OpenNebula Model●  Adaptable: Integration capabilities to fit into any data center●  Enterprise-ready: Upgrade process and commercial support●  No Lock-in: Infrastructure and platform independent●  Light: Efficient & simple●  Proven: Rigorously tested, mature and widely used●  Scalable: single instance & multi-tier architectures●  Interoperable: rich set of APIs & Interfaces●  Open Source: Apache License v2
  10. 10. 10The OpenNebula ProjectDemo Time!A Quick Tour of OpenNebula’s Main Features
  11. 11. 11The OpenNebula ProjectThe Cloud Provider PerspectiveWhat are the Main Components to Build a Cloud Infrastructure?Datastores•  VM image storage•  Multiple datastores•  Heterogeneous configurations•  Shared or non-sharedHosts•  No need to install any software•  Multiple hypervisors•  Up to 500 hosts•  Automatic failover and HA•  Resource pools•  Automatic resource allocationVM Instance Networks•  Public and private networksInternetFront-end•  Authentication•  Authorization•  ACLs, roles,groups…•  Accounting•  Logging•  Resource quotasService Networks•  Monitoring, control…•  Live migration…•  Storage access…
  12. 12. 12The OpenNebula ProjectThe Cloud Provider PerspectiveBroad Commodity and Enterprise Platform SupportDatastores•  DFS: NFS, Ceph, Gluster, GlusterFS…•  SAN: Fibre Channel, iSCSI, LVM…•  SSHHosts•  VMware•  Xen•  KVMVM Instance Networks•  VLAN per user (layer2)•  Open vSwitch, 802.1q•  EbtablesInternetFront-end•  X509, LDAP,ssh keys•  ACLs,permissions,groupsService Networks•  SSH, Ganglia/Nagios•  Additional monitor agents
  13. 13. 13The OpenNebula ProjectThe Cloud Integrator PerspectiveInternal OpenNebula ArchitectureDesign Principles● Modularity● Lightness● OpennessOpenNebula coreVirtualization ImagesStorage NetworkAuthMonitoringSchedulerXML-RPC APIOCA (Ruby, Java)CLI GUICloudServersDBLanguages
  14. 14. 14The OpenNebula ProjectThe Cloud Integrator PerspectiveSysadmin-centric ApproachOpenNebula coreVirtualization ImagesStorage NetworkAuthMonitoringSchedulerXML-RPC APIOCA (Ruby, Java)CLI GUICloudServersDBEasy to adaptEasy to create new onesOpenNebula drivers● Small script for each action, written in any language● Simple interaction done through arguments, std/err output, exit code● Different drivers can co-exist in heterogeneous environments● Can be executed locally or in the remote Host● The Host monitorization updates the remote driver directory
  15. 15. 15The OpenNebula ProjectThe Cloud Integrator PerspectiveHow to Develop DriversAn example: the migrate script● Each script performs a small, synchronous task● Helper scripts provide commonly-used functions for log, ssh execution, errorreporting, etc.
  16. 16. 16The OpenNebula ProjectThe Cloud Integrator PerspectiveHow to Interact with OpenNebulaXML-RPC● Simple, fast● Works in any languageOCA (OpenNebula Cloud API)● High level bindings● Complete functionality● Ruby, Java, PythonOpenNebula coreVirtualization ImagesStorage NetworkAuthMonitoringSchedulerOCA (Ruby, Java)XML-RPC APICLI GUICloudServersDBCommunity ContributionsCloud APIsOpenNebula distribution●  OCCI●  OVF● CDMI
  17. 17. 17The OpenNebula ProjectThe Cloud Integrator PerspectiveHow to Interact with OpenNebulaOCA Ruby Example:Shutdown all my Virtual Machines
  18. 18. 18The OpenNebula ProjectAdvanced DeploymentsClustering the Physical ResourcesClusters•  Pools of hosts that share datastores and networks•  Used for load balancing, high availability, and high performance computingMultiple Datastores per Cluster•  Balance I/O operations between storage servers•  Define different SLA policies (e.g. backup) and performance features fordifferent VM types or users
  19. 19. 19The OpenNebula ProjectAdvanced DeploymentsMultiple and Heterogeneous back-ends
  20. 20. 20The OpenNebula ProjectAdvanced DeploymentsCentralized Management of Multiple OpenNebula Instances (Zones)oZones Server•  Portal•  Cloud API (EC2, OCCI)•  Global AuthNFederation of Clouds•  Multi-tier architecture•  Scalability•  Isolation•  Multiple-site supportCloudAdministrator/Consumer
  21. 21. 21The OpenNebula ProjectAdvanced DeploymentsVirtual Data CentersVirtual Private Cloud Computing● Typical scenario in large organizations and cloud providers● On-demand provision of fully-configurable and isolated VDC with full control andcapacity to administer its users and resources
  22. 22. 22The OpenNebula ProjectAdvanced DeploymentsHybrid Cloud Computing● Extension of the local private infrastructure with resources from remote clouds● Cloudbursting to meet peak or fluctuating demandsCloud ConsumerCloud Provider
  23. 23. 23The OpenNebula ProjectOpenNebula AppsSuite of Tools for Users and AdministratorsAutomatic installationof software stacksManage servicesHost yourownmarketplace● Manage muti-tiered applications as singleentities● Deployment dependencies● Elasticity rules● Automate the customation of VMs● Chef recipes● Host your own marketplace● Centralized catalog to share and distributevirtual appliances across OpenNebula instances
  24. 24. 24The OpenNebula ProjectTry it Out!OpenNebula Sandboxes● OpenNebula pre-installed in a VM: VirtualBox, KVM, VMware, Amazon
  25. 25. 25The OpenNebula ProjectJoin our growing community!How to contribute● Join our mailing list● Follow the development at dev.opennebula.orgEcosystem projects● OpenNebula hosts an ecosystem catalog● Promote and discuss ecosystem projects in our ecosystemmailing listIRC Channel● #opennebula on irc.freenode.net
  26. 26. 26The OpenNebula ProjectJoin Us in the OpenNebula Conf 2013!
  27. 27. 27The OpenNebula ProjectVisit Our Partners Here at LinuxTagVisit our Partners’ booths at LinuxTag
  28. 28. 28The OpenNebula ProjectQuestions?We Will Be Happy to Answer any Question@opennebulaTL; DR: OpenNebula is awesome, go check it out!The research leading to these results has received funding from Comunidad de Madrid throughresearch grant MEDIANET S2009/TIC-1468,

×