The wait is over so to speak, XenServer 5.6 FP1 was released over a month ago but DRBD wouldn’t work due to a bug in blktap2,
The issue was highlighted by Tomoe Sugihara on the Xen-Api mailing list prior to FP1 being released – http://lists.xensource.com/archives/html/xen-api/2010-12/msg00001.html
There is mention of a couple of patches but neither of them fixed the issue – it was necessary to download the latest Soruce from the Xen Cloud Project release 1 RC1 and use the blktap2 source files.
The steps to make it work, Very simple,
1. Download the patched Kernel RPM (Link below)
2. Use WinSCP or similar to load it onto your XenServer
3. Login as root on the console
4. Run # rpm -ivh kernel-220.127.116.11.7.1.xs18.104.22.1687.170586xen-1.i386.rpm –force
This will replace the current kernel with the patched one.
That’s it DRBD is working now
Enjoy and let me know how it goes.
If you already have DRBD installed and setup before installing the Kernel – you will need to reinstall the DRBD RPM, modprobe & start DRBD
# rpm -ivh drbd-km-22.214.171.124_0.7.1.xs126.96.36.1997.170586xen-8.3.10-1.i386.rpm –force
# /etc/init.d/drbd start
# modprobe drbd
Direct link download Kernel + Utilities: http://tinyurl.com/6xr4g6h
For installing DRBD with XenServer including the latest release 8.3.10 please see http://joekane.eu/xenserver-drbd-update-4-the-guide