![Page 1: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/1.jpg)
Cloud Computing,in practice
with
Giovanni Toraldo - Sysadmin
![Page 2: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/2.jpg)
● Keywords: Linux, Debian, Ubuntu, PHP, Drupal, Symfony, Open Source, pizza, beer, geek.
● OpenNebula contributor, currently working on Cloudesire at Liberologico.
about.me/giovannitoraldo
![Page 3: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/3.jpg)
About OpenNebula
OpenNebula.org is an open-source project developing the industry
standard solution for building and managing virtualized enterprise data
centers and IaaS clouds
![Page 4: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/4.jpg)
A bit of history
![Page 5: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/5.jpg)
Core features● Virtual infrastructure management and
orchestration (KVM, XEN, ESXi)
● External cloud connector (EC2)
● Interfaces for Cloud Consumers (EC2, OCCI)
● Capacity and performance management● Monitoring● Accounting● User quota, ACLs
![Page 6: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/6.jpg)
Why not something else?
● Focusing on data center virtualization
● High perf core, scriptable drivers
● All-in-one package, batteries included
● Opensource and user-driven development
● API-agnostic
![Page 7: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/7.jpg)
Architecture
![Page 8: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/8.jpg)
Shared storage
![Page 9: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/9.jpg)
Shared storage: NFS or?GlusterFS: completely decentralized, no SPOF, FUSE client, developed by Red Hat:
http://gluster.org - use ON shared driver.
MooseFS: no native HA, proven stable, automatic balancing of resources:
http://moosefs.org - use ON shared driver.
Ceph: should solve a lot of problems, but actually only the block device is "stable":
http://ceph.com - use experimental driver
![Page 10: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/10.jpg)
Monitoring● Ganglia: near-zero configuration,
distributed monitoring and graphing for HPC, clusters, and highly dynamic environments.
● im_ganglia driver can be used to off-load frontend from hosts resources polling via ssh.
![Page 11: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/11.jpg)
![Page 12: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/12.jpg)
Monitoring● Check_mk: use a local agent to gather
metrics on every node, generate nagios/icinga configs to retrieve them and generate alerts when shit happens.
● HOST_HOOK and VM_HOOK can be used to dynamically attach/detach hosts and VM instances within Check_mk.
![Page 13: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/13.jpg)
![Page 14: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/14.jpg)
It's time to party...
![Page 15: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/15.jpg)
![Page 16: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/16.jpg)
Overview of the CLI Interface
# Login as root/opennebula and su on oneadmin
$ su - oneadmin
# Currently configured hosts and their status$ onehost list# Currently available vnetworks$ onevnet list# Show leases and specific configuration of the vnetwork$ onevnet show 0# List available disk images$ oneimage list# List registered VM templates$ onetemplate list# Show template details$ onetemplate show 0
![Page 17: Cloud computing, in practice ~ develer workshop](https://reader033.vdocument.in/reader033/viewer/2022051817/54848bda5806b5bd588b466c/html5/thumbnails/17.jpg)
Resourceshttp://opennebula.org/documentation:rel3.8
http://blog.opennebula.org/
http://bit.ly/opennebula-3-book-packtpub
http://marketplace.c12g.com/appliance
http://dev.opennebula.org/
http://opennebula.org/software:ecosystem