ONTAP Discussions

Automating Ontap CDot configuration using scripts


Hello Friends, 


I am trying to find out if there are any scripts available to automate CDot configuration. 


My purpose of this script is for a refresh project, We have to configure new NAS locally , reconfigure after data copy and ship it to remote site. 


Where do I start first to create customized scripting?



Thank you,




Hi Prakash,


There are a number of options, you can use the Data ONTAP powershell toolkit to automate deployment and configuration assuming you are working in windows environment.

You can download it here:




Alternately if you working in a UNIX environment and you need to write scripts in Perl or Ruby you can download the NMSDK here:




However rather than developing "scripts" you might also consider developing workflows that can invoked via a REST API using OnCommand Workflow Automation (WFA)

You can download WFA here:


http://mysupport.netapp.com/NOW/download/software/ocwfa/4.0/ (windows)

http://mysupport.netapp.com/NOW/download/software/ocwfa_linux/4.0/ (Linux)


WFA includes a number of example workflows to deploy vservers and provision NAS workloads. Optional content downloads are available via the automation store here:




You can also use API services




There are multiple options, your choice really depends on your requirements.



If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner