Looking to automate the clone, mount and share creation from snapmirror destination volumes. I was toying with the idea of creating a snapshot from a script at the source (something as simple as DR), and then creating a script at the destination that would create a clone using "DR" as the parent. This doesn't work because we are using the mirror-vault relationships, and this won't copy all snapshots (I would hope they would change this at some point, but I am not holding my breath).
I can update the snapshot policy to create a single snapshot with the smlabel DR, and that sorta works out here. The snapshot winds up being named:
If there is only one of these at the destination, I am looking for a way to select whatever is labeled "dr.*" as the parent snapshot.
The traditional way of DR in ONTAP is just a standard snapmirror (or MirrorAndVault if you want to control the retention), and failing-over using the base snapshot, that's a bit more straightforward with reverse, and also (if done right) locks your source to write while you active in DR.