跳转到主内容

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

Views:
177
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_ssource_Snapshot 策略规则仅支持这些标签的两种组合、即sm_created或sm_created和all_ssource_Snapshot。 

mirror-vault

允许灾难恢复和存储到同一个卷。将  源的活动文件系统复制到目标、并允许目标将数据保留更长时间。数据会使用sm_created或系统定义/自定义 规则进行复制、并根据用户定义的Snapshot标签使用用户定义的规则进行更长时间的保留。 
vault 仅限存储备份和备份。此策略类型用于将关系定义为SnapVault、而不是版本灵活的SnapMirror。
同步镜像和严格同步镜像 这些策略类型用于同步灾难恢复、并且只有FlexVol卷之间的扩展数据保护(XDP)关系才支持这些策略类型。在向客户端确认写入之前、对主系统的所有写入都会复制到二级系统。 strict-sync-mirror  变体会在复制失败时限制主  系统上的更多客户端IO、而sync-mirror 变体则不会限制。这些策略类型不支持复制用户Snapshot副本

默认策略:

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.