这里写自定义目录标题
Linux 实现多路Multipath 多路径存储
环境说明:
应用服务端:proxy
ip规划:192.168.4.5/24 eth0
192.168.2.5/24 eth1
存储节点:client
ip规划: 192.168.4.10/24 eth0
192.168.2.5/24 eth1
multipath 概述 :
当服务器到某一存储的设备有多条路径时u,每个路径就会识别为独立的设备
配置multipath就可以将服务器的节点和存储的阵列之间的多个I/O路径配置为单一设备,通过整合多个I/O路径,生成这些集合路径组成新的设备
以此达到冗余和负载均衡
前期配置
应用服务端:
[root@proxy ~]# rpm -q targetcli
targetcli-2.1.fb46-1.el7.noarch
创建ISCS存储:
/> ls
[Storage Objects: 1]
| | o- store ............... [/dev/vdb (20.0GiB) write-thru activated] [Targets: 1]
| o- iqn.2019-03.cn.proxy:test ................................... [TPGs: 1]
| o- tpg1 .............................................. [no-gen-acls, no-auth]
| o- acls ....................