linux多路径配置HP - P2000
更新时间:2023-12-10 05:21:01 阅读量: 教育文库 文档下载
- Linux多路径配置文件推荐度:
- 相关推荐
HP P2000+RHEL 5.5多路径配置
由于最新的HP多路径驱动HPDMmultipath-4.4.1最高只支持到RHEL5.5,所以5.6及以上版本的系统无法直接安装该驱动。肯定有人想到了vi一下multipath.conf来解决问题,实际上未必能行得通,本人就经历过一次失败。
因为HPDMmultipath-4.4.1在安装的时候会检察操作系统的版本,高于5.5的话肯定要报错,安装失败。解决的办法很简单,修改文件。
将安装包用tar命令解开后,直接编辑install文件,修改sub check_OS_version() {字段里的内容,可以照抄添加一行
\”,也可以直接修改。
保存并退出后,直接就可以执行安装了
配置好LUN之后在主机上执行一下操作: multipath -ll fdisk -l
1.执行以下操作
chkconfig --add multipathd chkconfigmultipathd on modprobe dm-multipath modprobe dm-round-robin service multipathd start multipath –v2
2.安装HP多路径软件;
tar -xzvf HPDMmultipath-4.4.1.tar.gz
cd /tmp/HPDMmultipath-4.4.1
[root@localhost HPDMmultipath-4.4.1]# ./INSTALL
** HPDMmultipath-4.4.1 kit Installation. Date : Tue Feb 14 15:58:58 CST 2012 **
Checking for the Operating System version. Please wait...
HP Device Mapper Multipath v4.4.1 kit - Installation Menu
1. Install HPDM Multipath Utilities 2. Uninstall HPDM Multipath Utilities 3. Exit
Enter choice [1/2/3] : 1
Note: This will install HPDMmultipath-4.4.1 tools for HP StorageWorks disk arrays.
Warning: If you are retaining the existing /etc/multipath.conf file, you will have to manually edit the file with HP recommended parameters. Please refer user documentation for more details.
Would you like to overwrite the existing /etc/multipath.conf file with the new multipath configuration file ? (y/n) : y
Saving /etc/multipath.conf file to /etc/multipath.conf.savefile
Copying new multipath configuration file multipath.conf to /etc directory
Configuring multipath services to start at boot time....OK
Installation completed successfully!
3. vi /etc/multipath.conf
### Donot edit the first two lines of this file or remove this file ### HP Device Mapper Multipath Enablement Kit v4.4.1
### The Device Mapper Multipath Template configuration file for RHEL5U4 ### or later releases to be used with HP Storageworks Arrays.
### Use this configuration file as your /etc/multipath.conf file. ### If you already have a valid working configuration file, refer here ### for the recommended configuration for HP arrays.
### For a list of configuration options with descriptions, please refer ### to /usr/share/doc/
# The defaults section
defaults { udev_dir/dev polling_interval10 selector\path_grouping_policyfailover
getuid_callout\prio_callout\path_checkertur rr_min_io100
rr_weight uniform failbackimmediate no_path_retry12 user_friendly_namesyes }
# The blacklist section - use this to blacklist a multipath device based on # it's wwid ( using wwid ) or device names ( using devnode ) or # vendor and product id ( using device block).
blacklist {
#wwid26353900f02796769
devnode\devnode \#devnode\#device { #vendor \#product\#} }
# The blacklist_exceptions section - to list device names to be treated # as multipath candidates even if they are on the blacklist.
# Note: blacklist exceptions are only valid in the same class.
# It is not possible to blacklist devices using the devnode keyword # and to exclude some devices of them using the wwid keyword.
#blacklist_exceptions { #wwid2345234245647657 #devnode\#device { #vendor\#product\#} #}
# The multipaths section - uncomment this section to define a per multipath # device settings.
multipaths {
# uncomment the multipath block to modify the settings of a multipath device # based on its wwid
multipath {
wwid 3600c0ff000134c44f69f3a4f01000000 alias mpath1
path_grouping_policy group_by_prio path_selector \ failback immediate rr_weight uniform no_path_retry 10 rr_min_io 100 }
multipath {
wwid 3600c0ff000134c44bc9f3a4f01000000 alias mpath0
path_grouping_policy group_by_prio path_selector \ failback immediate rr_weight uniform no_path_retry 10 rr_min_io 100 }
}
# The devices section - used to define per storage array model settings
devices {
# If you are already using a valid configuration file and do not have a
# device subsection for HP arrays, please add the appropriate device subsection # for the respective arrays from the entries below.
# If you already have a device subsection for HP arrays which has different # parameters from the entries below, modify it appropriately.
# For EVA A/A arrays
#device {
#vendor\
#product \#path_grouping_policygroup_by_prio
# getuid_callout\# path_checkertur
# path_selector\
# prio_callout\# rr_weightuniform # failbackimmediate #hardware_handler\# no_path_retry18 #rr_min_io100 #}
# For HP P2000 family device {
vendor \
product \ path_grouping_policy group_by_prio
getuid_callout \ path_checker tur
path_selector \
prio_callout \ rr_weight uniform failback immediate hardware_handler \
正在阅读:
linux多路径配置HP - P200012-10
电大国际贸易原理期末考试答案(必备)04-29
工程安全生产总结报告多篇精选范文08-03
基于在线课程的混合式教学设计与实践探索01-25
2008年化工原理实验复习06-18
栲胶法和NHD法脱硫的应用比较05-30
ASP NET程序设计课后习题整理04-04
怎样装修让房子的隔音效果好05-29
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- 路径
- 配置
- linux
- P2000
- RF射频问题处理汇总
- 四、中考英语代词练习题(附答案)
- 专题 三视图及组合体的计算问题
- 关于运用教学模式的困惑与思考
- 计量经济学:一元线性回归模型和多元线性回顾模型习题以及解析
- 本科毕业设计开题分析方案模板 - 图文
- 母亲写给女儿的婚礼致辞与母亲在女儿婚宴上感人至深的讲话汇编
- 高考字音针对检测练习(58题) 1、下列词语中加点的字的读音,全部
- 水利工程施工练习题
- 2017-2018学年高中地理 区域地理 2地图三要素与等高线地形图的判读课时作业
- 离散习题(附答案)(7)
- 2017-2023年中国柱塞泵行业市场发展现状研究及投资战略咨询报告(目录)
- 护士行为规范
- 羊流镇初级中学2013年“学雷锋,树新风”活动实施方案
- 国际结算题库及其答案
- 二十四史名篇导读
- 王海桐《给我鼓励,我才自信》
- 2016年义乌市外贸运行分析
- 大学本科生学分制相关问题调查问卷
- 关于广数980T系列机床操作与使用方法