1. VM Management for Green Data Centres with the OpenNebula Virtual Infrastructure Engine Ignacio M. Llorente OGF-EU: Using IT to reduce Carbon Emissions and Delivering the Potential of Energy Efficient Computing OGF25, Catania, Italy 5 March 2009
2.
3.
4.
5.
6.
7. Open and Flexible Architecture VM Management for Green Data Centres with OpenNebula Scheduler CLI libvirt sqlite Persistent Database XML-RPC OpenNebula core Information Manager Image Manager VM Manager Network Manager Host, Net & VM Pools OpenNebula API Access Drivers XEN KVM EC2 libvirt
8.
9.
10.
11. Monitoring and Accounting VM Management for Green Data Centres with OpenNebula VM Life-cycle and Monitoring Attribute Description ID VM identifier NAME Name of the VM STAT Status CPU CPU percentage used by the VM MEM Memory used by the VM HOSTNAME Host where the VM is running TIME Time since submission
12.
13. Controlling VM Management for Green Data Centres with OpenNebula VM Controlling Resource Controlling Action Description create Submits a new virtual machine, adding it to the VM pool deploy Starts a previously submitted VM on a specific host shutdown Shutdown an already deployed VM livemigrate Migrates a running VM to another host without downtime migrate Saves a running VM and starts it again in the specified host stop Stops a running VM Release/hold Releases/hold a VM from/to hold state Suspend/resume Saves/resume a VM Action Description Create/delete Adds/removes a machine to/from the pool Enable/disable Enables/disables host
14.
15.
16. VM Consolidation Scheduler VM Management for Green Data Centres with OpenNebula A Simple Example Initial situation Exec. 1: Packing algorithm in the VM Consolidation Scheduler requests a migration Exec. 2: VM Consolidation Scheduler “disables” a physical resource Exec. 3: VM consolidation scheduler “enables” a physical resource because there are pending VMs The requirement/rank matchmaker schedules the pending VMs