ONTAP Discussions

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

TanAlex666
4,436 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,329 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,373 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,351 Views

Thanks a lot!

Trubida
4,330 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