Thursday, March 1, 2018

Convert ALL snapmirror DP relations to XDP with WFA



I was asked to automate the conversion of all snapmirror relations from DP to XDP.
So here is a workflow (version 4.1) that should work as an example.

It asks for the new mirror-vault snapmirror policy name and lists your snapmirror relations (all of them)

Obviously you can now tune the filter to match certain clusters, svm's, volumes etc...
=> just add stuff like
 AND src_cluster.name = ‘${MyClusterName}’
 AND src_vserver.name = ‘${MySvmName}’
 AND src_volume.name REGEXP ‘${MyVolExpression}’

All command are WFA native and have perl & powershell code, so you should be fine on both windows & linux distributions.

Download DAR

Have fun

No comments :

Post a Comment