Mate Lakat

  1. Virtual Hypervisor

    This blog demonstrates how to perform a scripted install of a XenServer inside a XenServer. This gives a flexibile virtual environment for development or experimenting with cloud setups. The official way of automating XenServer installation, is to use PXE boot. This guide assumes that you don't have DHCP/PXE services running on your isolated network, so it will re-master the XenServer install media, thus, the only ...

    Read More

  2. XenAPINFS – Integrated with Glance

    Introduction This blog entry demonstrates the XenAPINFS - Glance integration. The feature's blueprint can be found on launchpad. At the time of writing this document, the driver only supports XenServer type ovf images (these images are specially named vhd files compressed to a .tgz archive). The cinder driver is using the nova xenapi plugins to upload/download the images. I am also working on a general case, ...

    Read More

  3. Upload custom images to a XenServer powered OpenStack Cloud

    In this post, I would like to cover, how to prepare an image (a virtual hard disk), that could be launched in OpenStack. I will use a cirros image to demonstrate the steps. Download an image. For this example a QCOW2 image will be used: wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img Now convert the image to XenServer VHD format. Converting a raw file to VHD, using ...

    Read More

  4. Convert a raw image to XenServer – VHD

    If your choice of hypervisor is XenServer, and using ext storage, the virtual disks are stored in vhd format. I would like to show how to convert a raw image to VHD format. The first option could be to use the qemu-img tool, specifying vpc format. This solution works, until you decide to snapshot that virtual disk. OpenStack itself is creating snapshots of downloaded images, so ...

    Read More

  5. VHD to OpenStack using a XAPI host plugin

    Four steps to upload a VHD to OpenStack. The goal was to use an existing OpenStack XAPI plugin to upload a VHD to OpenStack. For this demo, I was using two XenServers, one controlled by OpenStack, and the other holding a stopped instance. See the introduction on YouTube: Part 1 - Intro Create a Glance Image First, an image needs to be created on glance. Log in to ...

    Read More

  6. XCP-XAPI on Precise

    The Citrix-Openstack team is already running automated OpenStack tests against the stable, and the latest XenServer. As the XCP-XAPI is already available for Ubuntu systems, we plan to run the tests against that platform as well. With the help of Mike McClurg, we put together some instructions to easily get started with Ubuntu 12.04 and XCP-XAPI. Get Started with XCP-XAPI on Precise The relevant instructions could be ...

    Read More

  7. Hello Xen API host plugin

    I am about to call an OpenStack xen-api host plugin to ask my host to upload images to OpenStack glance. As I was exploring how to do that, I thought it would be a good time to write a Hello XenAPI host plugin example. You can read more about the XenAPI here: API reference XenAPI python binding OpenStack XenAPI Host plugins Step 1: Create the host plugin The host plugin ...

    Read More