Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

1장. DM-Multipath (Device Mapper Multipathing)

DM-Multipath (Device Mapper Multipathing)로 서버 노드와 단일 장치로의 저장 장치 어레이 사이에서 다중 I/O 경로를 설정할 수 있습니다. 이러한 I/O 경로는 분리된 케이블, 스위치 , 제어기를 포함시킬 수 있는 물리적 SAN 연결입니다. 멀티패싱은 결합된 경로로 구성된 새로운 장치를 생성하여 I/O 경로를 모읍니다.

1.1. DM-Multipath 개요

DM-Multipath는 다음을 제공하기 위해 사용됩니다:
  • 이중화
    DM-Multipath는 활성/비활성 설정에서 장애 조치를 제공할 수 있습니다. 활성/비활성 설정에서, 경로 절반만이 아무때에나 I/O 용으로 사용됩니다. I/O 경로 요소 (케이블, 스위치, 제어기)에 장애가 발생할 경우 DM-Multipath는 다른 경로로 전환합니다.
  • 성능 향상
    DM-Multipath는 I/O가 라운드 로빈 (round-robin) 상태에 있는 경로를 통해 지나가는 위치에서 활성/비활성 모드로 설정될 수 있습니다. 일부 설정에서 DM-Multipath는 I/O 경로에서의 부하량을 감지하여 이를 재조정할 수 있습니다.
그림 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

이 설정에서, hba1, SAN1, 제어기 1을 통해 지나가는 첫 번째 I/O 경로와 hba2, SAN2, 제어기 2를 통해 지나가는 두 번째 I/O 경로가 있습니다. 이러한 설정에는 장애가 발생할 수 있는 지점이 여러개 있습니다.
  • HBA 장애
  • FC 케이블 장애
  • SAN 스위치 장애
  • 어레이 제어기 포트 장애
DM-Multipath 설정으로, 이러한 지점에서의 장애는 DM-Multipath가 다른 I/O 경로로 전환하게 합니다.
그림 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