简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
转换 SnapMirror 同步关系的模式
贡献者
-
本文档站点的 PDF
- NAS 存储管理
单独 PDF 文档的收集
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
从 ONTAP 9.5 开始,支持 SnapMirror 同步关系。您可以将 SnapMirror 同步关系的模式从 StrictSync 转换为 Sync ,反之亦然。
关于此任务
您不能修改 SnapMirror 同步关系的策略来转换其模式。
步骤
-
从目标集群中,暂停现有的 SnapMirror 同步关系:
snapmirror quiesce -destination-path dest_SVM:dest_volume
cluster2::> snapmirror quiesce -destination-path vs1_dr:vol1
-
从目标集群中,删除现有的 SnapMirror 同步关系:
snapmirror delete -destination-path dest_SVM:dest_volume
cluster2::> snapmirror delete -destination-path vs1_dr:vol1
-
在源集群中,释放 SnapMirror 关系而不删除通用 Snapshot 副本:
snapmirror release -relationship-info-only true -destination-path dest_SVM:dest_volume
cluster1::> snapmirror release -relationship-info-only true -destination-path vs1_dr:vol1
-
在目标集群中,通过指定要将 SnapMirror 同步关系转换到的模式来创建 SnapMirror 同步关系:
snapmirror create -source-path vs1:vol1 -destination-path dest_SVM:dest_volume -policy Sync|StrictSync
cluster2::> snapmirror create -source-path vs1:vol1 -destination-path vs1_dr:vol1 -policy Sync
-
从目标集群重新同步 SnapMirror 关系:
snapmirror resync -destination-path dest_SVM:dest_volume
cluster2::> snapmirror resync -destination-path vs1_dr:vol1