Compile an Intel Modular Server multipath driver for XenServer 6.0.2 XS602E005 kernel with XenServer DDK

Intel Modular Server requires a manually built multipath driver in order to run a stable instance of XenServer 6.x.

Let’s build this driver for Citrix Xenserver 6.0.2E005 kernel from a RedHat driver available on Intel site. or a local copy on my site RHEL6_MPIO_Setup_20110712.

1. Download the DDK VM

Download XenServer 6.0.2 XS602E005 Driver Development Kit from http://support.citrix.com/article/CTX133814

2. Mount the downloaded iso file.

On Mac you can mount by double-clicking on the iso file.

3. Import the DDK VM

Open XenCenter and choose File -> Import.

Choose the ova.xml file from the mounted iso.

Choose a Home Server for the VM. The VM will require 512Mb of memory.

Choose Storage. The VM will require approximately 2Gb of space.

Do not set up networking at this step.

Click finish and wait until the upload completes.

4. Set up networking

Choose the new VM from XenCenter and click on the Networking tab.

Click Add Interface to enable your nic.

5. Start the new DDK VM.

Log in from the XenCenter console and set your root password.

If you do not have a dhcp server available, set up a static ip by editing /etc/sysconfig/network-scripts/ifcfg-eth0

You may also have to edit /etc/resolv.conf and add a nameserver.

Additionally, set up a gateway in /etc/sysconfig/network

6. Log in

If your network is set up correctly you can log in with ssh.

For convenience I also set up mc by running:

yum install mc --enablerepo=base

7. Download and unpack the RedHat driver to the VM

wget http://downloadmirror.intel.com/18617/eng/RHEL6_MPIO_Setup_20110712.zip

unzip RHEL6_MPIO_Setup_20110712.zip

8. Install the source rpm

rpm -ivh --nomd5 scsi_dh_alua_CBVTrak-2-1.src.rpm

cd /usr/src/redhat/SPECS

rpmbuild -ba scsi_dh_alua.spec

Now, the new rpm is located at /usr/src/redhat/RPMS/i386/scsi_dh_alua_CBVTrak-2-1.i386.rpm

I have completed this whole process and here is the driver rpm with multipath.conf for download:

scsi_dh_alua_intelmodular_cbvtrak_xs602e005.i386.tar.gz

In fact this driver is an exact match to the driver compiled with the initial 6.0.2.542 kernel.

Here’s my earlier post on how to install this driver and get your Intel Modular Server running:

http://www.xenlens.com/citrix-xenserver-6-0-2-multipathing-support-intel-modular-server/

 

 

7 thoughts on “Compile an Intel Modular Server multipath driver for XenServer 6.0.2 XS602E005 kernel with XenServer DDK

Leave a Reply

Your email address will not be published. Required fields are marked *

You must enable javascript to see captcha here!