Linux 系统多路径软件用户手册
vii
浪潮专有和保密信息
版权所有 © 浪潮电子信息产业股份有限公司
目 录
使用声明 ........................................................................................................................................ iii
安全声明 ......................................................................................................................................... iv
安全细则 .......................................................................................................................................... v
1 概述 .............................................................................................................................................. 9
2 安装 multipath-tools ................................................................................................................. 11
2.1 安装方法................................................................................................................................. 11
2.2 加载模块与服务 ..................................................................................................................... 14
2.3 检查 multipath-tools 配置文件 .............................................................................................. 15
2.4 设置 multipathd 服务开机启动 ............................................................................................. 16
2.5 安装 inpath 管理工具 ............................................................................................................. 17
3 配置管理 .................................................................................................................................... 18
3.1 逻辑盘的创建与映射 ............................................................................................................. 18
3.1.1 SAN switch 组网 ................................................................................................................ 18
3.1.2 iSCSI 组网 .......................................................................................................................... 19
3.2 扫描映射的逻辑盘 ................................................................................................................. 20
3.2.1 SAN switch 组网 ................................................................................................................ 20
3.2.2 iSCSI 组网 .......................................................................................................................... 20
3.3 配置 multipath-tools 多路径工具 .......................................................................................... 21
3.3.1 配置文件介绍 ..................................................................................................................... 21
3.3.2 配置文件修改 ..................................................................................................................... 21
3.4 配置 FC 目标端口设备丢失超时参数 .................................................................................. 23
3.5 配置访问 SCSI block device 的超时时间 ............................................................................. 24
3.6 Inpath 管理工具使用 ............................................................................................................. 25
3.6.1 inpath aggregation ............................................................................................................... 25
3.6.2 inpath config ....................................................................................................................... 25
3.6.3 inpath delalias ..................................................................................................................... 26
3.6.4 inpath delete ........................................................................................................................ 26
3.6.5 inpath lsalias ........................................................................................................................ 27
3.6.6 inpath lspathpolicy .............................................................................................................. 27
3.6.7 inpath query......................................................................................................................... 28
3.6.8 inpath restart ........................................................................................................................ 29
3.6.9 inpath scan........................................................................................................................... 30
3.6.10 inpath setalias ...................................................................................................................... 30
3.6.11 inpath setpathpolicy ............................................................................................................ 31
3.6.12 inpath setstate ...................................................................................................................... 32
3.6.13 inpath start ........................................................................................................................... 32