admin
不忘初心,方得始终
级别: 管理员
只看楼主 | | | 0楼 发表于:2015-08-06 17:35

iscsi 配置FC多路径

配置FC存储多路径
1.ntpdate 10.55.4.254                                                        //从存储网关设置时钟同步
2.vi /etc/yum.repos.d/rhel-source.repo 添加内容:       //配置YUM源
[163]
name=163
baseurl=http://mirrors.163.com/centos/6/os/x86_64/
enabled=1
gpgcheck=0
3.yum install iscsi* -y                                                          //安装iscsi的软件包
4.rpm -qa|grep kpartx
rpm -e --nodeps kpartx-0.4.9-56.el6.x86_64                 //卸载掉kpartx的旧版本软件包
5.yum install kpartx -y                                                         //安装kpartx的新版本软件包
6.yum install device-mapper-multipath -y                       //安装多路径设备映射的软件包
7.cp -rf /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf /etc/  
8.vim /etc/multipath.conf:
devices {
               device {
                                   vendor COMPELNT
                                   product "Compellent Vol"
                                   path_checker tur
                                   no_path_retry queue
                          }
}
9.service multipathd restart
chkconfig --level 345 multipathd on
chkconfig --list | grep multipathd
10.multipath -ll
存储FC多路径