转换 SnapMirror 同步关系的模式
从 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 关系,但不删除公共的快照拷贝: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
提供反馈