跳转到主内容

ONTAP 9 SnapMirror策略规则中的"retention period"参数如何工作?

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

适用场景

  • ONTAP 9.11.1及更高版本
  • SnapMirror
  • DataLock/不可变的云快照
  • SnapLock 防篡改快照

问题解答

有两种解决方案可利用 retention-period SnapMirror策略规则中的参数:

  1. ONTAP 9.11.1及更高版本中"vault"类型的SnapMirror策略中的DataLock/不可变云快照
  • 在ONTAP 9.11.1及更高版本中 retention-period 、BlueXP Cloud Backup会在"vault"类型的SnapMirror策略规则中使用此参数、以便与DataLock结合使用
  • DataLock允许在一段时间内将备份到目标对象存储的快照锁定为不可删除或修改
  • 如果用于DataLock、 retention-period则不应手动修改此参数
  • DataLock及其关联设置应始终通过BlueXP或其他获得许可的合作伙伴的备份应用程序进行配置
  • 有关详细信息、请参见DataLock和勒索软件保护
  1. ONTAP 9.12.1"镜像-存储"类型的SnapLock 防篡改Snapshot SnapMirror策略
  • 在ONTAP 9.12.1及更高版本中、 retention-period SnapMirror策略规则中的参数与 SnapLock 防篡改快照 功能结合使用 
  • 运行 snapmirror policy show -instance 时以及使用 snapmirror policy add-rulesnapmirror policy modify-rule 镜像存储类型的SnapMirror策略(统一复制)添加或修改SnapMirror策略规则时会显示此参数
    • 与SnapLock 篡改快照结合使用的其他SnapMirror策略类型不支持此参数

ClusterA::> snapmirror policy show -policy MirrorAndVault -instance

            Vserver: ClusterA
    SnapMirror Policy Name: MirrorAndVault
    SnapMirror Policy Type: mirror-vault
         Policy Owner: cluster-admin
          Tries Limit: 8
       Transfer Priority: normal
   Ignore accesstime Enabled: false
    Transfer Restartability: always
  Network Compression Enabled: false
        Create Snapshot: true
            Comment: A unified Asynchronous SnapMirror and SnapVault policy for mirroring the latest active file system and daily and weekly Snapshot copies.
     Total Number of Rules: 3
          Total Keep: 60
    Transfer Schedule Name: -
           Throttle: unlimited

 Rules:
 SnapMirror Label     Keep Preserve Warn Schedule Prefix   Retention Period
 ---------------------- ---- -------- ---- -------- ---------- ----------------
 sm_created         1 false     0 -     -              -
 daily            7 false     0 -     -              -
 weekly           52 false     0 -     -              -

  • 在配置镜像存储类型的SnapMirror策略(统一复制)时、此参数控制SnapMirror关系备份的快照的保留时间以及防止勒索软件和恶意管理员受到保护的时间长度
  • 在达到保留期限之前、不能以任何方式删除具有保留期限的快照;没有后门
  • 保留期限优先于 keep SnapMirror策略中Snapshot的值
  • 对于异步镜像类型的SnapMirror策略、Snapshot的保留期限与源端Snapshot的保留期限相同

追加信息

 

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.