varunrai / fsx-ontap-scripts

Various automation scripts for Amazon FSx for NetApp ONTAP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fsx-ontap-scripts

Various automation scripts for Amazon FSx for NetApp ONTAP

sm-dp-volume-clone.py - The script allows a DP volume in a SnapMirror Relationship to be cloned for testing.

  • Check for the SnapMirror Relationship for the Destination Volume
  • Check and Delete Clones (created previously)
  • Resync SnapMirror if in Broken-Off state
  • Wait for sync to complete
  • Break the SnapMirror Relationship
  • Create Clone

Note

There are several ways of creating a clone one of which does not require breaking the SnapMirror relationship. This scenario is meant for non-prod environments where continuity of SnapMirror is not essential and the environment requires the latest data when performing the clone refresh.

About

Various automation scripts for Amazon FSx for NetApp ONTAP

License:MIT License


Languages

Language:Python 53.4%Language:Shell 46.6%