WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] Re: XCP - How to compile IBM Mpp-rdac driver in XCP

To: xen-users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>, xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Re: XCP - How to compile IBM Mpp-rdac driver in XCP
From: DJ Roger <djroger.abalando@xxxxxxxxx>
Date: Fri, 9 Sep 2011 11:57:35 -0300
Cc:
Delivery-date: Fri, 09 Sep 2011 07:58:36 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yR9zzmhS03EeOknzcssrC7eC+JAOBMV2/jBNwgfwwaE=; b=SWvOLo+YvMy3MHegyB0NdULAmbUCBXfUrvfAglH1driNbpInrN5AvuE+vFSKYSbiVm C6NeNXiZ5q+YQviaXLcKrIXQTnnmoUbO4rqrxaXvqaqKo/MplFapHx2q/f6gAfFwc3lw I/4CqNfmA47/ys14Uy0rzNOWRhgsf/qQyVXAk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAEUiGPo2z1ZDsL0DM7ZHqDbWK7skuqPhdDo2SpLT_GyFXxisTA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <CAEUiGPoWrJkLmSPfAZD26_OvzNfXZD4g+WWbYRx82nSQ2z3SmQ@xxxxxxxxxxxxxx> <CAEUiGPo2z1ZDsL0DM7ZHqDbWK7skuqPhdDo2SpLT_GyFXxisTA@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Sorry

correcting
the last instructions:



8 - Now run the script to create the initrd XCP and make other settings to boot.
 
   /opt/xensource/libexec/mpp-rdac --enable


9 - Expose Lums to the server and restart.

After the reboot run the following commands to verify that the support for HBAs is correct.

mppUtil -a

mppUtil -g 0

This is show the storage path infos.







2011/9/8 DJ Roger <djroger.abalando@xxxxxxxxx>
I got a solution:


1 - Disable Citrix yum repository commenting every line of the file /etc/yum.repos.d/Citrix.repo




2 - install
the development packages for CentOS:

     
     yum --enablerepo=base install gcc
     yum --enablerepo=base install make



3 - Install the kernel dev packages from XCP 1.0 binpkg.iso (http://downloads.xen.org/XCP/42052/sources/binpkg.iso)

     rpm -ivh kernel-extra-devel-2.6.32.12-0.7.1.xs1.0.0.311.170586.i686.rpm
     rpm -ivh kernel-xen-devel-2.6.32.12-0.7.1.xs1.0.0.311.170586.i686.rpm



4 -
Change the file / etc / redhat-release (support for redhat 5)

     from:

      Release 1.0.0-42052c XCP (XCP)

      to:

      Release 5.0.0-42052c XCP (XCP)




5 -
Download and install the latest version of mpprdac driver for Linux that can be found at:

http://www.lsi.com/sep/Pages/rdac/ds4000.aspx



6 - Extract the downloaded package, enter the directory and change the line 66 of file mppLnx26p_upper.c

from:

  # include <.. / drivers / base / base.h>


to:

  # include </ usr/src/linux-2.6.32.12-0.7.1.xs1.0.0.311.170586/drivers/base/base.h>




7 - Run the commands to compile and install:

make clean
make
make install

At the end of processing the last command an error occurs because there is no bootloader recognized. ignore the error because all files were generated and copied to the correct locations.



8 -
Now run the script to create the initrd XCP and make other settings to boot.
 
   /opt/xensource/libexec/mpp-rdac --enablerepo


9 - Expose Lums to the server and restart.

After the reboot run the following commands to verify that the support for HBAs is correct.






2011/9/5 DJ Roger <djroger.abalando@xxxxxxxxx>
Hi all!

I need to compile de IBM Mpp-rdac driver in XCP 1.0 to use with the IBM DS4700 storage.

Is there any way to do this?



--

Rogério da Costa

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>