VMware vApp (from vSphere) to KVM

So we have a simple migration at hand looking at the current virtualization landscape, right ?

  1. Use virt-convert from python-virtinst. In other words: OVF to libvirt’s XML
  2. Launch KVM with the resulting migrated files (both images and metadata)
  3. Do trivial configurations inside the guest machine to match host environment

That was my idealized view. It turns to be this way:

  1. Try virt-convert to discover that it fails when converting from OVF.
  2. Try to fix libvirt python code libraries (OVF XML parser).
  3. When the code is fixed, the resulting metadata files are malformed.
  4. Try with the commercial “vCenter Converter Standalone”: ERROR: “OVF contains multiple virtual machines”.
  5. Download ~500MB of “VMWare Server” to just use the “vmware-vdiskmanager” binary (1.4MB).
  6. Construct libvirt’s xml, with some hand-edited sections.
  7. virt-manager fails when connecting via VNC to your remote VM due to a Ubuntu-CentOS cross-distro issue involving NetCat parameters. Place a workaround and report the bug.
  8. Optimize both virtual network and disk performance switching to VirtIO.
  9. Rebuild guest ramdisk image in order to load VirtIO drivers in the boot process.


Dilbert.com

Want more details ? Keep reading…
Continue reading →

India: Recorregut final


View Larger Map

12e dia: Amritsar

El viatge més llarg amb diferència: 12 hores entre bus i tren en sleeper class.

L’arribada com fins ara té recompensa: el temple daurat

Nota: Verificar rumors d’allotjament gratuït.

Més endavant a Rishikesh, reparteixen aquests “panflets” publicitaris:

rishikesh

11e dia: Jaisalmer camel trip

80 rupies per un petit chal comprat al fort…
…protegir-se be del sol del desert, no te preu ;P

Despres de l’encertada compra i de les vistes desde un retaurant elevat al fort, ens recull un Jeep destartalat que ens portara al “campament base”. Abans pero, cal revisar les normes basiques de “camel driving”:


Senta’t: Chyu, Chyu!
Espavila’t: So gutural indescriptible
Frena: Tensar les cordes
Esquerra/dreta: Estirar les cordes cap al costat que toqui

Sembla facil… a la practica els animalons no fan ni cas.

Continue reading →

10e dia: Jaisalmer

Despres de matinar de valent per agafar el tren a temps (5am), IndiaRail ens obsequia amb un retras de 4 hores per el nostre tren. Com a usuari casual de renfe, em prenc la noticia amb filosofia. De fet, varis recursos a internet sobre el funcionament dels trens indis ja ens advertien d’aquests “imprevistos”.

De fet, en els panells electronics per anunciar l’arribada dels trens, descobrim que ja hi ha un espai reservat per indicar el retard de cada tren… incredible India ;P

Continue reading →