My current Xen machines use one logical volume per disk, for XenServer I need those in VDI files/volumes. This is how I moved them onto XenServer:
Prepare the new machine via XenCenter or use xe vm-install.
Determine the uuid of the new VDI via xe vdi-list and write it down.
Create a new VBD for the control domain:
xe vbd-create device=0 vm-uuid=uuid_of_xen_control_domain vdi-uuid=uuid_of_vdi bootable=false mode=RW type=Disk
Attach it to the Dom0 via xe vbd-plug.
Use fdisk to create a partition table and filesystem ...
Since my last blog post I had quite some fun with crappy DRBD performance. Long story short, it looks like as if I can't get a decent random write speed out of DRBD without disabling disk flushes and barriers. Oddly enough the latency tests on the backend device were great, so either something is entirely wrong with my DRBD config or the 3ware raid cards are as broken as many people say. Usually one shouldn't risk running a DRBD raid using drain without BBUs, but since my machines ...
As promised here is the next part of my Xen series.
I had to setup the servers via PXE since I didn't order CD drives (on purpose since I didn't play much with PXE yet). I installed the TFTP server following the docs provided by Citrix and added the following line to our dnsmasq config:
This instructs PXE clients to load the pxelinux.0 from 192.168.1.11 via TFTP.
The installation of XenServer itself was straight forward then ...
I work for a small company with six employees during the summer holidays. This means that money for many servers is a no-go, but we still need servers for some internal stuff (internet gateway, some Django apps and test systems). As every other company we would like a reliable service, outsourcing is no option with our requirements.
Currently our services run on an old dual core Intel Xeon with one GB ram. We use Xen for virtualization, but the machine is near at it's limit. Also it's just ...