跳转到主内容

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

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

适用场景

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

问题解答

  • 聚合级别的跨卷重复数据删除可消除同一聚合中托管的多个卷之间的重复块
    • 这些节省是通过自动触发的聚合级后台效率扫描程序实现的
  • 默认情况下、在建立关系时、在ONTAP中、目标卷(DP)聚合上的SnapMirror传输不会保留SnapMirror源卷(R/W)聚合上的跨卷重复数据删除节省的空间
    • SnapMirror可通过LRSE复制引擎通过缆线从源到目标保持通过卷内部存储效率重复数据删除节省的空间。
      • 这一点根本不需要卷效率的State 来报告DP卷上的Enabled (vol efficiency show -fields state 可以报告DP卷上的EnabledDisabled 、这与此知识库文章的主题无关)
    • 默认情况下、每次使用LRSE引擎进行SnapMirror更新后、都会在DP卷上触发效率操作。这样可以节省源上尚未在后台处理的卷级重复数据删除。 
      • 为此、不需要在目标DP卷上配置专用的效率配置
    • SnapMirror正在使用LRSE复制引擎
      • 目标DP卷没有专用效率配置、或
      • DP卷的效率配置使用与源读/写卷相同的数据压缩设置时
  • SnapMirror目标集群可以选择对类型为DP的SnapMirror目标卷使用聚合重复数据删除
    • 这需要手动更改SnapMirror目标DP卷上的效率配置、因为在单个卷或svmdr-DP卷上、跨卷重复数据删除默认处于禁用状态
    • 如果在DP卷上启用了跨卷重复数据删除,snapmirror initialize 或者目标DP卷是svmdr 关系的成员,则需要在DP卷上执行一次性手动卷级重复数据删除完全扫描(-scan-old-data true )
    • 在SnapMirror目标DP卷上显式启用跨卷重复数据删除不会影响SnapMirror LRSE引擎、因为它可以通过线缆从源保持卷级存储效率节省、并且不需要 对DP卷执行效率计划或策略
    • 要在SnapMirror DP卷上通过跨卷重复数据删除节省更多重复数据删除空间,只要DP卷不变为读/写(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相同的步骤、但对non-show命令使用高级命令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 的输出以确定上次操作结束或当前操作状态
    • 聚合效率后台操作会在聚合中发生特定百分比的块更改时自动触发
    • Aggreate效率后台操作可通过以下方式手动进行触发: 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.