Open nebula froscon


Published on

Slides from the OpenNebula presentation at FrOSCon 2012, 25th August 2012. Sankt Augustin, Germany

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Open nebula froscon

  1. 1. August 25th, 2012. Sankt Augustin OpenNebulaThe Opensource Solution for Datacenter Virtualization Hector Sanjuán (@hecsanjuan) Developer at
  2. 2. Aims What is OpenNebula? Features to build your cloud? Features to operate your cloud? Features to integrate your cloud?
  3. 3. What is OpenNebula? Full cloud infrastructure solution
  4. 4. What is OpenNebula? Hosts Storage Quotas Virtual Networks Accounting/monitoring Images APIs Users & Groups & ACLs UIs External services Make all this work together [in a reliable, efficient, scalable way]
  5. 5. OpenNebula principles Fully open-source Apache 2 License (not open core)
  6. 6. OpenNebula principles Flexible & adaptable Modular design Custom plugins
  7. 7. OpenNebula principles Interoperable / No lock-in Infraestructure agnostic Multiple Hypervisors (VMware, XEN, KVM) Several APIs (AWS, OCCI)
  8. 8. Getting it sorted out Hosts Storage Quotas Virtual Networks Accounting/monitoring Images APIs Users & Groups & ACLs UIs External services
  9. 9. Setting up the infraestructure Hosts Storage Images Virtual Networks
  10. 10. Physical hosts - Hypervisors VMware KVM Xen EC2 -> Deploy VMs to Amazon host Hyper-V (Ecosystem) OpenVZ (Ecosystem) VirtualBox (Ecosystem)
  11. 11. Physical hosts - Monitoring Monitoring drivers for the different hypervisors Ganglia
  12. 12. Physical hosts - Networking Defined per host: 802.1Q ebtables Open vSwitch VMware - native networks Firewall - rules via iptables - no isolation Dummy
  13. 13. Storage - Datastores"A Datastore is any storage medium used to storedisk images for VMs. Typically, a datastore will be backed by SAN/NAS servers" Types: ● Filesystem ● iSCSI / LVM ● VMware ● System Transfer drivers: ● SSH ● Shared ● iSCSI ● VMware ● qcow
  14. 14. Storage - Images● Placed in a datastore● Type: ○ OS ○ CDROM (read-only) ○ Datablock● Path ○ Filesystem ○ Download ○ Upload (via UI, OCCI) ○● Persistent / Non-persistent
  15. 15. Networking - Virtual Networks● Set of leases (IP:MAC) - defined via ranged, fixed● Deploy: MAC is assigned to network iface with the IP
  16. 16. Virtual Machines VNet2- iface1 Image1 - OS - via SSH VNet1 - iface2 Image2 - data - Shared ... ...Options: Memory, CPU, Context: SSH keys, VNC VM Template Network scripts... Instantiate Scheduler
  17. 17. Virtual Machines - operations Deploy hold/release suspend/stop/resume restart/reboot/reset resubmit cancel shutdown Migrate Live-migrate New: Disk hotplugging
  18. 18. Operating the cloud Quotas Accounting/monitoring APIs Users & Groups & ACLs UIs
  19. 19. Groups Set of users Quota-enabled: Group usage limits for VMs, Storage... Accounting: Group resource usage is monitored and stored
  20. 20. Users Quota-enabled: Usage limits for VMs, Storage... Accounting: resource usage is monitored and stored Authentication: Core, SSH, LDAP, x509... custom
  21. 21. Permissions & ACLsPermissions: Resources (Images, Networks, VMs, Templates) have owner/group and Unix-like permissions: user/group/other : use/manage/adminACLs: Rules in the style: "Group testers can use templates from group developers" "User Bob can administrate all Virtual Networks"
  22. 22. Command line interface Set of command line utilities onevm [list|create|delete]... onehost [list|create|delete]... onetemplate [list|create|delete]... onevnet [list|create|delete]... oneimage [list|create|delete]... onedatastore [list|create|delete]... ... (options to produce raw XML output)
  23. 23. OpenNebula Sunstone● Fully featured administration interface● Integrated web VNC console● Monitoring, accounting, usage plots● VM creation wizards, i18n...● Custom plugins
  24. 24. OpenNebula Self-Service● End-user oriented interface, simple, multi-language● Manage virtual resources: Nets, VMs, Images● Easily brandable, customizable● Built on OCCI API
  25. 25. APIs
  26. 26. Integrating the cloud
  27. 27. System interfaces - OCA Ruby OCA Java OCA Python OCA (Ecosystem) XML-RPC API
  28. 28. Drivers & Plugins Small scripts performing defined operations Monitoring, virtualization, storage, network, auth... Easy to write, easy to tweak
  29. 29. Theres more... Cool things that come with OpenNebula
  30. 30. Core tuning - Hooks Scripts triggered on certain events● Local or remote● Hooks for Hosts: ○ Triggered on CREATE, ERROR, DISABLE● Hooks for VMs: ○ Triggered on CREATE, RUNNING, SHUTDOWN, STOP, FAILED, DONE... Fault tolerance
  31. 31. OpenNebula Zones Multi-tier deployments with oZones UI + CLI + Ruby API OpenNebula OpenNebula ZONE 1 ZONE 2
  32. 32. OpenNebula ZonesVirtual Data Center (VDC)● Group of ○ Hosts ○ Datastores ○ Virtual Networks● Managed by (ACL rules) ○ VDC Admin user ○ VDC group● ONE / UIs accessible from oZones frontend ○ http://ozones:6121/sunstone_vdc1
  33. 33. OpenNebula Marketplace Hosted by C12G labs | Integrated in Sunstone
  34. 34. OpenNebula sandboxes Easiest way to try out OpenNebula Available: KVM, VMware[vmware|kvm]
  35. 35. OpenNebula public cloud Demo ONE Test OpenNebula UIs and APIs Over 1000+ users Request an account:
  36. 36. Ecosystem Community contributions Some examples:
  37. 37. Final keys● Soon celebrating 5th birthday● FOSS project: ○ Mailing lists and IRC channel in Freenode ○ Extensive, up-to-date documentation ○ Packages for major Linux distros ○ with news, tutorials... ○ Development site: dev.opennebula.orgGithub mirror: ● Commercial support via .com● Fast release cycle every 3 months: Currently v3.6.0
  38. 38. Final keys Featured users and contributors
  39. 39. Twitter: @opennebulaFreenode: #opennebula Thanks! Questions ?