跳转到主内容

如何使用多路径 I/O ( MPIO )验证 Linux 光纤通道配置

Views:
130
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
san
Last Updated:

适用场景

  • SAN
  • Data ONTAP 8 7-模式
  • FlexPod
  • Data ONTAP 7 及更早版本

问题描述

系统日志和 EMS 消息:

[hostname: scsitarget.partnerPath.misconfigured:error]: FCP Partner Path Misconfigured.
[hostname: scsitarget.partnerPath.misconfigured:error]: FCP Partner Path Misconfigured - Host I/O access through a non-primary and non-optimal path was detected.

请参见文章《 FCP 合作伙伴路径配置错误消息的含义是什么?

Terminology 

  • 合作伙伴路径:使用伙伴节点访问由本地节点托管的 LUN 的任何路径。  LUN 位于主动 - 主动群集中。
  • 非主路径:与伙伴路径、代理路径和辅助路径同义。  所有这些都是非主路径的示例。
  • FCP 目标端口:向主机提供 FCP 服务的光纤通道接口。
  • Virtual Target Interconnect (虚拟目标互连)—启动程序组列表中显示的虚拟 FCP 目标接口。  Vtic 用于指示启动程序有权访问辅助路径。

问题说明

SAN 通常提供多条路径以允许主机访问 LUN 。要最大化 SAN 的冗余性、主机操作系统必须使用多路径 I/O ( MPIO )软件。MPIO 软件会监控所有可用路径并确定操作系统应使用的路径。  基于 2.6 系列内核的 Linux 发行套件使用名为 dm-multipath 的 Device Mapper 插件。dm - 多路径组路径具有相同优先级、允许在路径故障转移之外对 I/O 进行负载平衡。DM-Multipath 使用标注程序(例如 mpath_prio_netapp 或 mpath_prio_ontap )来区分主路径和次路径。系统必须使用设备映射器设备(例如 /dev/mapper/mpath0 ),以便 DM-multipath 路由到属于主路径的 SCSI 设备。  以下过程概述了如何观察 MPIO 配置。FCP Linux 主机实用程序中介绍了设置 MPIO 配置的步骤。

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.