Redhat下多路径解决--IBM RDAC

1.到IBM网站下载RDAC软件。软件版本需考虑几个因素:
A.存储机器的型号。此处为DS4800,可选在DS4000系列。
B.Redhat版本kernel。此处为Linux 2.6.18-8.el5xen #1 SMP Fri Jan 26 14:29:35 EST 2007 x86_64 x86_64 x86_64 GNU/Linux。需具体到2.6.18。在软件下载界面的相关txt文档查找kernel版本。
参考链接:
https://www-304.ibm.com/systems/support/supportsite.wss/selectproduct?taskind=2&brandind=5000028&familyind=5329626&typeind=0&modelind=0&osind=0&psid=sr&continue.x=1&matrix=Y#Storage%20Manager


2.Down下来之后版本为rdac-LINUX-09.02.C5.13-source.tar.gz
上传rdac-LINUX-09.02.C5.13-source.tar.gz到机器上,然后tar -zxvf rdac-LINUX-09.02.C5.13-source.tar.gz。目录下会产生linuxrdac-09.02.C5.13文件夹。

3.cd/linuxrdac-09.02.C5.13,会看到如下文件:
[root@KABUSR2 linuxrdac-09.02.C5.13]# ls
genfileattributes  mppCmn_s2tos3.o        mppLnx26p_spinlock_size.c  mppLnx26p_vhbalib.o   mpp_rcscript.REDHAT  mppUtilSysdep.o
genuniqueid        mppCmn_SysInterface.c  mppLnx26p_sysdep.c         mppLnx26p_vhbamisc.c  mpp_rcscript.SUSE    mppVhba.ko
genuniqueid.c      mppCmn_SysInterface.o  mppLnx26p_sysdep.o         mppLnx26p_vhbamisc.o  mppSupport           mppVhba.mod.c
hbaCheck           mpp.conf               mppLnx26p_upper.c          mppLnx26p_vhba.o      mppUpper.ko          mppVhba.mod.o
License.txt        MPP_hba.c              mppLnx26p_upper.o          mppLnx26p_vhbaproc.c  mppUpper.mod.c       mppVhba.o
lsvdev             MPP_hba.o              mppLnx26p_vhba.c           mppLnx26p_vhbaproc.o  mppUpper.mod.o       Readme.txt
Makefile           mppiscsi_umountall     mppLnx26p_vhbaio.c         mppLnx26p_vhbatask.c  mppUpper.o           setupDriver.REDHAT
Module.symvers     mpp_linux_headers      mppLnx26p_vhbaio.o         mppLnx26p_vhbatask.o  mppUtil              setupDriver.SUSE
mppCmn_s2tos3.c    mpp_linux_sys_headers  mppLnx26p_vhbalib.c        mppLnx_Spinlock_Size  mppUtil.o            utility

4.安装:
make
make install

安装过程时间较长,会产生一个mpp-2.6.18-8.el5xen.img文件。并会有提示必须修改启动列表文件。

5.更改启动列表文件:vi /etc/grub.conf
将启动选项指向mpp-2.6.18-8.el5xen.img。
为避免因错误无法启动,可以在下面新增一个title:

更改前:

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-8.el5
        module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol05 rhgb quiet
        module /initrd-2.6.18-8.el5xen.img
更改后:
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-8.el5
        module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol05 rhgb quiet
        module /initrd-2.6.18-8.el5xen.img
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-8.el5
        module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol05 rhgb qu
iet
        module /mpp-2.6.18-8.el5xen.img

按照系统及软件提示,新增一条列表应为:initrd /mpp-2.6.18-8.el5xen.img。实践证明改为module /mpp-2.6.18-8.el5xen.img才能正常启动。

6.完成之后shutdown -r now
成功启动之后,查看pvs等,不再有路径报错。

7.卸载:
[root@KABUSR2 linuxrdac-09.02.C5.13]# make uninstall
[root@KABUSR2 linuxrdac-09.02.C5.13]# make clean

你可能感兴趣的:(redhat,IBM,多路径,rdac)