搜索

1.2. Overview of DM Multipath

download PDF
DM Multipath can be used to provide:
  • 冗余
    DM Multipath can provide failover in an active/passive configuration. In an active/passive configuration, only half the paths are used at any time for I/O. If any element of an I/O path (the cable, switch, or controller) fails, DM Multipath switches to an alternate path.
  • 提高的性能
    DM Multipath can be configured in active/active mode, where I/O is spread over the paths in a round-robin fashion. In some configurations, DM Multipath can detect loading on the I/O paths and dynamically rebalance the load.
图 1.1 “Active/Passive Multipath Configuration with One RAID Device” shows an active/passive configuration with two I/O paths from the server to a RAID device. There are 2 HBAs on the server, 2 SAN switches, and 2 RAID controllers.
Active/Passive Multipath Configuration with One RAID Device

图 1.1. Active/Passive Multipath Configuration with One RAID Device

在这个配置中,一个 I/O 路径通过 hba1、SAN1 以及控制器 1。第二个 I/O 路径通过 hba2、SAN2 以及控制器 2。在这个配置中有很多地方可能导致故障:
  • HBA 故障
  • FC 电缆故障
  • SAN 交换机故障
  • 阵列控制器端口故障
With DM Multipath configured, a failure at any of these points will cause DM Multipath to switch to the alternate I/O path.
图 1.2 “Active/Passive Multipath Configuration with Two RAID Devices” shows a more complex active/passive configuration with 2 HBAs on the server, 2 SAN switches, and 2 RAID devices with 2 RAID controllers each.
Active/Passive Multipath Configuration with Two RAID Devices

图 1.2. Active/Passive Multipath Configuration with Two RAID Devices

In the example shown in 图 1.2 “Active/Passive Multipath Configuration with Two RAID Devices”, there are two I/O paths to each RAID device (just as there are in the example shown in 图 1.1 “Active/Passive Multipath Configuration with One RAID Device”). With DM Multipath configured, a failure at any of the points of the I/O path to either of the RAID devices will cause DM Multipath to switch to the alternate I/O path for that device.
图 1.3 “Active/Active Multipath Configuration with One RAID Device” shows an active/active configuration with 2 HBAs on the server, 1 SAN switch, and 2 RAID controllers. There are four I/O paths from the server to a storage device:
  • hba1 到控制器 1
  • hba1 到控制器 2
  • hba2 到控制器 1
  • hba2 到控制器 2
在这个配置中,可将 I/O 分布到那四条路径中。
Active/Active Multipath Configuration with One RAID Device

图 1.3. Active/Active Multipath Configuration with One RAID Device

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.