Archive for the ‘sysadmin’ Category

CentOS 4.5 -> 4.6 update on a Virtuozzo VPS

Tuesday, December 18th, 2007

Updating from CentOS 4.5 to 4.6 is very easy. All you have to do is use yum : a simple “yum update” is all you need to do.

However, when updating CentOS to the new 4.6 version on a Virtuozzo VPS, you may encounter a dependency error. On my VPS, I got the following message : (more…)

Simple incremental backup with rsync over SSH

Saturday, December 1st, 2007

SSH and rsync can be used as a powerful backup tool. Together with hard links, it is also possible to use it to make incremental backups using a simple script. (more…)

Xen troubleshooting

Saturday, November 17th, 2007

Some problems you may have with Xen and their possible causes…

These are problems I had with CentOS5 host/guests setup using LVM without a virtual disk, and without using the Redhat’s virt-manager tool, but of course it may also apply to other kinds of setup.

(more…)

CentOS 5 Xen images – part 2: installing the Xen guest

Saturday, November 3rd, 2007

OK, so you downloaded an image from jailtime.org or you made your own image as described in my previous post, and now you want to install a Xen guest using it. Here’s how to do it :

(more…)

CentOS 5 Xen images – part 1: creating a base domU image with yum

Friday, October 26th, 2007

I recently needed to configure Xen guests on a CentOS server. I didn’t want to use CentOS/Redhat’s tool for several reasons : I don’t like the fact that it creates a “disk” with a whole partition table within the partition where you install it. Installing the guest directly on a LVM logical volume seems better to me (I may not be right, I’m still somewhat new to Xen!). Also, it was very instructive to do all the steps by myself rather than using a tool that does everything.

However, I had several problems while trying to install my first guest system, so it took me quite some time to find the right way to do it. I found a lot of documentation on the web, but nothing really described what I really wanted to do. So here we are, I decided to write a post describing what to do exactly to make a custom guest image and install it as a Xen domU.

In this first part, I will explain how to make an OS image of CentOS 5 that will be suited for Xen.

(more…)