Extending Red Hat Enterprise Virtualization with Vdsm hooks

oVirt is an open source management system for KVM-powered virtual machines. Red Hat Enterprise Virtualization (RHEV) derives from oVirt in the same fashion that Red Hat Enterprise Linux is derived from Fedora. oVirt’s (and RHEV’s) central management component, called oVirt-Engine, is written in Java and runs on top of JBoss. Engine controls dozens of nodes that may run many dozens of VMs each.

Besides sounding like an improper innuendo when pronounced in by Spanish-speaking people, “Vdsm” is Engine’s per-node agent. It’s written in python and is responsible to prepare storage and network connectivity for the virtual machine, as well as to track the life cycle of the VM.

Continue reading “Extending Red Hat Enterprise Virtualization with Vdsm hooks”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Advanced Integration with RHEV-M – Part 2 of 2

This is part 2 of a 2-part article about Advanced Integration with RHEV-M. The first part is available here.

In the last part you learned how to perform different operations on the engine from the outside using the API/SDK. In this part you’ll learn how you can influence the engine from the inside, using extension APIs

Extension APIs

In this section we will describe the following APIs:

  • UI plugins API (also covered in http://ovedou.blogspot.com and http://www.ovirt.org/Features/UIPlugins) – an API that allows extending the Administrator Portal UI. It allows you to add UI components with a RHEV-M look-and-feel, but with your own functionality. Useful in order to integrate your product with the Administrator Portal
  • Scheduling API – an API that allows you to change the way the the engine schedules VMs in your data center, and fit it to your specific needs
  • VDSM hooks – A mechanism that allows you to modify the VM in different lifecycle events. Useful for modifying / extending the VM’s functionality

UI plugins API

Looking at the RHEV-M Administrator Portal, there are several main UI components:

Continue reading “Advanced Integration with RHEV-M – Part 2 of 2”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Advanced integration with Red Hat Enterprise Virtualization Manager (RHEV-M) – Part 1 of 2

This is part 1 of a 2-part article about Advanced Integration with RHEV-M. 

Background

At CloudOpen Europe 2013, in Edinburgh, I presented a talk about advanced integration with the oVirt engine. This technical article is covering the contents of this session.

RHEV-M is a Large scale, centralized management for server and desktop virtualization. It is based on leading performance, scalability and security infrastructure technologies, focusing on KVM for best integration/performance. It provides an alternative to Center/vSphere, providing end-to-end IaaS platform.

rhevm

In this post I’ll show you how you can integrate with the RHEV-M engine, covering both new and cool features, as well as some “old” useful features.  Let’s start with the REST-based APIs. These APIs allow you to perform different operations on the engine externally. You can do anything using the REST APIs, even operations that aren’t exposed through the different UI interfaces.

Continue reading “Advanced integration with Red Hat Enterprise Virtualization Manager (RHEV-M) – Part 1 of 2”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!