Setting up Live Migration in Openstack Icehouse [Juno]

[Update 8.12.2014] Since OpenStack’s Juno release hasn’t introduced any changes regarding live migration, Juno users should be able to follow this tutorial as well as the Icehouse users. If you experience any issues let us know. The same setup can be used for newer versions of QEMU and Libvirt as well. Currently we are using QEMU 2.1.5 with Libvirt 1.2.11.

The Green IT theme here in ICCLab is working on monitoring and reducing datacenter energy consumption by leveraging Openstack’s live migration feature. We’ve already experimented a little with live migration in the Havana release (mostly with no luck), but since live migration is touted as one of the new stable features in the Icehouse release, we decided to investigate how it has evolved. This blogpost, largely based on official Openstack documentation, provides step-by-step walkthrough of how to setup and perform virtual machine live migration with servers running the Openstack Icehouse release and KVM/QEMU hypervisor with libvirt.

Virtual machine (VM) live migration is a process, where a VM instance, comprising of its states, memory and emulated devices, is moved from one hypervisor to another with ideally no downtime. It can come handy in many situations such as basic system maintenance, VM consolidation and more complex load management systems designed to reduce data center energy consumption. Continue reading

Understanding the relationship between ceilometer processor utilisation and system energy consumption for a basic scenario in Openstack

In one of our earlier blog posts, we described some test we performed to determine how server power consumption increases with compute load; this post is something of a variation on that post, but here we put the focus on work taking place within VMs rather than work taking place within the host OS. The point here is to understand how VM load and energy consumption correlate. Here we document the results obtained.

As with our previous work, we focused on compute bound loads – the focus in this test is on increasing the compute load on the servers by performing π calculations inside the VM. In this work, we used homogeneous VMs – all the VMs were of the same flavor with the following configuration 2GB RAM, 20GB local disk and 1 VCPU.

Continue reading

Bryan-Wood

PTDC0032 Bryan is an exchange student studying for a Bachelors of Science in Computer Science from Grand Valley State University in Allendale, Michigan USA. He is studying abroad for a semester at the Zurich University of Applied Sciences in Winterthur, Switzerland. He is currently in his third year of studies and is looking forward to the adventure and challenges of working in the ICC Lab. The cloud computing project he is working in the ICCLab is a student project under the Direction of Christof Marti and Thomas Michael Bohnert. He is happy to be part of the team and enjoying learning everything he can while here with us in Switzerland.

Fatmir Popaj

Fatmir is a student who studies computer science at ZHAW with the focus on software engineering.

He is currently in the fifth semester and working towards his bachelor’s degree.

During this semester he will be working with Michael Rieser on a web front end for Cloud Foundry a PaaS project.

He is intrested in Web Development and Design. One of his leisure activities is jogging outdoors in the nature.

 

Michael Baldwin

Michael Baldwin

View of Lake Thun from the top of Mt. Niesen!

Michael is a student intern for the ICCLab while he studies at Zürcher Hochschule für Angewandte Wissenschaften for an exchange semester.

As an undergraduate student at Grand Valley State University, he is working towards his bachelor’s degree in computer science.

During his four months in Winterthur, Switzerland, he will be working on a PaaS project for the lab involving CloudFoundry.