跳转到主内容

This Site will be down for up to 3 hours on December 2, 2023 from 8 PM - 11 PM PST, to deploy an infrastructure update.

SnapMirror策略类型是什么?它们的含义是什么?

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

可不使用  

适用场景

  • 集群模式 Data ONTAP 8.3 
  • ONTAP 9 

问题解答

从集群模式Data ONTAP 8.3开始、为版本灵活(在ONTAP 9及更高版本中也称为统一复制)的SnapMirror关系引入了SnapMirror策略类型。这些策略类型会对SnapMirror关系的行为产生显著影响、并可在选择要复制和保留的数据时提供更大的灵活性。此外、还创建了其他默认策略来使用新策略类型。

策略类型 定义
async-mirror 其行为与DP镜像类似。此策略类型不支持包含用户定义的Snapshot标签的规则。它仅允许使用两个预定义标签
sm_created和all_source_snapshots 对于这两个标签,此策略规则仅支持两种组合形式,即sm_created或者sm_created和all_source_snapshots。 

mirror-vault

允许灾难恢复和存储到同一个卷。将源的活动文件系统复制到目标、并允许目标将数据保留较长的保留期限。数据会使用 sm_created 或系统定义/自定义规则进行复制、并使用基于用户定义的Snapshot标签的用户定义规则保留较长时间。 
vault 仅存储和备份。此策略类型将关系定义为SnapVault 、而不是版本灵活的SnapMirror。

默认策略:

clusterA::> snapmirror policy show
Vserver Policy             Policy Number         Transfer
Name    Name               Type   Of Rules Tries Priority Comment
------- ------------------ ------ -------- ----- -------- ----------
clusterA
        DPDefault         async-mirror  1     8  normal  Default policy for DP relationship.
  SnapMirror Label: sm_created                         Keep:       1
                                                Total Keep:       1
 
clusterA
        MirrorAllSnapshots async-mirror  2     8  normal  Asynchronous SnapMirror policy for mirroring all snapshots and the latest active file system.
  SnapMirror Label: sm_created                        Keep:       1
                    all_source_snapshots                           1
                                                 Total Keep:       2
 
clusterA
        MirrorAndVault    mirror-vault  3     8  normal  A unified Asynchronous SnapMirror and SnapVault policy for mirroring the latest active file system and daily and weekly snapshots.
  SnapMirror Label: sm_created                         Keep:       1
                    daily                                          7
                   weekly                                        52
                                                 Total Keep:      60
 
clusterA
        MirrorLatest      async-mirror  1     8  normal  Asynchronous SnapMirror policy for mirroring the latest active file system.
  SnapMirror Label: sm_created                         Keep:       1
                                                 Total Keep:       1
 
clusterA
        XDPDefault        vault         2     8  normal  Default policy for XDP relationship with daily and weekly rules.
  SnapMirror Label: daily                              Keep:       7
                    weekly                                       52
                                                 Total Keep:      59

 

追加信息

在此处添加您的文本。

 

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.
Scan to view the article on your device