Sep20

Xen’s stuff

Today I spent some time working on one of our machines called “the-ripper” since we’re moving to the new offices and we’re cleaning up a bit our data-center.

That machine wasn’t previously used for anything but filtering packets between internet and the clusters’ testing network; the guy who was working there thought that it could be used for something else but nothing was already planned except using it as a web-server.

First let’s begin with the hardware:

  1. Two AMD Opteron CPUs;
  2. 2048MB of RAM;
  3. Two gigabit ethernet cards;
  4. didn’t care about the video card (Ati rage or similiar);
  5. 2U rackmount.

Since it seemed a waste to use a such powerful machine as a firewall only I thought that Xen could help me to “put the machine under load” a bit.

One more problem was a missing ethernet interface needed to keep in a DMZ the hosts and the services exposed to the internet.

A detailed howto will follow as soon as I’ll have finished and fully tested the solution.

Today’s work included installing Ubuntu Edgy, intalling the Xen packages, creating a virtual machine with Dapper to act as the firewall, creating a new bridge to be used by the firewall and the virtual machines in the DMZ, some “sysfs magic” to unbind the internet network card from the driver which was claiming it and assign it to the Xen’s pci backend driver in order to have it only available in the firewall’s virtual machine.

Until now it worked with a basic firewall script, but I think i will borrow those in Ipcop which are surely better than anything I can do.

The next step could be the usage of one of our external arrays to keep the disk images using LVM and then serve them to different Xen servers via Infiniband or Fiber Channel, domains live migration to balance the load and more…

I think that with a bit of work a whole mid-sized data center could be consolidated in a 6U Blade cluster.


UPDATE

The machine has 2048MB, not 2048GB and its rack is a 2U one, not 1U. Thanks to cgabriel for having suggested me that it would be difficult to fit such a big amount of memory in a 1U rack chassis :)


No Responses to “Xen’s stuff”

You can leave a response, or trackback from your own site.

 

Leave a Reply

 

Recent Posts

Popular Categories

No categories

About

I’m Alessandro Gervaso, I work as a consultant in IT services and HPC. I’m a long time GNU/Linux user and a free software supporter, currently being a member of an italian association called Associazione per il software libero. I’m also interested in web standards, usability and accessibility.
I’m a rock guitar player and I own an awesome motorbike!
And last, but nonetheless I live in Friuli near Pordenone, in the north east of Italy (well, about 100KM far from Venice).

Here’s my curriculum vitae in various languages:

If you need to contact me, you can do it by: