Suchen

Kapitel 1. Device Mapper Multipathing

download PDF
Device Mapper Multipathing (DM-Multipath) ermöglicht Ihnen die Konfiguration mehrerer I/O-Pfade zwischen Server-Knoten und Speicher-Arrays, zusammengefasst in einem einzelnen Gerät. Diese I/O-Pfade sind physikalische SAN-Verbindungen, die separate Kabel, Switches und Kontroller umfassen kann. Multipathing fasst die I/O-Pfade zusammen und erstellt ein neues Gerät, das aus den gesammelten Pfaden besteht.

1.1. Überblick über DM-Multipath

DM-Multipath kann dazu verwendet werden, um folgendes zur Verfügung zu stellen:
  • Redundanz
    DM-Multipath kann Failover in einer aktiv/passiv-Konfiguration zur Verfügung stellen. In einer aktiv/passiv-Konfiguration wird nur jeweils die Hälfte der Pfade für I/O verwendet. Falls irgendein Element eines I/O-Pfads (das Kabel, der Switch, oder der Kontroller) ausfällt, wechselt DM-Multipath zu einem alternativen Pfad.
  • Verbesserte Leistung
    DM-Multipath kann in aktiv/aktiv-Modus konfiguriert werden, in dem I/O nach Round-Robin-Art über die Pfade verteilt wird. In einigen Konfigurationen kann DM-Multipath die Auslastung auf den I/O-Pfaden ermitteln und diese dynamisch neu ausgleichen.
Abbildung 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

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

In dieser Konfiguration führt ein I/O-Pfad durch hba1, SAN1 und Kontroller1 und ein zweiter I/O-Pfad durch hba2, SAN2 und Kontroller2. Es existieren viele mögliche Ausfallpunkte in dieser Konfiguration:
  • HBA-Ausfall
  • FC Kabelausfall
  • SAN Switch-Ausfall
  • Array-Kontroller Port-Ausfall
Ist DM-Multipath konfiguriert, führt ein Ausfall jedes dieser Punkte dazu, dass DM-Multipath zu einem alternativen I/O-Pfad wechselt.
Abbildung 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

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

In the example shown in Abbildung 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 Abbildung 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.
Abbildung 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 an controller1
  • hba1 an controller2
  • hba2 an controller1
  • hba2 an controller2
In dieser Konfiguration kann sich I/O auf diese vier Pfade verteilen.
Active/Active Multipath Configuration with One RAID Device

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

Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.