Archive for category Linux
SELinux, Xen & LVMs
Posted by Kyle Lexmond in Xen on October 21, 2011
I discovered something new today: SELinux can and does prevent access to logical volumes. This is entirely unexpected for me, because I always thought SELinux only worked on files. I was wondering why my test VM suddenly refused to start with the error “Disk is not accessible” after I upgraded it to F16Beta. I checked […]
Xen documentation
Posted by Kyle Lexmond in Xen on October 20, 2011
I read a most interesting post on the Xen-users list today: lists.xensource.com/archives/html/xen-users/2011-10/msg00350.html I’m going to try to follow these suggested topics. I mean, I got Win2k8R2 running on Xen, and I’m running Xen on F16Beta, neither of which I see documented anywhere, so that’s surely something I can contribute to the community docs…
Networking upgrade from Xen 4.0 to 4.1
Posted by Kyle Lexmond in Xen on October 16, 2011
I believe that Xen 4.1 saw the rewrite of what I’m assuming is the entire network configuration stack. Perhaps the most significant thing for me was that the domU’s network connection isn’t created/initiated properly if the domU config file has anything other than the MAC address and the bridge to which to attach the vif […]
Scheduling stuff to happen at reboots in Linux
Posted by Kyle Lexmond in Linux on October 16, 2011
Problem: My 1U is throwing correctable memory errors every few seconds, but I can’t do much about it, so I’m ignoring it. Solution: Disable the log messages about correctable memory errors. For future reference, the command is echo 0 > /sys/module/edac_core/parameters/edac_mc_log_ce Problem: I don’t want to have to do that after every reboot! Solution: Use […]
The downsides of using old servers as test beds
Posted by Kyle Lexmond in Xen on October 16, 2011
I managed to forget that Xen needs a PAE enabled kernel on i686. Oops. On a related note, adding ‘noreboot’ to the Xen command line stops automatic reboots, giving you enough time to read the error message.
Upgrading to Fedora 16 Beta with yum
Posted by Kyle Lexmond in Linux, Xen on October 9, 2011
So… I saw that Fedora 16 was out in Beta. I decided to try out the supposed Xen dom0 capability, using my old 1U. It had Fedora 15 installed, but nothing on it, so I just decided to blow it all away. To start, I went and downloaded the Live CD. First problem: I grabbed […]
Controlling groups of machines
Posted by Kyle Lexmond in Linux on September 13, 2011
So I’ve ended up bumping up the number of VMs I have running. And it’s getting annoying trying to manage them all. Previously, I was looking at using Puppet or Chef to control all the VMs, but never went anywhere with it. So now I’ve decided on using Puppet. And combining it with Func. That’s […]
Sharing Resources
Posted by Kyle Lexmond in Linux on August 20, 2011
Or how I’m designing a system such that my stuff doesn’t get mixed up with the family’s docs, but both reside in the same disk.
Creating a new RAID 6 drive & attaching it to a Xen VM
Posted by Kyle Lexmond in Linux, Xen on August 20, 2011
I have 4 2TB drives in my NAS. They are split into 2 partitions, 500GB and the remaining ~1.5TB. The 1.5TB partitions were used in a RAID5 for media – music, backups of DVDs, etc. The remaining 500GB partitions were supposed to be for crucial documents, stuff that warranted double protection against disk failure. Except […]