ONTAP Discussions

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

TanAlex666
1,064 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
957 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
1,001 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
979 Views

Thanks a lot!

Trubida
958 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