- 论坛徽章:
- 0
|
远在几周前,寡人就接到了一个任务,解决Redhat下多路径问题。\n\n就是从存储--光纤交换机--Server,有一个图可以简单的解释这种情况:\n\n\n \n首先在Redhat网站找到一个关于多路径的软件,和相关技术说明,如下链接:\nhttp://www.redhat.com/docs/manuals/csgfs/browse/4.6/DM_Multipath/index.html\n\n事实上,在IBMDS4800--X3650的环境中,这个软件无法正常收敛多路径。\n\n经过多次尝试,求教IBM人员,方知需安装一个IBM的软件:RDAC。\n\n终于在今天早上得以解决,简单写了个步骤,积累一下:\n\n\nRedhat下多路径解决--IBM RDAC\n\n1.到IBM网站下载RDAC软件。软件版本需考虑几个因素:\nA.存储机器的型号。此处为DS4800,可选在DS4000系列。\nB.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版本。\n参考链接:\nhttps://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\n\n\n2.Down下来之后版本为rdac-LINUX-09.02.C5.13-source.tar.gz\n上传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文件夹。\n\n3.cd/linuxrdac-09.02.C5.13,会看到如下文件:\n[root@KABUSR2 linuxrdac-09.02.C5.13]# ls\ngenfileattributes mppCmn_s2tos3.o mppLnx26p_spinlock_size.c mppLnx26p_vhbalib.o mpp_rcscript.REDHAT mppUtilSysdep.o\ngenuniqueid mppCmn_SysInterface.c mppLnx26p_sysdep.c mppLnx26p_vhbamisc.c mpp_rcscript.SUSE mppVhba.ko\ngenuniqueid.c mppCmn_SysInterface.o mppLnx26p_sysdep.o mppLnx26p_vhbamisc.o mppSupport mppVhba.mod.c\nhbaCheck mpp.conf mppLnx26p_upper.c mppLnx26p_vhba.o mppUpper.ko mppVhba.mod.o\nLicense.txt MPP_hba.c mppLnx26p_upper.o mppLnx26p_vhbaproc.c mppUpper.mod.c mppVhba.o\nlsvdev MPP_hba.o mppLnx26p_vhba.c mppLnx26p_vhbaproc.o mppUpper.mod.o Readme.txt\nMakefile mppiscsi_umountall mppLnx26p_vhbaio.c mppLnx26p_vhbatask.c mppUpper.o setupDriver.REDHAT\nModule.symvers mpp_linux_headers mppLnx26p_vhbaio.o mppLnx26p_vhbatask.o mppUtil setupDriver.SUSE\nmppCmn_s2tos3.c mpp_linux_sys_headers mppLnx26p_vhbalib.c mppLnx_Spinlock_Size mppUtil.o utility\n\n4.安装:\nmake\nmake install\n安装过程时间较长,会产生一个mpp-2.6.18-8.el5xen.img文件。并会有提示必须修改启动列表文件。\n\n5.更改启动列表文件:vi /etc/grub.conf \n将启动选项指向mpp-2.6.18-8.el5xen.img。\n为避免因错误无法启动,可以在下面新增一个title:\n\n更改前:\n\ndefault=0\ntimeout=5\nsplashimage=(hd0,0)/grub/splash.xpm.gz\nhiddenmenu\ntitle Red Hat Enterprise Linux Server (2.6.18-8.el5xen)\n root (hd0,0)\n kernel /xen.gz-2.6.18-8.el5\n module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol05 rhgb quiet\n module /initrd-2.6.18-8.el5xen.img\n更改后:\ndefault=1\ntimeout=5\nsplashimage=(hd0,0)/grub/splash.xpm.gz\nhiddenmenu\ntitle Red Hat Enterprise Linux Server (2.6.18-8.el5xen)\n root (hd0,0)\n kernel /xen.gz-2.6.18-8.el5\n module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol05 rhgb quiet\n module /initrd-2.6.18-8.el5xen.img\ntitle Red Hat Enterprise Linux Server (2.6.18-8.el5xen)\n root (hd0,0)\n kernel /xen.gz-2.6.18-8.el5\n module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol05 rhgb qu\niet\n module /mpp-2.6.18-8.el5xen.img\n\n按照系统及软件提示,新增一条列表应为:initrd /mpp-2.6.18-8.el5xen.img。实践证明改为module /mpp-2.6.18-8.el5xen.img才能正常启动。\n\n6.完成之后shutdown -r now\n成功启动之后,查看pvs等,不再有路径报错。\n\n7.卸载:\n[root@KABUSR2 linuxrdac-09.02.C5.13]# make uninstall\n[root@KABUSR2 linuxrdac-09.02.C5.13]# make clean |
|