June 21, 2010

Snapvault - It's all about the "hyphen"

As part of the ongoing quest for filling #superphastmopho with NetApp simulators and Exchange servers I decided that SnapVault as well as SnapMirror would be something great to implement. Why? Goodness knows why. Because it's fun perhaps.
Anyway, there is no GUI for SnapVault at all. It's all command line. I spent a long time messing around with it because I just couldn't manage to punch the right words into NOW to get the necessary syntax out. So here's whatchadoo to get it all working.

Make sure you're licensed. The source is the primary and the target is the secondary.
Create a volume on the secondary
On the primary execute options snapvault.access and options snapvault.enable
On the secondary execute your equivalent of this:
snapvault start source:/vol/vol_name/- target:/vol/vol_name/qtree (note that the /- is essential and the qtree should not actually exist already.
If you don't remember the /- you're going to be troubleshooting for a long time. Right up until the point you remove the destinations and start again.

In case you too are also having search problems, this: http://now.netapp.com/NOW/knowledge/docs/ontap/rel733/html/ontap/onlinebk/GUID-67A4A9AB-DBD5-4040-B52B-B62EB06F2BBD.html is what you need.

0 comments: