メインコンテンツへスキップ

SnapMirrorポリシータイプとは何で、どのような意味がありますか?

Views:
5,977
Visibility:
Public
Votes:
1
Category:
snapmirror
Specialty:
dp
Last Updated:

 

環境

  • clustered Data ONTAP 8.3
  • ONTAP 9 

回答

SnapMirrorポリシータイプは、clustered Data ONTAP 8.3以降でVersion-Flexible(ONTAP 9以降ではUnified Replicationとも呼ばれる)SnapMirror関係用に導入されました。これらのポリシータイプはSnapMirror関係の動作に大きな影響を与え、レプリケートおよび保持するデータの選択においてより柔軟性を提供します。新しいポリシータイプを使用するための追加のデフォルトポリシーも作成されています。

ポリシー タイプ 定義
async-mirror DPミラーと同様に動作します。このポリシータイプは、ユーザ定義のSnapshotラベルを使用するルールをサポートしません。定義済みのラベルは2つだけ許可されます。
sm_created および all_source_snapshots ポリシールールでサポートされるラベルの組み合わせは、sm_createdのみ、またはsm_createdとall_source_snapshotsの両方の2通りだけです。 

mirror-vault

DRとVaultingの両方を同じボリュームで許可します。ソースのアクティブ ファイル システムをデスティネーションにレプリケートし、デスティネーションでより長い保持期間データを保持できます。データはsm_createdまたはシステム定義/カスタムルールでレプリケートされ、ユーザ定義のSnapshotラベルに基づくユーザ定義ルールで長期間保持されます。 
バックアップ Vault とバックアップのみ。このポリシータイプは、Version-Flexible SnapMirror ではなく SnapVault として関係を定義するものです。
sync-mirror および strict-sync-mirror これらのポリシータイプは同期Disaster Recoveryに使用され、FlexVolボリューム間のExtended Data Protection(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.