Dell EMC PowerStore 将外部存储导入 PowerStore 指南 版本 2.x 6 月 2021 年 Rev.
注意、小心和警告 注: “注意”表示帮助您更好地使用该产品的重要信息。 小心: “小心”表示可能会损坏硬件或导致数据丢失,并告诉您如何避免此类问题。 警告: “警告”表示可能会导致财产损失、人身伤害甚至死亡。 © 2020 年 - 2021 年 Dell Inc. 或其子公司。保留所有权利。Dell、EMC 和其他商标是 Dell Inc.
目录 其他资源.........................................................................................................................................6 章 1: 简介........................................................................................................................................ 7 将外部存储导入 PowerStore 概述..................................................................................................................................... 7 外部存储到 PowerStore 的无中断导入概述......................................
无代理导入工作流..............................................................................................................................................................28 无代理导入的切换工作流................................................................................................................................................. 30 无代理导入的取消工作流................................................................................................................................................. 30 章 5: 配置和管理导入...........
日志信息.............................................................................................................................................................................. 56 Microhttpd 状态.................................................................................................................................................................. 57 重新启动 Web 服务器...........................................................................................................................................
序言 为了不断改进,我们将定期发布软件和硬件产品的修订版。本文档中介绍的一些功能可能不被当前使用的软件或硬件的所有版本支 持。本产品发行说明提供了有关产品功能的新信息。如果某产品不能正常运行或其功能与本文档的描述不符,请与您的服务提供商 联系。 从何处获得帮助 可以按如下方式获取支持、产品和许可信息: ● 产品信息 有关产品和功能的文档或发行说明,请访问 PowerStore 文档页面,地址为 https://www.dell.com/powerstoredocs。 ● 故障排除 有关产品、软件更新、许可和服务的信息,请转到 https://www.dell.com/support,并找到相应的产品支持页面。 ● 技术支持 如需技术支持,如有服务请求,请转至 https://www.dell.
1 简介 本文档介绍如何将数据从外部存储导入到 PowerStore。仅包括 SAN/数据块导入。不包括 NAS/文件导入。 本章包含以下信息: 主题: • • 将外部存储导入 PowerStore 概述 导入安全性 将外部存储导入 PowerStore 概述 PowerStore 提供传统存储设备和板载计算能力,以便运行嵌入式工作负载。PowerStore 使用户能够快速响应不断变化的业务要求, 并快速扩展以满足不断变化的需求,而无需过多的业务规划和复杂性。 将外部存储导入到 PowerStore 是一个迁移解决方案,该解决方案将数据从以下任意 Dell EMC 存储平台导入到 PowerStore 群集: ● ● ● ● ● Dell EqualLogic 对等存储 (PS) 系列 Dell Compellent Storage Center (SC) 系列 Dell EMC Unity 系列 Dell EMC VNX2 系列 Dell EMC XtremIO X1 和 XtremIO X2(仅限无代理导入) 支持导入以下数据块存储资源: ● LUN 和卷 ● 一致性组和卷组 ● 密集和精简克隆
注: 如果在源系统上运行的操作环境版本与下表中列出的版本不匹配,您可能可以使用无代理导入。有关无代理导入支持的源系 统和所需操作环境的列表,请参阅无代理导入所需的受支持的源系统和操作环境 页面上的 10。 表. 1: 无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 主机操作系统 主机多路径软件 ● Windows Server 2012 R2 或 ● Windows Server 2016 ● Windows 本机 MPIO 和 ● DellEMC-PowerStoreImport-Plugin-forWin-1.0.0.0 主机到存储协议 iSCSI Dell EMC VNX2 (5.33.021.5.256) FC 不适用 通过 EQL HIT 套件 5.3.0 版提 Dell EqualLogic PS (10.0.3) 供的 Windows EqualLogic MPIO ● ESXi 6.5 Update 2 或 ● ESXi 6.7 Update 3 通过 Dell EqualLogic 多路径扩 展模块 (MEM) 套件(版本 1.
表. 1: 无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 (续) 主机操作系统 主机到存储协议 主机多路径软件 ● DellEMC-PowerStoreImport-Plugin-for-Linux 套 件(版本 1.0) iSCSI ● Dell EMC VNX2 (5.33.021.5.256) FC ● Dell EMC VNX2 (5.33.021.5.
外部存储到 PowerStore 的无代理导入概述 与无中断导入不同,外部存储到 PowerStore 群集的无代理导入与主机上的操作系统和多路径解决方案以及主机和源系统之间的前端 连接无关。无代理导入不需要在主机上安装主机插件程序软件,但是,您需要将主机应用程序重新配置为使用新的 PowerStore 卷。 在迁移之前,主机应用程序只需停机一次。停机时只将主机应用程序、文件系统和数据存储区重命名或重新配置为新的 PowerStore 卷。 当源系统上运行的操作环境与 无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 页面上的 8 中列出的相 应项不匹配时,使用无代理导入选项将外部存储迁移到 PowerStore 群集。 注: 当源系统上运行的操作环境与 无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 页面上的 8 中 列出的相应项匹配时,您可以选择使用无代理导入选项,而不是无中断选项。但是,不得在关联的主机上安装主机插件程序软 件。 下表列出了无代理导入所需的源系统和操作环境的受支持类型。 表.
注: 建议在启用目标卷过程中删除源卷的主机映射。如果未选择源卷的主机映射以由协调器删除,则应手动删除映射。此 外,在导入过程达到 Ready to Start Copy 状态之前的任何时间点,只能从 PowerStore 群集处理一个无代理导入。第 二个无代理导入将仅在上一个导入达到 Copy In Progress 状态后才开始执行。 4.
2 导入要求和限制 本章包含以下信息: 主题: • • • • • • • 导入数据的一般要求 Dell EqualLogic PS 系列特定要求 Dell Compellent SC 系列特定要求 Dell EMC Unity 特定要求 Dell EMC VNX2 系列特定要求 Dell EMC XtremIO XI 和 X2 特定要求 一般导入限制 导入数据的一般要求 在运行导入之前,PowerStore 需要满足以下要求: ● 必须配置适用 PowerStore 的全局存储 IP 地址。 ● 验证 PowerStore 及其节点运行状况是否正常。 以下要求适用于所有源平台: ● (对于无中断导入)您必须对源及其关联主机具有相应的权限,才能执行到 PowerStore 群集的导入。 ○ 对于基于 Windows 的系统,需要管理员权限来执行到 PowerStore 群集的导入。 ○ 对于基于 Linux 的系统和基于 VMware 的系统,需要具备 root 权限才能执行到 PowerStore 群集的导入。 ● (对于无中断导入)源系统与每个关联主机系统之间具有 Fibre Channel (FC
Dell EqualLogic PS 系列特定要求 (对于无中断导入)有关适用于 Dell EqualLogic 对等存储 (PS) 系列系统的主机操作系统、主机多路径软件和主机协议的受支持组 合,请参阅无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 页面上的 8。 注: (对于无中断导入)如果未运行 Dell EqualLogic 主机集成工具套件,则可以使用 PowerStore 群集 ImportKIT,它使用本机 MPIO。 (对于无代理导入)有关受支持的源系统类型和无代理导入所需的操作环境版本,请参阅无代理导入所需的受支持的源系统和操作 环境 页面上的 10。 注: 参与导入过程的所有主机都应具有标准 IQN 格式的启动器名称。虽然 PS 源系统支持标准 IQN 格式的易于识别的名称,但 PowerStore 仅支持有效的标准 IQN 格式。当使用易于识别的 IQN 名称时,导入将失败。在这种情况下,在尝试将外部存储导入 到 PowerStore 之前,必须将所有关联主机上的启动器名称更改为有效的完整 IQN 名称。 Dell Compellent SC 系列特定要求 (对于
● (对于无中断导入)最多支持 64 个主机。必须在主机上安装适用于导入的主机插件程序。 ● (对于无代理导入)有关支持的最大主机数量,请参阅 PowerStore 简单支持矩阵。 ● 最多支持 8 个并行导入会话,但均按顺序启动。也就是说,导入将逐个开始,一个进入“Copy-In-Progress”状态后,便开始处 理下一个导入。 ● 在一个一致性组 (CG) 中最多支持 16 个卷。 注: 如果一个 CG 有 16 个成员,最多并行导入 8 个成员,但均按顺序启动。也就是说,导入将逐个开始,一个进入“CopyIn-Progress”状态后,便开始处理下一个导入。任一导入进入“Ready-For-Cutover”状态后,便会并行导入下一个成员。当 所有成员都达到“Ready-For-Cutover”状态后,CG 将为“Ready-For-Cutover”状态。 ● 如果 CG 具有映射到运行不同类型操作系统的主机的卷,则无法导入。例如,如果 CG 具有 Linux 主机和 Windows 主机中的卷, 则不能导入。 ● 导入卷或 CG 时,不支持 PowerStore 上的 NVMe 主机映射。 ● “Re
● 对于 Dell EMC Unity 和 VNX2 系统,可以导入具有单一 CHAP 的源卷,不能导入具有相互 CHAP 的源卷。 ● 对于 Dell EqualLogic 对等存储 (PS) 系列,有三种情况: ○ 禁用发现 CHAP 后,可以导入具有单一和相互 CHAP 的源卷。 ○ 如果启用了发现 CHAP,则可以导入具有单个 CHAP 的源卷。 ○ 如果启用了发现 CHAP,则无法导入具有相互 CHAP 的源卷。 注: 如果在启用 CHAP 的模式下添加了 Dell EMC Unity 或 VNX2 系统,并且已添加 Dell EqualLogic PS 系统,请确保为 Dell EqualLogic PS 系统启用发现 CHAP。 ● 对于 Dell Compellent Storage Center (SC) 系列,可以导入具有单一和相互 CHAP 的源卷。 ● 每个主机都必须使用唯一的 CHAP 凭据来添加。 源系统限制 每个源系统都有自己的限制,例如,支持的最大卷数和允许的最大 iSCSI 会话数。将外部存储导入 PowerStore 必须在源系统的这些 限制和 PowerStore 群集
基于 Linux 的主机 在涉及基于 Linux 的主机的无中断导入期间,以下限制适用: ● 不支持更改要导入的卷的用户友好名称。 注: 导入后,源卷上的任何设备策略或用户友好名称将不会应用于目标卷。 ● ● ● ● ● ● ● ● ● ● ● mpathpersist 命令无法获得导入后映射到群集的卷的 PR 信息。使用 sg_persist。 无法从存储组中删除 LUN。 不支持使用 EQL MPIO 的基于 UUID 的装载点。 仅支持线性卷 LVM,不支持条带化 LVM 等其他 LVM 类型。 主机名称的最大长度必须在 56 个字符内。 在导入卷后或导入过程中,以及在重新启动后,mount 命令将显示目标映射器名称,而不是源映射器名称。df -h 输出中将列 出相同的目标映射器名称。 在导入卷之前,/etc/fstab 中的装载点条目应具有 "nofail" 选项,以避免主机重新启动时启动失败。例如:/dev/mapper/ 364842a249255967294824591aa6e1dac /mnt/364842a249255967294824591aa6e1dac ext3 acl,user_x
3 主机插件程序安装(仅限无中断导入) 本章包含以下信息: 主题: • • • • 在基于 Windows 的主机上安装用于导入的主机插件程序 在基于 Linux 的主机上安装用于导入的主机插件程序 在基于 ESXi 的主机上安装 Dell EqualLogic MEM 套件 卸载用于导入的主机插件程序 在基于 Windows 的主机上安装用于导入的主机插件程序 有关适用于基于 Windows 的主机的受支持源系统和操作环境的列表,请参阅无中断导入支持的主机操作系统、主机多路径软件、主 机协议和源系统的组合 页面上的 8。除了支持单个主机外,还支持群集配置。此外,Windows 可以使用两种用于导入的主机插件程 序的变体: ● Dell EqualLogic 主机集成工具套件 ● ImportKIT 注: MSI 安装程序是一款 Windows 组件,在 setup64.exe 运行时产生,可在 SYSTEM 帐户(msi 服务器)的工作范围内运行。 此进程又会产生多个子进程,这些子进程也叫做 msiexec.
● 主机上正在运行受支持的操作系统。请参阅无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 页面上 的 8。 ● 主机上未安装其他多路径驱动程序。 ● 确保主机上已启用 MPIO。 注: 不支持导入期间在主机上配置 MPIO。 确保您知道用于导入的管理 IP 地址和关联端口号。需要提供此网络配置信息,以便将主机添加到 PowerStore 群集进行导入。 关于此任务 要安装主机插件程序,请执行以下步骤: 注: 默认情况下,安装以交互方式运行。要在后台运行安装,请接受所有的默认设置,并接受 Dell EULA,然后在将适用的主机插 件程序包下载到主机后,输入以下任一命令。 ● 对于 ImportKIT,请输入: Setup64.exe /quiet /v/qn ● 对于具有导入功能的 EQL HIT 套件,请输入: Setup64.exe /v"MIGSELECTION=1" /s /v/qn V"/q ADDLOCAL=ALL /L C:\setup.
原处。为避免多次重新启动,可以计划安装 ImportKit 或 Dell EqualLogic HIT 套件,并将其与任何其他操作系统重新启动任务相结 合。 步骤 1. 从 Dell EqualLogic 支持站点 https://eqlsupport.dell.com 将 Dell EQL HIT 套件的主机插件程序软件包更新下载到主机。 2. 以管理员身份运行 Setup64.exe 主机插件程序。 注: 此安装会升级现有的 HIT/ME 组件。 3. 以管理员身份再次运行主机插件程序的安装向导。 在接受戴尔 EULA 后显示的 Program Maintenance 页面上选择 Modify 选项。 注: 确保选中 Installation Type Selection 页面上的 Host Integration Tools installation (with import capability)选项。如 果使用导入功能安装了 Dell EQL HIT 套件,则不支持在已安装的 Dell EQL HIT 套件版本中添加或删除其他组件。 4. 重新引导主机。 需要重新启动主机才能完成安装。 使用 .
步骤 1. 从 Dell EMC 下载站点将主机插件程序包 DellEMC-PowerStore-Import-Plugin-for-Linux-.iso,以及 GNU Privacy Guard (GPG) 密钥的关联文件下载到 /temp 等临时目录,网址为:https://www.dell.com/support 2. 复制已下载的 GPG 密钥文件并安装。 例如, #rpm --import 注: 安装主机插件程序需要 GPG 密钥,且必须先将该密钥安装在主机上,然后再尝试安装主机插件程序。 3. 为主机插件程序运行 mount 命令。 例如, #mount DellEMC-PowerStore-Import-Plugin-for-Linux-.iso /mnt 4. 更改为 /mnt 目录。 例如, #cd /mnt 5. 查看 minstall 的 /mnt 目录中的项目。 例如, #ls EULA LICENSES minstall packages README support 6.
关于此任务 注: Linux 的 EQL HIT 套件主机插件程序升级仅与 无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 页面上的 8 中列出的 Dell EqualLogic PS 版本中的外部存储的导入相关。 要升级 EQL HIT 套件主机插件程序,请执行以下操作: 步骤 1. 从 Dell EqualLogic 支持站点 https://eqlsupport.dell.com 下载主机插件程序包 equallogic-host-tools-.iso 到临时目 录,如 /temp。 2. 为主机插件程序运行 mount 命令。 例如, #mount equallogic-host-tools-.iso /mnt 3. 更改为 /mnt 目录。 例如, #cd /mnt 4. 查看 ./mnt 目录中带安装的项目。 例如, #ls EULA install LICENSES packages README support welcome-to-HIT.pdf 5. 安装主机插件程序。 #.
使用 vSphere CLI 在基于 ESXi 的主机上安装 Dell EqualLogic MEM 套件 前提条件 验证是否已安装并运行支持的 VMware ESXi 软件。请参阅无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的 组合 页面上的 8。 关于此任务 注: 为避免应用程序中断,请在安装主机插件程序之前将 ESXi 主机移出群集。安装主机插件程序并重新启动后,将 ESXi 主机重 新加入群集。应从安装主机中移出虚拟机,然后在安装之后移回原位。此外,为避免多次重新启动,可以计划安装 Dell EqualLogic MEM 套件,并将其与任何其他操作系统重新启动任务相结合。 要安装受支持的 Dell EqualLogic MEM 套件(请参阅无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 页 面上的 8),请执行以下操作: 注: 要仅启用 MEM 功能,请仅执行步骤 1、2 和 6。 步骤 1. 从 Dell EqualLogic 支持站点 https://eqlsupport.dell.
在 VMA 上使用 setup.pl 脚本在基于 ESXi 的主机上安装 Dell EqualLogic MEM 套件 前提条件 验证是否已安装并运行支持的 VMware ESXi 软件。请参阅无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的 组合 页面上的 8。 关于此任务 注: 为避免应用程序中断,请在安装主机插件程序之前将 ESXi 主机移出群集。安装主机插件程序并重新启动后,将 ESXi 主机重 新加入群集。应从安装主机中移出虚拟机,然后在安装之后移回原位。此外,为避免多次重新启动,可以计划安装 Dell EqualLogic MEM 套件,并将其与任何其他操作系统重新启动任务相结合。 要安装受支持的 Dell EqualLogic MEM 套件(请参阅无中断导入支持的主机操作系统、主机多路径软件、主机协议和源系统的组合 页 面上的 8),请执行以下操作: 注: 要仅启用 MEM 功能,在步骤 3 中系统提示导入时,回应 no。 步骤 1. 从 Dell EqualLogic 支持站点 https://eqlsupport.dell.
使用 VUM 在基于 ESXi 的主机上安装 Dell EqualLogic MEM 套件 前提条件 验证主机上是否已安装 VMware vSphere Upgrade Manager (VUM)。有关要安装的受支持的 MEM 套件,请参阅无中断导入支持的主 机操作系统、主机多路径软件、主机协议和源系统的组合 页面上的 8。 关于此任务 要安装受支持的 MEM 套件,请执行以下操作: 步骤 1. 按照 VMware 文档中的说明使用 VUM 方法安装受支持的 MEM 套件。 2. 在安装了 MEM 套件之后,但在重新启动之前,请在安装了 MEM 套件的所有主机上执行以下操作: a. 停止 hostd。 例如: #/etc/init.d/hostd stop Terminating watchdog process with PID 67143 hostd stopped. b. 启动 hostd。 例如: #/etc/init.d/hostd start hostd started. c. 添加导入命令规则。 例如: #esxcli import equalRule add 3.
● 使用 VUM 在基于 ESXi 的主机上安装 Dell EqualLogic MEM 套件 使用 VUM 在基于 ESXi 的主机上安装 Dell EqualLogic MEM 套 件 页面上的 24 3.
4 导入工作流 本章包含以下信息: 主题: • • • • • • 无中断导入工作流 无中断导入的切换工作流 无中断导入的取消工作流 无代理导入工作流 无代理导入的切换工作流 无代理导入的取消工作流 无中断导入工作流 作为导入过程的一环,系统会预先验证源卷或一致性组是否已准备好导入。当无中断升级或网络重新配置正在进行时,不允许导入 会话。 注: 只有状态为 Ready for Import、System cannot determine cluster type 或 All hosts have not been added 的源卷和一致 性组可导入。 以下步骤显示 PowerStore Manager 中的手动导入工作流: 1.
● ● ● ● ● ● ● ● ● ● 注: 一旦选择导入 CG 的第一个卷,CG 状态将变为“In-Progress”。CG 将保持该状态,直至达到“Ready-For-Cutover”状 态。 Ready-For-Cutover 状态 — 取消和切换操作 Cleanup-Required 状态 — 清理操作 Cleanup-In-Progress 状态 — 没有可用的手动操作 Cancel-In-Progress 状态 — 没有可用的手动操作 Cancel-failed — 取消操作 Cutover-In-Progress 状态 — 没有可用的手动操作 Import-Cutover-Incomplete 状态 — 取消和切换操作 Import-Completed-With-Errors — 没有可用的手动操作 Import-Completed — 没有可用的手动操作 Failed — 取消操作 当导入会话暂停时,仅停止后台复制。至源系统的主机 I/O 转发在 PowerStore 群集上继续处于活动状态。 注: 在任意状态期间,任何 I/O 故障或网络中断都会导致导入失败。 恢复暂停的导入会话时,将发
取消操作会将导入会话的状态设置为 CANCELLED,并禁用对目标卷或卷组的访问。该操作还会删除与导入会话关联的目标卷或卷 组。 注: 成功取消导入会话后,等待五分钟再重试导入相同的卷或一致性组。如果在成功执行取消操作后立即重试导入,导入可能会 失败。 注: 在源系统或主机出现故障的情况下,确认取消的弹出窗口中会提供 Force Stop 选项。选择此选项将终止导入会话,且不回 滚对源系统上卷的访问。源系统和/或主机可能需要手动干预。 以下步骤显示 PowerStore Manager 中的手动取消工作流: 1. 选择要取消的导入会话。 2. 选择 Cancel 导入操作以取消导入会话。 3. 单击弹出屏幕中的 CANCEL THE IMPORT。发生以下取消处理: a. 禁用目标卷。 b. 启用源卷。 c.
注: 建议在启用目标卷过程中删除源卷的主机映射。如果未选择由协调器删除源系统中源卷的主机映射,请手动将其删除。 如果源卷的主机映射未由协调器删除或手动删除,则这些映射将保留,即使在导入会话切换后也是如此。此外,如果导入失 败或被取消,则必须手动将这些主机映射还原到一个或多个源卷。它们不会自动还原。 12. 重新配置主机应用程序以访问适用的目标卷。 13.
无代理导入的切换工作流 在导入会话达到 Ready For Cutover 状态时,您可以切换导入。以下步骤显示 PowerStore Manager 中的手动导入工作流: 1. 选择要切换的导入会话。 2.
5 配置和管理导入 本章包含以下信息: 主题: • • • • • 配置无中断导入 在无中断导入中刷新主机和卷 管理无中断导入会话 配置无代理导入 管理无代理导入会话 配置无中断导入 前提条件 确保在运行导入之前 PowerStore 群集上满足以下条件: ● 已配置 PowerStore 群集的全局存储 IP 地址。 ● PowerStore 群集及其节点运行状况正常。 确保存在以下连接: ● 对于 Dell EMC VNX2 或 Dell EMC Unity 系列源系统,源系统与每个关联主机系统之间建立 Fibre Channel (FC) 或 iSCSI 连接,每个 关联主机系统与 PowerStore 群集之间建立相应的 FC 或 iSCSI 连接。 注: 与每个主机系统建立的这些连接应属于同一类型,全部为 FC 或全部为 iSCSI。 ● 对于 Dell Compellent Storage Center (SC) 或 Dell EqualLogic 对等存储 (PS) 系列源系统,源系统与每个关联主机系统之间建立 iSCSI 连接,每个关联主机系统与 PowerStore 群集之间建立相应的
● 为执行导入配置的主机插件程序端口 ● 主机的操作系统类型 ● 用于访问 VMware 主机的管理用户名和密码凭据。 注: 访问 Windows 和 Linux 主机不需要用户名和密码凭据。 确定导入时间表: ● 立即或设置时间和日期 ● 是否在导入后自动切换到目标 确定要分配给导入会话的保护策略。 关于此任务 要配置导入,请执行以下操作: 步骤 1. 登录到 PowerStore Manager。 2. 在 Migration 下,选择 Import External Storage。 此时将显示 Import External Storage 页面。 3.
在无中断导入中刷新主机和卷 关于此任务 在将源系统或主机系统添加到 PowerStore 后对其执行配置更改(例如,在主机之间移动卷或重新调整源系统卷容量)时,必须使用 PowerStore Manager 手动刷新所有受影响的系统或涉及的系统。否则,在该卷上运行导入时,导入将失败。 要刷新源卷和/或主机,请执行以下操作: 步骤 1. 在 PowerStore Manager 中,执行以下操作以导航到 Import Volumes from Source Array 向导: a. 在 Migration 下,选择 Import External Storage。 b. 从 Remote Systems 列表中选择源系统。 c. 选择 Import Storage。 2. 要刷新主机,在 Refresh Actions 下选择 Refresh Hosts;否则,请转至步骤 3。 a. 为必须刷新的主机选择 Refresh。 b.
操作 描述 注: 在源系统或主机出现故障的情况下,确认取消的对话框中会提供 Force Stop 选项。选择此选项将终止导入会 话,且不回滚对源系统上卷的访问。源系统和/或主机可能需要手动干预。 注: 成功取消导入会话后,等待五分钟再重试导入相同的卷或一致性组。如果在成功执行取消操作后立即重试导入, 导入可能会失败。 切换 选择一个导入会话,然后在 Import Actions 下单击 Cutover,以提交导入会话。您可以切换处于“Ready For Cutover” 状态的导入会话。切换后,关联的主机和 PowerStore 群集将无法再访问源卷或源一致性组。 注: 成功切换一致性组中的所有卷后,导入会话的状态将设置为 Import Complete。但是,如果一个或多个成员卷 的状态不是 Import Complete,则一致性组的状态设置为 Cutover Failed。此操作发生的原因是一致性组的 状态取决于成员卷的最终状态。从一致性组中移除所有出现故障的卷,然后重新尝试导入。 暂停 选择一个导入会话,然后在 Import Actions 下单击 Pause。使用 Pause 来暂停处于 Copy
● ● ● ● ○ 对于 Dell EqualLogic PS 系列,如果配置了管理网络,则为组管理 IP 地址。否则,它是组 IP 地址。 ○ 对于 Dell Compellent SC 系列和 Dell EMC Unity 系列系统,它是系统的管理 IP 地址。 ○ 对于 Dell EMC VNX2 系列,它是 SPA 或 SPB 的 IP 地址,但建议使用 SPA 的 IP 地址。 ○ 对于 Dell EMC XtremIO X1 和 Dell EMC XtremIO X2 系统,它是 XMS 的 IP 地址。 源系统的 iSCSI IP 地址,它是以下选项之一: ○ 对于 Dell EqualLogic PS 系列,它是组 IP 地址。 ○ 对于 Dell Compellent SC 系列,它是故障域的 IP 地址。 ○ 对于 Dell EMC VNX2、Dell EMC Unity 系列、Dell EMC XtremIO X1 和 Dell EMC XtremIO X2 源系统,它是 iSCSI 前端端口的 IP 地址之一。 用于访问源系统的管理用户名和密码凭据 会话 CHAP 模式 卷和/或一
注: Dell EqualLogic PS 系列系统不支持一致性组;因此,不能从这些系统导入一致性组。 一旦您已指定必要信息,系统会生成导入会话信息的摘要。 8. 确认摘要中的导入会话信息准确和完整。 9. 单击 Begin Import 创建并启动导入会话。 在操作开始后将显示 Import External Storage 页面,并显示 Imports 信息。 10. 在目标卷达到“Ready To Enable Destination Volume”状态后,关闭访问源卷的主机应用程序。 注: 导入 VMware 数据存储区时,请从 vCenter 执行以下操作来卸载数据存储区,然后再继续启用目标: a. 关闭虚拟机 (VM)。 b. 通过在数据存储区中的每个虚拟机上右键单击并选择 Remove from inventory 来取消注册虚拟机。 c. 右键单击数据存储区并选择卸载数据存储区。 11.
操作 取消 描述 注: 对于卷,仅当导入处理状态为 Queued、Scheduled、Ready To Enable Destination Volume、Ready to Start Copy、Copy In Progress、Paused、Ready For Cutover 或 Cancel Required 且访问卷的主机应用程序已关闭并重新配置为访问源卷时,才能执行取消操作。对 于卷组,仅当导入处理状态为 Queued、Scheduled、In Progress、Paused、Ready For Cutover、Import Cutover Incomplete、Cancel Required、Cancel Failed、Failed 且访 问卷的主机应用程序已关闭时,才能执行取消操作。在取消无代理导入会话之前,请将访问导入的目标卷 的主机应用程序重新配置回源卷。当在将主机应用程序重新配置为使用 PowerStore 中的目标卷后取消导 入会话时,这适用。 选择一个导入会话,然后在 Import Actions 下单击 Cancel。取消操作会将导入会话的状态设置为 CANCELLED,并禁用对目标
A Import-CLI (Linux) IMPORT-CLI 是为 Linux 主机管理员提供的一个实用程序,可用于检查导入特定的详细信息,例如卷信息、日志记录信息、安装的主 机插件程序版本、当前主机插件程序版本中支持的系统等。 本附录包含以下信息: 主题: 获取帮助 状态 主机插件程序版本 列出支持的阵列 服务器端口 日志信息 Microhttpd 状态 重新启动 Web 服务器 恢复设备 • • • • • • • • • 获取帮助 获取命令特定的帮助。 格式 importcli help 示例 # importcli help Usage: importcli [options] Available commands: help Get command-specific help with ' help' status Dump current multipathing status, if selected --importable, it displays info for only importable volumes ha_version Dis
状态 转储当前的多路径状态。如果选定了“--importable”,则仅显示可导入卷的信息。 格式 importcli status 选项 选项 描述 -v|--verbose 显示额外信息。 --importable Display 仅显示可导入卷的信息。 示例 # importcli status Generating diagnostic data, please wait...
列出支持的阵列 显示当前主机插件程序版本中支持的阵列列表。 格式 importcli list_supported_arrays 示例 # importcli list_supported_arrays Generating diagnostic data, please wait...
日志信息 显示日志级别和日志的位置。 格式 importcli log_show 示例 # importcli log_show Generating diagnostic data, please wait... Log Level: 2 Log Location: /var/log/import Microhttpd 状态 显示 microhttpd 状态。 格式 importcli mhd_status 示例 # importcli mhd_status Generating diagnostic data, please wait...
恢复设备 恢复由于导入过程中出现内部错误而导致陷入糟糕状态的指定设备。 注: 使用此 CLI 命令之前,请联系您的服务提供商。 格式 importcli recover_device 示例 # importcli recover_device 6006016011404000a331505c1bd8223b Generating diagnostic data, please wait...
B 与基于 Linux 的主机导入有关的其他任务 本附录包含以下信息: 主题: • • 重新生成主机 HTTPS 证书 设置 Oracle ASM 逻辑数据块大小 重新生成主机 HTTPS 证书 关于此任务 安装过程中,主机插件程序会生成自签名 HTTPS 证书,并将其用于安全通信。在以下情况下,必须重新生成此证书: ● 主机 IP 地址已更改。 ● 主机名称已更改,或者已添加到新的域中。 ● 主机 HTTPS 证书已到期。 要为基于 Linux 的主机重新生成主机 HTTPS 证书,请执行以下操作: 步骤 重新生成证书后,请在 PowerStore Manager 中 Compute 下的 Hosts & Host Groups 页面上删除关联主机,然后重新添加该主机。 设置 Oracle ASM 逻辑数据块大小 前提条件 小心: 如果已安装 Oracle,请避免运行以下任何内容。此步骤仅适用于尚未创建 Oracle 数据库的情况。 在开始导入之前,确定是否需要设置 Oracle ASM 逻辑数据块大小。通过运行 fdisk -l,检查 Compellent SC LUN 上逻辑扇区和物 理扇区的大
● 对于 ASMLib 配置,请设置 ORACLEASM_USE_LOGICAL_BLOCK_SIZE="true"。使用以下标准 oracleasm configure 命令将参数设置为 true:oracleasm configure-b。此设置允许 Oracle ASM 使用逻辑扇区大小。 ● 对于 AFD 配置,通过在创建数据库时设置 echo 1 > oracleafd_use_logical_block_size,在 /sys/module/ oracleafd/parameters 文件夹中创建一个文件。在文件夹 /etc/modprobe.d 中创建一个文件,使设置永久化,echo "options oracleafd oracleafd_use_logical_block_size=1" > oracleafd.conf 2.
C ImportKit-CLI (Windows) ImportKit-CLI 是为 Windows 主机管理员提供的一个实用程序。ImportKit-CLI 命令列出正在导入或准备导入的设备的信息。这些命令 还提供以下功能: ● ● ● ● ● ● ● ● 获取受支持阵列的列表。 获取卷列表/单个卷。 获取不同组件的版本。 启用日志记录级别(无日志 — 0,错误 — 1,信息 — 2,详细信息 — 3)。 更改端口或 IP 地址。 重新生成证书。 安装证书。 重新启动服务 注: 必须首先运行 Install-ImportKit-Certificate 命令,才能安装主机插件程序证书,以便能够使用所有的 ImportKit CLI 命令。 本附录包含以下信息: 主题: • • • • • • • • • • • 如何运行 ImportKit CLI 命令 列出支持的阵列 主机插件程序日志信息 导入套件版本 重新启动导入套件主机插件程序服务 导入卷信息 获取 Web 服务器端口信息 安装导入套件证书 重新生成导入套件证书 设置 Web 服务器端口信息 设置主机插件程序记录调试日志级别 如何运行 Imp
列出支持的阵列 显示所有支持导入的阵列。 格式 Get-ImportKit-ImDsmSupportedArrays 示例 > Get-ImportKit-ImDsmSupportedArrays VendorID -------EQLOGIC DellEMC DGC DGC ProductID --------100E-00 PowerStore VRAID RAID 5 ProductName ----------EqualLogic PowerStore VNX2 VNX2 主机插件程序日志信息 显示主机插件程序日志的位置和日志级别。有效的日志级别包括: 0 — 无日志 1 — 错误 2 — 错误和信息 3 — 错误、信息和详细信息 ● ● ● ● 格式 Get-ImportKit-LoggingInfo 示例 > Get-ImportKit-LoggingInfo LofileLocation Loglevel --------------------C:\ProgramData\DELLEMC\log\ClusterNode-2_DC_ha.
示例 > Get-ImportKit-Version HostAgentService HostAgentLibrary HostAgentCLI DSM_MPIODriver ---------------- ---------------- ------------ -------------1.0 1.0 1.0 4.5.0.9859 重新启动导入套件主机插件程序服务 重新启动 Windows 主机插件程序服务。 注: 导入会话正在进行时,请勿运行此命令。 格式 Restart-ImportKit-HAService 示例 > Restart-ImportKit-HAService ResultingString --------------ImportKITHAService restarted successfully.
VolumeName Size SourceArray ImportStatus : : : : ps-volumes-20 1085276160 Bytes PS NOT IN IMPORT VolumeID VolumeName Size SourceArray ImportStatus : : : : : 64ed2a75a96a0d016bc3f52d3ee8491a ps-volumes-21 1085276160 Bytes PS NOT IN IMPORT > Get-ImportKit-Volumes -VolumeName ps-volumes-21 VolumeID VolumeName Size SourceArray ImportStatus : : : : : 64ed2a75990a1d1738cd35b3ff04f07b ps-volumes-21 1085276160 Bytes PS NOT IN IMPORT Get-ImportKit-Volumes | Format-Table VolumeID -------64ed2a75990a0d1738cd1
安装导入套件证书 在主机中安装证书。为了让导入套件 CLI 运行,需要在主机中安装证书。 格式 Install-ImportKit-Certificate 示例 > Install-ImportKit-Certificate ResultString -----------Certificate installation was done successfully.
选项 选项 描述 -IP 指定的 IP 地址必须来自可用适配器的列表。 -Port 指定的端口可以是任何允许的数字 (0 - 65536)。 示例 > Set-ImportKit-WebServerPort -IP 10.0.0.1 Resultstring -----------IP is changed successfully. > Set-ImportKit-WebServerPort -Port 8443 Resultstring -----------Port is changed successfully. > Set-ImportKit-WebServerPort -IP 10.0.0.1 -Port 8443 Resultstring -----------IP and Port are changed successfully.
Registry Key is updated successfully to value = 1 ImportKit-CLI (Windows) 51
D Import-CLI (VMware) Import-CLI 是一组命令,可用于列出正在导入的设备的信息。它支持主机插件程序和存储阵列类型插件 (SATP) 组件的信息级日志记 录。 本附录包含以下信息: 主题: 列出日志级别 列出卷 将 SATP、VAAI 和 PSP 恢复为默认设置 equalRule 选项 • • • • 列出日志级别 EQL HIT 套件包的 Import-CLI 命令。显示为主机插件程序和 SATP 组件设置的日志级别。 格式 esxcli import loglevel list 示例 # esxcli import loglevel list SATP Log Level: Error,Warning,Info Info Log Level: 0 HA Log Level: Warning 列出卷 EQL HIT 套件包的 Import-CLI 命令。显示 SATP 声明用于导入的卷。 格式 esxcli import {volume list [-d ]} 选项 选项 描述 -d 指
示例 # esxcli import volume list 为列表中的每个卷显示以下信息: ● SourceVolumeNAAID — 考虑用于导入的源卷的唯一标识符。例如, naa.68fc61066c31fd6e37c28532f36f1de8 ● SourceVendor — 源阵列的供应商标识 (VID)。例如, EQLOGIC ● Size — 以 GB 为单位显示。例如, ● 11.
● 从主机中删除 SATP 规则。 格式 esxcli import equalRule add esxcli import equalRule list esxcli import equalRule remove 示例 # esxcli import equalRule list DellEMC_IMPORT_SATP EQLOGIC 100E-00 user VMW_PSP_RR All EQL ArraysDellEMC_IMPORT_SATP DellEMC PowerStore user VMW_PSP_RR iops=1 All PowerStore Arrays 54 Import-CLI (VMware)
E EQL MPIO 的 CLI EHCMCLI 是为主机管理员提供的现有实用程序,用于检查 EQL MPIO 特定的详细信息。这些 CLI 命令会显示导入特定的详细信息, 例如卷信息、日志记录信息、安装的 EQL MPIO 版本等。 本附录包含以下信息: 主题: • • • • • • • 状态 主机插件程序版本 服务器端口信息 日志信息 Microhttpd 状态 重新启动 Web 服务器 恢复设备 状态 转储当前的多路径状态。如果选定了“--importable”,则仅显示可导入卷的信息。 格式 ehcmcli status 选项 选项 描述 -v|--verbose 显示额外信息。 --importable Display 仅显示可导入卷的信息。 示例 # ehcmcli status ======================================================== Volume list ======================================================== Volume: test
主机插件程序版本 显示已安装的主机插件程序的当前版本。 格式 ehcmcli version 示例 ehcmcli version Version 1.7.0 Build 469794 服务器端口信息 显示用于通信的服务器端口,并提供将其更改为另一个端口的选项。 注: 主机上正在进行导入时,不应更改服务器端口。更改服务器端口之后,在 PowerStore Manager 的 Compute 页面上删除主机 和主机组下关联的主机,然后再次添加主机。 格式 ehcmcli server_port {change [port_num]} 选项 选项 描述 change 将服务器端口更改为 。有效值包括: ● 8443 ● 50443 ● 55443 ● 60443 示例 Generating diagnostic data, please wait... Server port : 8443 ehcmcli server_port change 55443 Generating diagnostic data, please wait...
格式 ehcmcli log_show 示例 ehcmcli log_show Generating diagnostic data, please wait... Log Level: 2 Log Location: /var/log/equallogic Microhttpd 状态 显示 microhttpd 状态。 格式 ehcmcli mhd_status 示例 ehcmcli mhd_status Generating diagnostic data, please wait...
注: 使用此 CLI 命令之前,请联系戴尔支持。 格式 ehcmcli recover_device 示例 ehcmcli recover_device 6006016011404000a331505c1bd8223b Generating diagnostic data, please wait...
F 通过 PowerStore 导入进行故障处理 本附录包含以下信息: 主题: • • • • • • • • 导入处理和故障处理概述 导入网络概述 导入警报和错误代码 无中断导入过程中出现的故障 无代理导入过程中出现的故障 一致性组处理 导入期间的配置更改 应用程序集成软件 导入处理和故障处理概述 导入操作会将源卷内容复制到后端的 PowerStore 卷,同时继续执行主机 I/O。对于无中断导入,它执行此操作时不会造成任何中 断。对于无代理导入,在迁移之前,主机应用程序需要停机一次。鉴于此操作的敏感特性,在开始导入之前会进行一些运行时检 查。这些检查有助于避免导入过程中出现故障。如果上述预检查失败,导入将无法开始,主机 I/O 不会受到影响。建议您纠正问 题,然后重试导入。有时,简单的重试也可能会成功完成导入,但取决于所遇到故障的性质。 无中断导入故障处理概述 导入过程开始之后,导入仍然有可能在运行时失败。如果在导入处理过程中发生此类故障,则会在内部取消导入,然后将 I/O 重定 向回源。执行此操作是为了确保主机 I/O 运行无中断。在解决故障原因后,可以重试导入。 您还可以选择取消导入,然后返回
4. 控制路径 1 (IP):PowerStore 必须具有到源系统的管理路径连接,以用于执行管理命令。 5.
双重故障 双重故障是指两个单独的故障事件几乎同时发生,如以下示例所示: ● 从主机到源的路径断开,并且几乎在同一时间,PowerStore 与源系统之间的连接也断开。 ● 在导入过程中,源系统的两个 SP 均出现故障。 对于此类罕见双重故障情况,无法完全自动进行恢复,需要手动干预。恢复取决于具体的故障情况。请联系服务提供商进行解决。 单个问题可能会表现为双重故障,恢复时需要一些手动干预。例如,如果源系统或卷在导入过程中停止服务(例如,源卷离线), 则此问题会表现为双重故障。首先,导入将失败,因为 PowerStore 无法访问 SAN 路径中的源卷。由于源卷处于离线状态,主机无 法访问源卷,不能完全成功地执行后续的自动取消操作。要进行恢复,请修复源卷状态,执行必要的清理,然后再次尝试导入。 注: 因源卷离线出现此错误,导致数据暂时不可用,即使未执行导入也是如此。 PowerStore 是一个双节点、多设备横向扩展群集。通常,大多数数据不可用故障并不严重,可通过固有的 PowerStore 群集高可用性 设计解决。导入协调器在 PowerStore 存储设备内运行,因此该协调器也与 PowerStore 一样具
PowerStore 群集在导入过程中出现故障,请将用户应用程序重新配置回源系统。如果整个一体机出现故障,则一体机的两个节点都 会出现故障。但是,在多一体机群集中,正在进行的导入将继续在其他正常运行的一体机中进行。目标卷位于该出现故障的特定一 体机上的导入会停止。在这种情况下,建议先启动该一体机,再尝试取消已停止的会话。 如果在导入期间 PowerStore 节点出现故障,导入和 I/O 均不会受到影响。另一个节点将接管操作。如果导入无法继续,则将更改为 Cancel Required 状态。当导入更改为此状态时,将发出警报,要求将用户应用程序重新配置为使用源卷。将用户应用程序重新 配置为使用源卷后,手动取消导入会话。 有时,节点恢复时间可能较长,并且主机 I/O 可能会遇到延迟问题。在最坏的情况下,I/O 超时到期,导致临时数据不可用。如果节 点无法重新启动,或者节点的恢复时间太长,请将用户应用程序重新配置回源阵列。发生故障的节点完全恢复后,此类情况才会恢 复。PowerStore 节点恢复且 PowerStore 正常运行后,请重试导入。如果问题仍然存在,请联系您的服务提供商。 一致性组处理 Power