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.aspx6 -
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.