linux rdac管理,How To Install rdac For Linux

安装多路访问软件

两台台服务器和磁盘阵列的四个光纤通道都连接在光纤交换机上,这样会使操作系统对每一个映射的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博客 ” ,链接:http://blog.itpub.net/611609/viewspace-614703/,如需转载,请注明出处,否则将追究法律责任。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值