systemimager

Feb 06 2009

Image Sprawl , and the new cure ..

When I tell people that the concept of copying VM's around as frequently done in the VMWare world is one of the most stupid ideas on this planet, I get the weirdest looks.

In my world it is, I want my infrastructure to be reproducible , I want to be able to throw any machine in my infrastructure out of the 10th floor of a building and be up and running again in no time. If I spread a bunch of VM copies around who knows what kind of life they start leading. Some will get upgrades, some won't ..
If I get an image from someone, how did he get there ? Nobody knows ..

To me Image Sprawl is more than not being able to to manage your Virtual Machines, it also matters for physical machines that are being deployed using a golden image.

Now rewind back about 4 something years.. back then I wrote a paper for LinuxKongress titled Automating Xen Virtual Machine Deployment which described a Hybrid way of Bootstrapping an infrastructure.
Quicly summarized, you use the benefits of images to quickly deploy a minimal image which
Luke today calls a Stem Cell then go on using centralized package management and a configuration management tool to keep them up to par. There are 2 things that changed in between,
we replaced CFEngine with Puppet , and the fact that today some people do care a bit more about the infrastructure side of the web, guess we have to thank Amazon and the Cloud Hype for that

But fundamentally .. not that much changed :)

Nov 07 2007

Whip me, beat me, make me maintain ....

Dag, we can't blame you for being brainwashed by IBM and still looking back at AIX tools, afterall you worked there twice already and who knows how may more times to come :)

But .. before you start to reinvent the wheel, or mksysb have a look at the following tools.
There's 2 tools that come to mind when looking at your requirements.

A tool I used a lot about 5-6 years ago is Mondo Rescue :
Mondo Rescue is a GPL disaster recovery solution. It supports Linux (i386, x86_64, ia64) and FreeBSD (i386). It's packaged for multiple distributions (RedHat, RHEL, SuSE, SLES, Mandriva, Debian, Gentoo). It supports tapes, disks, network and CD/DVD as backup media, multiple filesystems, LVM, software and hardware Raid.

I haven't used it for a while since my current preference off course goes to the SystemImager Framework. Apart from using it for automating installations off course you can use it to create a golden image of your running environment and restore that image any way you like, over network, from CD (with si_mkautoinstallcd) etc.

SystemImager makes it easy to do automated installs (clones), software distribution, content or data distribution, configuration changes, and operating system updates to your network of Linux machines.

On the other hand , if you manage your systems in an Infrastructures.org way , and you have good backups of your data. You don't need to restore a system from some media, as you will just be able to rebootstrap the failing machine in an identical way as you have been managing it and the only thing needed to do is restore your data.

PS. if you don't know what I don't want to maintain, skip the first result