Dell PowerVault MD Series 存储阵列 存储复制适配器(SRA)最佳实践指南(客户 端)
注、小心和警告 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心: “小心”表示可能会损坏硬件或导致数据丢失,并说明如何避免此类问题。 警告: “警告”表示可能会造成财产损失、人身伤害甚至死亡。 版权所有 © 2015 Dell Inc. 保留所有权利。 本产品受美国、国际版权和知识产权法律保护。Dell™ 和 Dell 徽标是 Dell Inc. 在美国和/或其他司法管辖区的商标。所有此处提及的其他商标和产品名称可能是其各自所属公司的商标。 2015 - 09 Rev.
目录 1 安装和配置 Storage Replication Adapter (SRA)................................................4 下载 SRA.................................................................................................................................................4 安装过程................................................................................................................................................. 4 受密码保护的存储阵列.......................................................................................................
安装和配置 Storage Replication Adapter (SRA) 1 下载 SRA Dell MD Series SRA 与 VMware Site Recovery Manager (SRM) 配合使用,以便在分离的 vCenter Server 环境 之间进行数据中心故障转移。要使用 SRA,请从 Dell.com/support 上的驱动程序和下载页面中下载 的最新 版本。 • • 有关受支持的最新 SRA 版本和 VMware 参考的信息,请参阅 Dell.com/support 中您的阵列手册部分提供 的“支持值表”。 md5sum:可从 VMware Site Recovery Manager 网站上找到 Dell MD Storage Replication Adapter 的 md5sum 值。 您可在安装了 md5sum 的任何 UNIX 主机上计算 Md5sum,或从 etree.org/md5com.html 获取类似 md5sum.
图 2: Site Recovery Manager(重新扫描 SRA) 受密码保护的存储阵列 如果您的环境对存储阵列实施密码安全保护,则 SraConfigurationData.xml 文件以提示输入存储阵列密 码。 要修改文件,请执行以下操作: 1. 编辑 SraConfigurationData.xml 文件,该文件位于以下位置:C:\Program Files (x86)\VMware \VMware vCenter Site Recovery Manager\storage\sra\Dell\config\SraConfigurationData.xml 2. 找到 标签。 3. 将默认值 false 更改为 true。 4. 保存对文件所做的更改。 注: 所有存储阵列必须使用相同的安全措施。如果其中一个存储阵列设置了密码,则其对等存储阵列 也必须设置密码。SRA 不支持混合验证模式。 图 3: SraConfigurationData.
要更改 NVSRAM 设置,请执行以下操作: 1. 在存储阵列上启动 MD Storage Manager。 2. 在 Enterprise Management Window (EMW) 中,单击工具 → 执行脚本。 图 4: MD Storage Manager 执行脚本 3.
图 5: 查看当前的 NVSRAM 设置 4. 要更改主要 RAID 控制器 [0] 的 NVSRAM 设置,请运行以下命令。 set controller[0] NVSRAMByte[0x3b]=2;HTTP/1 图 6: 更改主要 RAID 控制器 [0] 上的 NVSRAM 设置 5.
图 7: 确认新的 NVSRAM 设置 6.
图 8: 重设主要 RAID 控制器以加载新的 NVSRAM 设置 7. 对次要 RAID 控制器重复执行任务 3 至任务 6,并在所显示的命令语法示例中用 [1] 替换 [0]。 8. 关闭脚本编辑器对话框。 SRA 设备管理服务 此 进程监测和同步 MD SRA 与 MD 存储阵列之间的通信。SRA 工作负载在一台持久服务器和多个临时客户端 程序之间进行划分,而临时客户端程序仅在单个 SRM 命令期间存续。由于在单个 SRM 工作负载(例如测试故 障转移)中预期会运行大量 SRM 命令,因此经常使用客户端。但是,作为 Windows 服务运行的服务器具有 持久性,并管理与存储阵列之间的所有通信。 除使用默认值以外,无需对服务器进行任何特殊配置。但是,可通过编辑两个文件来控制主机配置、套接字通 信和虚拟机 (VM) 内存: SraConfigurati onData.xml 此文件位于 SRA 安装目录下的 /config 目录中。具体位置取决于您的安装选择,默 认位置是 C:\Program Files(x86)\VMware\VMware vCenter Site Recovery Mana
指定 Win32 服务初始化文件 (NesSvc) 在哪个主机上运行。目前,唯一支持的值为 localhost。在以后的版本中,可能会在多个 SRA 安装之间共享 NesSvc 的实例,这将 提高性能并简化多个 SRA 实例之间的协作。 确定服务使用哪个 IP 端口处理客户端与服务器之间的套接字通信。如果您系统上的不 同应用程序已在使用端口 1701(默认端口),请指定一个不同的端口。 配置端口的性能属性。 注: 请联系 Dell 技术支持来修改 。 在 NesSvc.ini 中更改虚拟内存 无需修改 Windows 服务初始化文件 (NesSvc.ini)。如果 Dell 技术支持人员建议您做相应修改,可将虚拟内 存设置更改为: vmarg.1=-Xms256m vmarg.2=-Xmx512m 注: 对 NesSvc.
2 异步远程复制 此功能使用时间点 (PiT) 快照执行远程复制,光纤信道和 iSCSI MD 存储阵列上均支持此功能。 基于 iSCSI 的远程复制 由于新增了对基于 iSCSI 协议的远程复制的支持,因此现在可实现更远距离的远程复制。但是,复制距离的增 加会影响延迟(相对于以前仅支持光纤信道)。因此,创建数据存储时应仔细考量,以确保您复制的虚拟磁盘 中仅包含必须复制的数据。复制开始后,请密切关注所复制的数据量以及同步数据所需的时间。如果同步数据 所需的时间大于同步时间间隔,则远程复制组的性能会下降且不能正常运行。 适当大小的网络基础结构是获得成功的灾难恢复解决方案的关键因素。有关更多信息,请参阅以下说明文件: • • Dell.com/support/manuals 上的 Dell PowerVault MD Series Storage Arrays Administrator's Guide (Dell PowerVault MD Series 存储阵列管理员指南)。 vmware.
• 只有运行固件版本 07.84.XX.XX 或更高版本的 MD Series 存储阵列支持异步远程复制组。这些组被视为一 致性组,因此组中的所有虚拟磁盘将被视为单一实体。 • 假如在受保护的存储阵列和恢复存储阵列之间有足够的带宽可用,则同步优先级会显著影响复制速度。 命令行选项 SRA 会安装提供以下功能的 CLI 公用程序: • 要停止 SRA 服务,请运行以下命令。 \svrCmd.cmd 重新启动 SRA 服务需要使用 Windows 服务的启动命令。 • 要跟踪 SRA 服务并捕获所发出和接收的每个命令的详细日志记录,请运行以下命令。 \svrCmd track on (enable) \svrCmd track off (disable) 日志文件将被写入 \track 目录中。 Site Recovery Manager 和 ESX/ESXi 中的高级设置 当使用 MD Series Storage Replication Ad
4. 单击 storageProvider 并设置以下值: storageProvider.fixRecoveredDatastoreNames = enabled ESX/ESXi 主机设置 建议对 ESX 或 ESXi 主机设置进行以下更改: • Disk.MaxLUN - 将此值设置为略大于映射至 ESX 或 ESXi 主机的 LUN 数量。这样将不会扫描所有 256 个 LUN 可能性,从而使重新扫描操作的速度更快。 • Disk.UseDeviceReset = 1 和 Disk.UseLunReset = 0,同时使用 Disk.UseDeviceReset 和 Disk.
3 确定快照存储库大小 固件 07.83.xx.
SRA 如何使用快照 如果在测试故障转移期间在存储阵列上启用了时间点快照功能,则 MD Series SRA 会使用时间点快照,对于被 测试的保护组中包含的所有卷,SRA 将在恢复站点的存储阵列上创建快照组、快照映像和快照卷。这需要创建 以上列出的两个快照存储库,对于每个存储库,其默认大小为基本卷的 10%,总计为基本卷大小的 20%。这 意味着,恢复站点存储阵列上的可用容量必须达到参与测试故障转移的基本卷的 20%。该值由位于安装目录 下的 config 目录中的 SraConfigurationData.xml 文件进行控制,该文件的路径通常为: C:\Program Files (x86)\VMware\VMware vCenter Site Recovery Manager\scripts\SAN\Dell \SraConfigurationData.
4 获得帮助 说明文件列表 此说明文件列表提供了可供您参阅的有关设置和管理系统的说明文件信息。 Dell 说明文件 • 有关所有 PowerEdge 和 PowerVault 说明文件,请访问 Dell.com/support,然后输入系统服务标签以获 取系统说明文件。 • 有关所有虚拟化说明文件,请访问 Dell.com/virtualizationsolutions。 • 有关所有操作系统说明文件,请访问 Dell.com/operatingsystemmanuals。 • 有关所有存储控制器和 PCIe SSD 说明文件,请访问 Dell.com/storagecontrollermanuals。 • 有关 Dell 支持论坛,请访问 en.community.dell.com/support-forums/default.aspx。 • 有关 Dell 高级搜索,请访问 search.dell.com/index.aspx。 VMware 说明文件 • 有关 vCenter SRM 6.0 说明文件,请访问 https://www.vmware.
Dell 提供了若干联机及电话支持和服务选项。服务会因所在国家和地区以及产品的不同而有所差异,您所在的 地区可能不提供某些服务。如要联系 Dell 解决有关销售、技术支持或客户服务问题: 1. 请转至 dell.com/support。 2. 选择您的支持类别。 3. 在页面底部的选择国家/地区下拉列表中,确认您所在的国家或地区。 4.