Xen
Digging in Xen to fix some problems
Submitted by specialj on Thu, 01/17/2008 - 03:56.I had some trouble restarting a xen user domain tonight. The shutdown, destroy, console, and list xm commands were all simply hanging. I finally tried restarting the xend service which fixed the hanging problems. But when I tried to start the user domain that originally gave me problems I got this error message:
Error: Device 769 (vbd) could not be connected.
Device /dev/vg/lv is mounted in a guest domain,
and so cannot be mounted now.
Thoughts on Xen filesystem configuration with regard to backups
Submitted by specialj on Fri, 12/21/2007 - 07:29.I’ve been experiencing some issues with regard to backing up my Xen user domains. As I investigated the issues I once again found the lack of documentation to be frustrating, especially about such a fundamentally important issue as backups. There is simply no documentation on how to setup enterprise level backups for Xen. So here on some thoughts on what I see as the state of things, and where they could go form here to get better.
Missing dependency in Ubuntu xen-utils packages
Submitted by specialj on Tue, 12/04/2007 - 18:17.I noticed in testing some of the xm subcommands that I was getting errors. I found that these errors disappeared upon installing the python-xml package which provided the missing python modules needed by xm. I've reported the bug and hope to see it fixed promptly. In the meantime, make sure you install python-xml on any system running Xen. Who knows what other problems might result from this package being absent.
Making sense of Xen commands for stopping and starting user domains
Submitted by specialj on Wed, 11/28/2007 - 02:02.What’s the difference between the “pause”, “suspend”, and “save” commands in the Xen management software? I only had the vaguest notion. And while I don’t consider myself an expert I decided to put together a bit of a cheat sheet to keep it all straight, including what the commands did and what their proper matchings are.
Creating more entropy for a Linux kernel in a virtualized environment
Submitted by specialj on Tue, 11/27/2007 - 20:51.So far my research has turned up a few solutions though none that I consider to be that great. I’ve also learned that both Xen and VMware seem to have this problem and it would not surprise if other virtualization solutions do as well. The root of the problem is actually that the Linux kernel relies heavily on interrupts for generating random numbers. In a virtualized environment a Linux kernel will be unable to generate random numbers due to being unable to access the hardware. The solution would probably be for the virtualization software to emulate a hardware random number generator that gets random data from the host system. That’s assuming that the Linux kernel isn’t adjusted in some way to account for this issue.
Challenges to using Xen in a production environment
Submitted by specialj on Mon, 11/26/2007 - 16:56.I’ve been using Xen for a little while now and while there are many aspects I like there are a few that are troubling. I’ve been wanting to write up some tutorials on using Xen but before that can happen I need to feel comfortable recommending Xen as a virtualization solution. At the moment I’m not sure I can do that, partially because of the issues I’ve encountered but mostly because those issues do not seem to be acknowledged or discussed in any meaningful way. That is perhaps the most troubling thing of all.
Buying parts for a cheap server to experiment with Xen
Submitted by specialj on Sat, 09/29/2007 - 19:31.Virtualization is the future of computing. Virtualizing servers has many benefits which including increased manageability, reduced hardware costs, strengthened security, and others that are outside the scope of this article. Among the array of virtualization solutions Xen stands out as the one I am most interested in pursuing at this time as it is Free/Libre/Open Source Software (FLOSS) and provides the functionality and performance I desire.




Recent comments
4 days 22 hours ago
2 weeks 3 days ago
2 weeks 5 days ago
6 weeks 4 hours ago
10 weeks 5 days ago
15 weeks 4 days ago
19 weeks 1 day ago
24 weeks 5 days ago
26 weeks 2 days ago
32 weeks 3 days ago