Accepted Solution

VSC 4.2.1 and Clustered Data OnTap SnapMirror

[ Edited ]

Hi all


I've installed a cDOT system on a customer site. They're using vSphere 5.0U1 at the moment so I need to install VSC 4.2.1 and cannot use VSC 5.0.

Is there a possiblity to use SnapVault (aka SnapMirror XDP) for cDOT with VSC 4.2.1 or do I have to upgrade to VSC 5.0?

I think there are no SnapMirror-labels with VSC 4.2.1 or are there?


Kind regards


Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror

Now I've made a script for it because I had the problem with a big customer with SnapMirror XDP and a SnapMirror DP cascade.

The installation and what it covers is described in the documentation.


Try it and let me know if it needs any enhancements or there are any bugs.

Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror


Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror


Thank you so much for the script, I have been searching for this solution from few days, However, I need few modifications in this script, Could you please help me to get proper script to match my requrirement


I am using VSC 4.2.1 and doing the snapmirror from vol A to vol B, Now I want to set snapvault relation from Vol A to Vol C( new volume) by using the snapshot created by VSC for snapmirror update.


At the moment VSC  creating hourly, daily and weekly snapshots and performing mirror updates, Now I want to select only weekly recent snapshot send to vault and I dont want hourly and daily recent snapshot), In your script, you are selecting the recent snapshot with tailend parameter recent, Could you please let me know, if there is a way to select only weekly recent snapshots, but not the hourly and daily


EX: hourly snapshots SMVI_<VSC_hourly_xxxxx>_novmsnap_recent

Daily snapshots SMVI_<VSC_daily_XXX>_novmsnap_recent

Weekly snapshots SMVI_<VSC_weekly_XXX>_novmsnap_recent


and I can remove the snapmirror casade update  part , as I need only vault update.


looking for an update on this.


Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror



You can create a new backup job for weekly updates in VSC and just add the script there. The case would be hourly and daily in one job and weekly backups in another job with the script attached. In my opinion this should work.


If you don't have any cascades on the SnapVault destination volumes the script will do nothing.


If something don't work send me a message and we can correct it. I hope it will work ;-)



Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror

Hi Syntaxerror

Is there anyone tested/verified this script for 8.3x already? Is there any differences? Struggling  a bit for the moment.

Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror

Hi semni


I've tested it with cDOT 8.3RC2 and it should work... attached is the new and tested version...


I had a problem with VSC on a 2012R2 Server installed and I can't use HTTPS at the moment and don't know why...

Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror

I've installed the PS script and conf file in...

D:\Program Files\NetApp\Virtual Storage Console\smvi\svvmcdot


When I run the script I get this in the log file...

Started Script version 14052015065816 at 14-05-2015 06:58:16
Param user: svvmcdot_user
Param password is hidden
Param snapmirror-label: vsc_daily

Config file does not exist!
Please create the config \svvmcdot.conf with the following content:


The only way I could make this work is by the following...


Move the conf file to...

D:\Program Files\NetApp\Virtual Storage Console\smvi\server\scripts

And remove the "\" from this line...

$configfile = "$PSScriptRoot"+"\svvmcdot.conf"

So that it looks like this...

$configfile = "$PSScriptRoot"+"svvmcdot.conf"


I really don't want to keep the conf file in the scripts directory, because it shows up in VSC when creating jobs.  Is there a simple fix for this?

Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror

Have you found the fix for it?


Which version of Powershell is installed?

Re: VSC 4.2.1 and Clustered Data OnTap SnapMirror

[ Edited ]

Hi Syntax,


I have used your scripts both new and old, but I can't get to continue the process. It is stucked on data protection part. Can you give me advice or suggestions on this? I have attached a portion of the log below:

Hoping to get a response from you soon. Thanks!





Rename Snapshot smvi_test_novmsnap_recent to smvi_test_novmsnap_20151026233619 for Volume esx_ds_t060_lin_app_vol_Vault...
Searching for data_protection destinations for Volume esx_ds_t060_lin_app_vol_Vault...


Ended script (version 26102015223739) at 26-10-2015 22:38:23