NetApp WFA Quick Tip: Using Direct 7-Mode and cDOT Datasources

One of the cool things about NetApp’s OnCommand Workflow Automation (as is cool with any modern automation platform) is the ability to have pre-populated fields and selectors within your workflows.  In most cases you’re going to be using WFA to automate a task that will need to interact with a NetApp FAS 7-Mode or Clustered Data ONTAP disk array.  WFA has this capability by default, but wants you to use an OnCommand Unified Manager (UM) server as the proxy to the FAS array’s configuration data.  Not everyone uses Unified Manager (although they should – blog post for another time).  If I’m looking to leverage WFA at a client, I’m not necessarily going to rely on Unified Manager always being there.

Fret not!  The WFA team at NetApp has created a work-around for the UM-challenged.  A Direct 7-Mode and cDOT Datasource has been created for the sole purpose of circumventing UM.  Just beware you’re pulling configuration data directly from your array.  Not that this is anywhere near performance impacting, it’s still probably not something you want to be doing every 5 minutes.  The default collection setting in WFA is 1440 minutes.  I usually leave this at the default and will manually have the data source collect configuration data before kicking off workflows.

wfa_direct_01
Default WFA Datasources

The setup for this is fairly straightforward:

  1. Download the DAR files from the link above (NetApp Communities page – DAR file links are at the bottom of the page).
  2. Import the DAR files into WFA.
WFA Import DAR Files (3rd Party Workflows)
WFA Import DAR Files (3rd Party Workflows)
  1. Create new credentials for the arrays that you will be using.
Create WFA Credentials for ONTAP
Create WFA Credentials for ONTAP
  1. Lastly, define your new Datasource using the correct Datasource type.
Create WFA Direct 7-Mode or cDOT Datasource
Create WFA Direct 7-Mode or cDOT Datasource
  1. Make sure everything works properly after creating the Datasource.  You should see a status of “Completed” in the lower half of the Datasource screen.
wfa_direct_05
WFA Datasource Collection Status
  1. If the collection status comes back as “Completed”, then you’re all set to start kicking off some workflows!  The fields in the example below (red arrows) show fields auto-populated from the Datasource collection.
wfa_direct_06
Arrows point to fields auto-populated from the defied Datasource.

 

Happy scripting!!

Leave a Comment