ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How To Install rdac For Linux

How To Install rdac For Linux

原创 Linux操作系统 作者:lhl1212 时间:2009-09-15 16:53:01 0 删除 编辑
安装多路访问软件
两台台服务器和磁盘阵列的四个光纤通道都连接在光纤交换机上,这样会使操作系统对每一个映射的LUN都发现四遍,这不是我们所希望的。通过使用多路访问软件维护LUN的映射,使每个LUN映射只对应一个设备,且使应用与数据的访问链路冗余并对数据访问流量进行负载均衡优化。
从IBM下载最新的RDAC软件,这里我们使用rdac_LINUX_09.00.A5.09.tar.gz
以root身份执行以下操作:
设置Linux支持多个LUN,编辑/etc/modules.conf
例如:
新增以下一行
options scsi_mod max_scsi_luns=255
安装RDAC软件
#tar zxvf rdac_LINUX_09.00.A5.09.tar.gz
#cd linuxrdac
#make install
我们的引导管理器使用grub,所以编辑/boot/grub/menu.lst,修改包含initrd的行,使其使用刚才软件安装产生的内核镜像文件
例如:
注释以下一行
initrd /initrd-2.4.21-27.EL.img
新增以下一行
initrd /mpp-2.4.21-27.EL.img
重新启动系统,我们就获得了对SAN多路访问的能力。
[root@newsdb2 grub]# cat menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/cciss/c0d0p8
# initrd /initrd-version.img
#boot=/dev/cciss/c0d0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Linux (2.6.9-78.ELsmp) with MPP support
root (hd0,0)
kernel /vmlinuz-2.6.9-78.ELsmp ro root=LABEL=/ rhgb quiet
initrd /mpp-2.6.9-78.ELsmp.img
title Red Hat Enterprise Linux AS (2.6.9-78.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-78.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-78.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-78.EL.img

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/611609/viewspace-614703/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-12-08

  • 博文量
    252
  • 访问量
    550933