2017-09-23 03:09 PM
for a DR-Solution we need one command to break all snapmirror-destinations on secondary site.
Is it possible to break all Snapmirror-relations for a vserver or destination-cluster with one Command on cluster-shell ?
command like this:
destination-cluster::>snapmirror break -destination-vserver dr-vserver: -force
Solved! See The Solution
2017-09-25 03:37 AM
Hello, yes you can use wildcards in the snapmirror command...
cluster2::snapmirror> snapmirror break -destination-path svm_dst1:*
Operation succeeded: snapmirror break for destination "svm_dst1:vol2_dest".
Operation succeeded: snapmirror break for destination "svm_dst1:vol3_dest".
Operation succeeded: snapmirror break for destination "svm_dst1:vol4_dest".
3 entries were acted on.
Have you also considered using the Storage Virtual Machine Disaster Recovery (SVM DR) feature? This will allow you to SnapMirror the SVM (either with -identity-preserve set to true or false) from a single command, since all volumes owned by the SVM are managed by a single schedule and all SnapMirror commands apply to the SVM not individual volumes.
Note: However it is not compatable from SnapManager products, since the updates must be from ONTAP.
For more info see Data Protection Using SnapMirror and SnapVault Technology: https://library.netapp.com/ecm/ecm_download_file/ECMLP2494079 page 69.
Hope this helps,