Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Linux distribution should I use as a Xen host? [closed]

I ordered a server for the home office and I would like to partition it with Xen. I think this will keep things clean and easier to maintain. I will be running things like MySQL, PostgreSQL, Tomcat, and my own code.

What freely available Linux distribution has the best Xen hosting facilities?

like image 228
Stefan Arentz Avatar asked Feb 15 '09 20:02

Stefan Arentz


People also ask

Does Xen run on Linux?

Commercial versions of XenAlthough Xen is included in the Linux kernel, only a few Linux distributions, such as Oracle Unbreakable Linux and SUSE Linux Enterprise Server, offer a supported Xen stack. Red Hat included Xen up to Red Hat Enterprise Linux (RHEL) 5, but switched to KVM with the release of RHEL 6.

Is debian good for privacy?

Whonix is based on the Debian GNU/Linux to offer outstanding security and advanced level privacy. This distro is one of the most secure Linux distros if you want something different in your system's security.

What is a Xen host?

Xen is a Type 1 or bare-metal hypervisor that allows you to run multiple operating systems on host computers to enable virtualization. Xen lets you share hardware resources of the same computer among multiple operating systems concurrently. The multiple operating systems can be run on the same hardware resources.


2 Answers

I highly recommend Debian or Ubuntu (server) for domain-0. Here's why:

  1. Setting up complex networking (bridges, bonded devices, etc) is simple. One file, easy syntax, easy to have scripts do it for you if need be. Do not use the 'network-bridge' script that comes with Xen on a production box, you may need to re-start Xend, which would break all networking (dom-0 and guests)
  2. Debian and Ubuntu use the apt package manager. Apt is notorious for resolving dependencies very well, letting you search for libraries that you need to compile new tools for Xen (or Xen itself from source, which I recommend).
  3. Shorewall, which is wildly popular in the Xen community for routed configurations is very easy to use on a Debian based system. Moreover, you can get Steve Kemp's Xen tools as well as the dozen or so that I wrote.

I would not recommend this to someone who wanted Desktop virtualization, I would recommend Fedora. However, as a Xen host with 300 Xen servers in production, I HIGHLY recommend something Debian based. Of course, use what you are comfortable with .. however it might be worth your time to get comfortable with a Debian based distro on dom-0.

like image 196
Tim Post Avatar answered Sep 29 '22 15:09

Tim Post


Any of the major distributions should work fine. Pick the one you're most comfortable with.

like image 31
ceejayoz Avatar answered Sep 29 '22 15:09

ceejayoz