Dell EMC PowerStore 保护您的数据 版本 2.x 6 月 2021 年 Rev.
注意、小心和警告 注: “注意”表示帮助您更好地使用该产品的重要信息。 小心: “小心”表示可能会损坏硬件或导致数据丢失,并告诉您如何避免此类问题。 警告: “警告”表示可能会导致财产损失、人身伤害甚至死亡。 © 2020 年 - 2021 年 Dell Inc. 或其子公司。保留所有权利。Dell、EMC 和其他商标是 Dell Inc.
目录 其他资源.......................................................................................................................................................................................4 章 1: 简介........................................................................................................................................ 5 数据保护..........................................................................................................................................................................
其他资源 为了不断改进,我们将定期发布软件和硬件产品的修订版。本文档中介绍的一些功能可能不被当前使用的软件或硬件的所有版本支 持。本产品发行说明提供了有关产品功能的新信息。如果某产品不能正常运行或其功能与本文档的描述不符,请与您的服务提供商 联系。 从何处获得帮助 可以按如下方式获取支持、产品和许可信息: ● 产品信息 有关产品和功能的文档或发行说明,请访问 PowerStore 文档页面,地址为 https://www.dell.com/powerstoredocs。 ● 故障排除 有关产品、软件更新、许可和服务的信息,请转到 https://www.dell.com/support,并找到相应的产品支持页面。 ● 技术支持 如需技术支持,如有服务请求,请转至 https://www.dell.
1 简介 本章包含以下信息: 主题: • • • • 数据保护 快照 复制 保护策略 数据保护 PowerStore 提供本地和远程数据保护。使用 PowerStore Manager,您可以通过创建卷、卷组、虚拟机或文件系统的快照(时间点拷 贝)来在本地保护数据。在发生灾难时,您还可以通过将数据复制到远程系统以实现冗余来应用远程保护。 PowerStore 使您能够创建自定义保护策略(用于快照创建和/或复制的规则集)并将它们分配给存储资源。保护策略在存储资源上应 用已定义的规则,为其提供本地和/或远程保护。 快照 快照是卷、卷组、虚拟机或文件系统中数据的只读时间点拷贝。创建快照可保存存储资源在该特定时间点的状态。使用快照,您可 以在本地轻松地保护数据,并可以将存储资源还原到以前的状态。 您可以随时手动创建快照。此外,还可以将快照规则作为保护策略的一部分进行配置,并将其分配给相关的存储资源。系统会自动 根据保护策略中指定的计划创建相关资源的快照。 如果数据发生损坏或数据被意外删除,您可以从快照还原数据,或将卷或 卷组 还原到创建快照的时间点。 对于文件系统,您可以创建只读文件快照的两种访问类型:协议和
1. 创建源与目标系统之间的远程连接 2. 使用符合您的业务需求的复制规则配置保护策略 3.
2 快照 本章包含以下信息: 主题: • • • • • 创建快照 创建精简克隆 使用克隆从主机访问只读快照 刷新存储资源 从快照还原存储资源 创建快照 创建快照可保存存储资源以及其中的所有文件和数据在特定时间点的状态。您可以使用快照将整个存储资源恢复到以前的状态。您 可以创建卷、卷组、文件系统或虚拟机的快照。 在创建快照之前,请考虑以下事项: ● 快照不是原始数据的完整拷贝。对于镜像、灾难恢复或高可用性工具,请勿依赖快照。由于快照部分源自存储资源的实时数据, 因此如果存储资源变得无法访问,则快照也可能无法访问。 ● 虽然快照具有空间效率,但它们会占用总体系统存储容量。请确保系统具有足够的容量以容纳快照。 ● 在配置快照时,请检查与存储资源关联的快照保留策略。您可能需要更改关联的规则中的保留策略,或手动设置不同的保留策 略,具体取决于快照的用途。 ● 使用 PowerStore Manager 创建的手动快照在创建后保留一周(除非另有配置)。 ● 如果达到最大快照数量,则无法再创建。在这种情况下,要允许创建新快照,您需要删除现有快照。 要手动创建卷的快照,请执行以下操作: 注: 您还可以为 卷组、文件系
2. 单击相关卷或 卷组 旁边的复选框,然后选择 Repurpose > Create Thin Clone using Volume(或 卷组 的 Create Thin Clone)。 3. 在 Create Thin Clone 滑出窗口中,执行以下操作: ● 输入精简克隆名称。 ● 输入描述(可选)。 ● 设置性能策略(仅适用于从卷创建的精简克隆)。 ● 设置主机连接(仅适用于从卷创建的精简克隆)。 ● 设置保护策略。 4. 单击 Clone。 要从快照创建精简克隆,请执行以下操作: 1. 打开相关的存储资源窗口。 2. 单击资源以打开其概述窗口。 3. 单击 Protection 选项卡。 4. 单击 Snapshots。 5.
8. 单击 Refresh 要使用相关卷刷新存储资源,请执行以下操作: 1. 2. 3. 4. 5.
3 保护策略 本章包含以下信息: 主题: • • • • • • 创建快照规则 创建复制规则 创建保护策略 修改保护策略 将保护策略分配给存储资源 取消分配保护策略 创建快照规则 您可以创建快照规则来控制参数,如创建快照的频率以及快照保留期。快照规则与复制规则结合使用,让您能够根据数据保护要求 为存储资源配置和应用一致的数据保护策略。 如果要在现有规则的基础上再创建一个新的快照规则,建议先与管理员一起审查业务要求,然后才能继续进行。这有助于在整个系 统中实现并保持一致的策略。 要创建新的快照规则,请执行以下操作: 选择 Protection > Protection Policies。 在 Protection Policies 窗口中,单击 Protection 栏上的 Snapshot Rules。 在 Snapshot Rules 窗口中,单击 Create。 在 Create Snapshot Rule 滑出面板中,输入新规则的名称。 设置以下各项: ● 选择将创建快照的日期。 ● 设置频率/开始时间: ○ 要按固定的时间间隔创建快照,请选择此选项并设置将在多少个小时后创建快照。 ○ 要在所选日
4. 在 Create Replication Rule 滑出面板中,输入新规则的名称。 5. 设置以下各项: ● 选择现有复制目标或配置新目标。 ● 设置 RPO。 ● 设置警报阈值。 6. 单击 Create。 恢复点目标 恢复点目标 (RPO) 指示发生故障时可接受的数据丢失量(以时间为单位测量)。设置复制规则时,您可根据 RPO 配置自动同步。可 能的 RPO 值的范围为 5 分钟到 24 小时。默认 RPO 值为 1 小时。 注: 较短的 RPO 间隔可提供更大的保护并占用更少的空间。但是,它对性能的影响较大,导致更多的网络流量。更长的 RPO 间 隔可能会导致更多的空间消耗,这会影响快照计划和空间阈值。 Alert threshold 配置复制规则时,您可以指定警报阈值,即当复制会话不符合 RPO 时,系统将在生成合规性警报之前等待的时间长度。将警报阈值 设置为零意味着,如果实际同步时间超过 RPO,将生成警报。 创建保护策略 关于此任务 创建保护策略来为您的存储资源提供本地和/或远程保护。每个保护策略可以包含一个复制规则和最多四个快照规则。一个规则可以 包含在多个策略中。 步骤 1.
您不能更改分配给一项或多项存储资源的保护策略中使用的复制规则上的复制目标。要将复制重新配置为到不同的远程系统,请取 消分配保护策略,然后分配具有不同复制规则的新保护策略。取消分配具有复制规则的保护策略将删除关联的复制会话,并且分配 新的保护策略将创建新的复制会话,这需要与新目标进行完全同步。 步骤 1. 选择 Protection > Protection Policies。 2. 选中相关策略旁边的复选框,然后单击 Modify。 3. 在 Properties 滑出面板中,您可以修改以下参数: ● 策略名称 ● 所选快照规则 ● 所选复制规则 4.
3.
4 复制 本章包含以下信息: 主题: • • • 远程系统 Synchronization 故障切换 远程系统 配置源和目标系统之间的远程系统连接可启用远程复制。在 PowerStore 中,远程系统连接与复制规则关联。您可以提前创建远程系 统连接,或者在创建复制规则时创建。 注: 可以在运行不同版本(1.x、2.x)的系统之间创建远程连接。 在创建远程系统连接之前,请确保您已获得以下远程系统详细信息: ● 系统 IP 地址 ● 用于连接到系统的用户身份验证凭据 添加远程系统连接: 1. 选择 Protection > Remote Systems。 2. 在 Remote Systems 窗口中,单击 Add。 3. 在 Add Remote System 滑出面板中,配置以下各项: ● 管理 IP 地址 ● 描述(选填) ● 网络延迟 ● 用户名和密码 4.
● 系统暂停 当复制会话正在同步时,您可以执行以下操作: ● ● ● ● 从源系统执行计划的故障切换 从目标系统执行故障切换 从源或目标系统暂停复制会话 通过删除保护策略来删除复制会话 如果同步失败,复制会话将置于系统暂停状态。当系统恢复时,复制会话会从系统暂停的时间点继续。 故障切换 故障切换复制会话包括在源和目标系统之间切换角色,以及反转复制会话的方向。 故障切换有两种类型: ● 计划内故障切换 — 用户启动,包括源和目标之间的同步,以防止数据丢失。 ● 计划外故障切换 — 由目标系统启动,用于响应源系统故障。 在复制会话故障切换期间,系统将执行以下操作: ● ● ● ● ● ● 停止源对象上的 I/O。 同步源和目标存储对象(仅在计划内故障切换中发生)。 停止复制会话。 在源和目标系统之间反转角色。 升级新源上的最新对象版本。 恢复新源上的 I/O(由用户启动)。 故障切换之后,您可以访问新的源系统上的应用程序以恢复数据。 执行故障切换测试 设置复制会话后,您可以测试连接,以确保您的站点已正确配置并已准备好进行灾难恢复。 在故障切换测试期间,系统将执行故障切换,并使用复制的数据或时间点快照向
当故障切换测试正在进行时,您无法执行计划内故障切换。停止故障切换测试以执行计划内故障切换。但是,计划外故障切换仍可 以不间断进行以响应灾难。如果可能,建议在计划外故障切换之前停止故障切换测试,因为在故障切换测试开始之后复制到目标的 任何数据都将丢失。 您还可以在故障切换测试期间暂停和恢复复制会话。如果在故障切换测试期间删除复制会话,则测试将被取消。 启动故障切换测试 您可以从当前目标数据或任何快照启动故障切换测试。 有两种方法可以启动故障切换测试: ● 从 Protection > Replication 中,选择要测试的复制会话,然后选择 Start Failover Test。 ● 从资源的 Protection 选项卡中,选择 Replication,然后选择 Start Failover Test。 故障切换测试开始后,复制会话上会发出警报。停止测试后,警报将被清除。 停止故障切换测试 在停止故障切换测试之前,建议您卸载文件系统,并停止目标资源上正在运行的任何应用程序,以避免数据损坏。 有两种方法可以停止故障切换测试: ● 从 Protection > Replication 中,选择具有正在进行
A 使用情形 本章包含以下信息: 主题: • • 快照和精简克隆使用情形 复制使用情形 快照和精简克隆使用情形 您可以使用快照和精简克隆来恢复损坏的卷和创建测试环境。 快照是只读拷贝,可用于保存对象的当前状态。如果出现损坏或用户错误,您可以使用快照快速恢复数据。主机无法直接访问快 照。 精简克隆是快照、卷或卷组的可写拷贝,而且可由主机访问。精简克隆可直接作为父对象的拷贝来创建,或者使用它的一个快照来 创建。快照和精简克隆都是与它们的父对象共享数据块的节省空间的拷贝。 使用快照和精简克隆来部分恢复卷 您可以使用快照和精简克隆从以前的一个时间点恢复卷的一部分,例如单个文件或数据库记录。首先,使用包含需要恢复的数据的 快照创建一个精简克隆。然后,为主机提供对该克隆的访问权,并从主机恢复数据。 使用快照恢复卷或 卷组 如果有损坏,您可以使用快照将卷回滚到以前的时间点。要将卷或卷组恢复到以前的一个时间点,可使用卷恢复操作并提供一个发 生损坏之前拍摄的快照。恢复操作是瞬间完成的。在使用恢复操作之前,您还可以创建一个备份快照以保存卷或卷组的状态。 在将修补程序应用到生产卷之前使用精简克隆对其进行测试 在一个卷上
使用复制进行计划内停机 计划内停机是这样一种情形:让源系统离线以进行维护或测试,同时让一切在目标系统上运行。在计划内停机之前,源和目标都在 运行一个活动的复制会话。计划内停机不会导致数据丢失。 在这种情况下,源系统(波士顿)会离线进行维护,在维护期内,目标系统(纽约)将用作生产系统。维护完成后,再将生产系统 恢复为原来的波士顿系统。 要启动计划内停机,请在波士顿源系统上选择 Planned Failover。纽约目标系统将与源系统完全同步,以确保没有数据丢失。会话将 保持暂停,与此同时波士顿源系统变为只读状态,目标系统变为读/写状态。纽约目标存储资源可供主机访问。在纽约目标存储资源 上,选择 Reprotect 以相反方向恢复复制。 要在维护后恢复波士顿系统的运行,请在纽约系统上选择 Planned Failover。故障切换完成后,在波士顿系统上 Reprotect。 注: 要使用重新保护操作将数据从目标复制到源,请确保目标系统上的复制策略有一个指向源系统的复制规则。例如,如果常规 复制会话是从波士顿的站点复制到纽约的站点,则位于纽约的目标存储资源上的复制策略必须指向波士顿。 使用复制进行灾难恢复 在此灾