How to compile DRBD RPM for XenServer 6.0
A few quick notes on compiling your own DRBD RPM for XenServer 6.0
1. Download the latest XenServer DDK ISO - Available from Citrix.com2. Mount or Extract the ISO - Import into XenServer as a VM3. Make sure you add a network connection4. SSH onto the VMYou need to install gcc and libxslt to compile DRBD> yum --enablerepo=base -y install gcc libxml2.i386 libxslt.i386> mkdir drbd> cd drbd> wget http://oss.linbit.com/drbd/8.4/drbd-8.4.1.tar.gz> tar -xvf drbd-8.4.1.tar.gz> cd drbd-8.4.1.tar.gz> ./configure> make km-rpm> make rpmRPM file are created in /usr/src/redhat/RPMS/i386/You need,drbd-km-2.6.32.12_0.7.1.xs6.0.0.529.170661xen-8.4.1-1.i386.rpmdrbd-utils-8.4.1-1.i386.rpmThats it enjoy!
