跳转到主内容

聚合重复数据删除如何影响 SnapMirror?

Views:
47
Visibility:
Public
Votes:
0
Category:
snapmirror
Specialty:
dp
Last Updated:

适用于

  • SnapMirror 目标 DP 卷
  • 聚合级跨卷重复数据删除节省

问题解答

  • 聚合级跨卷重复数据删除可消除在同一聚合中托管的多个卷上的重复数据块
    • 这些节省是通过自动触发的聚合级背景效率扫描仪实现的
  • 在建立关系时,默认情况下,SnapMirror 源卷(R/W)聚合上的跨卷重复数据删除节省不会由目标卷(DP)聚合上的 SnapMirror 传输在 ONTAP 中保留
    • SnapMirror 通过 LRSE 复制引擎从源到目标维持卷内存储效率的重复数据删除节省。
      • 这根本不需要卷效率State在 DP 卷上报告Enabledvol efficiency show -fields state可以在 DP 卷上报告EnabledDisabled,这与本知识库文章的主题无关)
    • 每次使用 LRSE 引擎进行 SnapMirror 更新后,默认情况下,DP 卷上会触发效率操作。这获得了尚未在源后台处理的卷级重复数据删除节省。 
      • 无需在目标 DP 卷上进行专用效率配置即可实现此目的
    • SnapMirror 正在使用 LRSE 复制引擎
      • 当目标 DP 卷没有专用效率配置时,或
      • 当 DP 卷的效率配置使用与源 R/W 卷相同的压缩设置时
  • SnapMirror 目标集群可以选择性地对类型为 DP 的 SnapMirror 目标卷使用聚合重复数据删除
    • 这需要手动更改 SnapMirror 目标 DP 卷上的效率配置,因为默认情况下,跨卷重复数据删除在单个或 svmdr-DP 卷上禁用
    • 当在 snapmirror initialize 已完成后启用了 DP 卷上的跨卷重复数据删除,或者目标 DP 卷是 svmdr 关系的成员时,需要在 DP 卷上执行一次性手动卷级重复数据删除完全扫描(-scan-old-data true
    • 在 SnapMirror 目标 DP 卷上显式启用跨卷重复数据删除不会影响 SnapMirror LRSE 引擎通过线路从源维护卷级存储效率节省,并且不需要在 DP 卷上设置效率计划或策略
    • 要从 SnapMirror DP 卷上的跨卷重复数据删除获得额外的重复数据删除节省,只要 DP 卷不变为 R/W(snapmirror break),就不需要在 DP 卷上设置基于自动或计划或阈值的后台操作效率策略

追加信息

父主题: SnapMirror 存储效率配置和行为

要在 DP(SnapMirror 目标)卷上实现跨卷节省:

  1. 在 SnapMirror 初始化之前在 DP 卷上启用跨卷效率
  • 在 DP 卷上启用效率:
    volume efficiency on -vserver svm-destination -volume volume_dp
  • 在 DP 卷上启用跨卷背景重复数据删除:
    volume efficiency modify -vserver svm-destination -volume volume_dp -cross-volume-background-dedupe true
  • 初始化 SnapMirror 关系:
    snapmirror initialize -destination-vserver svm-destination -destination-volume volume_dp
  1. 如果无法重新初始化 SnapMirror,则需要对 DP 卷进行全扫描以初始化其块指纹数据库:
  • 这将需要更长的时间,因为全扫描需要很长时间,并且只能消耗有限的 CPU,因此如果可能,请选择选项 1
  • 在 DP 卷上启用效率:
    volume efficiency on -vserver svm-destination -volume volume_dp
  • 在 DP 卷上启用跨卷后台重复数据删除:
    volume efficiency modify -vserver svm-destination -volume volume_dp -cross-volume-background-dedupe true
  • 在 DP 卷上运行全扫描:
    volume efficiency start -vserver svm-destination -volume volume_dp -scan-old-data true
  • 等待全扫描完成:
    volume efficiency show -vserver svm-destination -volume volume_dp -scan-old-data true -fields op-status
  1.  对于 SVM-DR,选项 1 是不可能的,因为卷仅在 snapmirror 初始化期间创建。
  • 使用与选项 2 相同的步骤,但对非显示命令使用高级命令 vserver config override

set advanced

vserver config override -command "volume efficiency on -vserver svm-destination -volume volume_dp"

vserver config override -command "volume efficiency modify -vserver svm-destination -volume volume_dp -cross-volume-background-dedupe true"

vserver config override -command "volume efficiency start -vserver svm-destination -volume volume_dp -scan-old-data true"

使用任一选项:

  • 跨卷节省在下一次聚合效率后台操作触发后实现。
    • 检查输出 aggregate efficiency cross-volume-dedupe show 以确定上次操作结束或当前操作状态
    • 聚合效率后台操作在聚合内特定百分比的块更改时自动触发
    • 聚合效率后台操作可以使用以下方式手动触发:aggregate efficiency cross-volume-dedupe start
  • 当使用 LRSE(具有存储效率的逻辑复制)时,不需要 DP 卷效率操作的效率操作计划。
  • 使用 LRSE 时,每个 snapmirror update 将触发效率后台操作(仅在 sis.log 中可见),以实现跨卷节省。
  • 当 DP 卷上未启用辅助压缩时,通过使用存储效率的 XDP 关系,源卷的每个卷的节省将从主卷保持到辅助卷。其他详细信息:

 

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.