Migrating ganeti virtual machines to OpenStack (part 2 / 2)

A ganeti cluster hosts GNU/Linux based fully virtualized virtual machines, booting from a disk image with a boot loader and a partition table. The case of para-virtualized virtual machines has been covered in a previous post. An OpenStack LVM volume is created on a designated bare metal machine with euca-create-volume –zone ZONE –size INGB. The disk image is copied verbatim into the volume with a command such as dd if=/dev/drbd9 | ssh dd of=/dev/nova-volumes/vol-0001. The virtual machine is then defined on the same host to save bandwidth with nova boot … –block_device_mapping vda=39::0:0 … –availability_zone=ZONE … .
Continue reading “Migrating ganeti virtual machines to OpenStack (part 2 / 2)”