1 / 18

OpenNebula 3.6 ( beta ) Hands-on

OpenNebula 3.6 ( beta ) Hands-on. Sandor Acs acs.sandor @ sztaki.mta.hu 05/07/2012. Outline. OpenNebula GUI Marketplace Image, template and VM management Testing. OpenNebula GUI: Sunstone (1). Adress : http://testcfe.lpds.sztaki.hu/ Username : st$i Password : SummerSchool2012$i.

king
Télécharger la présentation

OpenNebula 3.6 ( beta ) Hands-on

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OpenNebula 3.6 (beta) Hands-on Sandor Acs acs.sandor@sztaki.mta.hu 05/07/2012

  2. Outline • OpenNebula GUI • Marketplace • Image, template and VM management • Testing

  3. OpenNebula GUI: Sunstone (1) • Adress: http://testcfe.lpds.sztaki.hu/ • Username: st$i • Password: SummerSchool2012$i

  4. OpenNebula GUI: Sunstone (2) • Users are interested in ”Virtual Resources” and ”Marketplace” menu • ”Infrastructure” menu used by the admins and operators

  5. Exercise I. • Import the ttylinux image from the Marketplace • Create a template for VM submission • Start a VM from the template

  6. Import image from Marketplace

  7. Import image from Marketplace (2)

  8. Creating a template for VM submission

  9. Start a VM from a template

  10. DEMO • Creating an image • Uploading to OpenNebula • Creating a template • Sharing with others

  11. Creating new images • New images can be created in many ways • Booting a blank disk image with a bootable CD (image) and install the OS • Using kickstart or debootstrap • (I guess) the easiest (and most beautiful) way with ubuntu: • $ sudovmbuilderkvmubuntu --suite precise --flavour virtual --arch amd64 -o --libvirt qemu:///system --hostname myvm --user user --pass summerschool --addpkgacpid --addpkgopenssh-server --rootsize 512 --swapsize=64

  12. Uploading to OpenNebula

  13. Creating a template

  14. Sharingwith others • Images and templatescan be shared as well • Howeversharingneedsadministratorroleatthismoment

  15. Exercise II. • Start a VM with the shared template • Connect it via VNC and SSH • Install the lighttpd package • Create a copy from the non-persistent image • Make the new image persistent • Try it!

  16. Hints (1) • SSH is more comfortablethan VNC for server VMs (e.g: ssh user@192.168.xxx.xxx) • Installinglighttpdpackage • $ sudo bash #password is ”summerschool” • $ apt-get –y installlighttpd • $ echo ”Hello Cloud, username” > /var/www/index.html • Checkitwithyour browser! • Use ”Save as” (and ”Shutdown”) to clonerunning VMs

  17. Hints (2) • Just one instance can be started from a persistent image! • If you still have time  Create an instance from ”SummerSchool2012-Portal” and practice the portal installation procedure.

  18. Questions? • Thank you for the attention!

More Related