NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Seek for Python Script example(Role Swap-Snapmirror) of ONTAP Select 9.8 API

TanAlex666
5,003 Views

Hi Mates/Experts,

We have deployed ONTAP Select 9.8 to run the sync mode between two sites instead of VMAX.

Currently,will need deploy automatic role swap and DR drill between two sites with ONTAP Select API.

Please help to provide Python Script example for DR failover/failback.

Or where can we find such related resource.

Thanks in advanced.

 

Alex

1 ACCEPTED SOLUTION

Trubida
4,896 Views

File is attached as .txt as .yml wasn't allowed.  You will need to rename the file and make a few tweaks for your environment.

View solution in original post

3 REPLIES 3

Trubida
4,940 Views

I have an Ansible playbook that will do this for you.  Let me know if that will work for you and I will get it uploaded.

TanAlex666
4,918 Views

Thanks a lot!

Trubida
4,897 Views

File is attached as .txt as .yml wasn't allowed.  You will need to rename the file and make a few tweaks for your environment.

Public