ONTAP Discussions

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

TanAlex666

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

3 REPLIES 3

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

Trubida

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.

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

TanAlex666

Thanks a lot!

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

Trubida

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

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public