ONTAP Discussions
ONTAP Discussions
Hello, friends. I have two clusters who once had SnapMirror relationships, but we're breaking up the band. I deleted the SnapMirror relationships, vserver peers, and cluster peers on the destination side but failed to do anything like that on the source side. Now there's cluster peer relationship and several stale SnapMirror relationships visible on the source side that I can't delete.
Thankfully some network connectivity still exists, because I was able to recreate the cluster peer relationship. The destination vserver on the destination cluster has since been deleted, however, so further commands to "snapmirror release" on the source cluster still fail because it can't find the destination vserver.
Anyway, that's all quite a lot. Really the goal here is to delete (forcibly, if necessary) the cluster peer relationship. Any ideas to get rid of these stale dependencies?
Thanks!
Have you tried the "snapmirror release -destination-path <path> -force true" command from the source cluster? Should forcibly remove the relationship.
I have, yeah. Any "snapmirror release" command from the source cluster (at any permission level, admin/advanced/diag) results in
Error: command failed: Failed to get information for Vserver [deleted destination vserver]. (entry doesn't exist)
Hmm, in that case you may need to temporarily rebuild the destination SVM/DP vol, re-initialize the relationship, and then perform the snapmirror release to get everything to clean up properly.
That's what I would try, someone else might chime in with a better idea though. 🙂
Darn the luck, it didn't work. I was able to recreate the SVM peer relationship, recreate DP volumes, re-establish and initialize the relationship, and then delete-and-release properly, but there's still an artifact of that relationship on the source cluster. I might have to reach out to support after all.
Please try
::>* vserver peer delet -vserver abc -peer-vserver xyz -force
::>* vserver peer delet -vserver abc -peer-vserver xyz -force