Perl ZAPI DFM Workflow example - Create CIFS share on vFiler, No SSH on DFM server needed!!

by bdave Former NetApp Employee on ‎2012-07-25 02:17 PM - edited on ‎2014-09-25 03:12 PM by allison Former NetApp Employee

Workflow for creating storage for a CIFS share, setting up the share, setting up a secondary volume on a different controller, creating a Dataset with a Protection Policy of "DR Mirror", adding both the primary and the secondary volumes to the dataset as nodes, creating a resource group (if it doesn't exist), and adding the primary volume to the group (for chargeback).

 

DFM commands are written in Perl and use the NMSDK perl modules to talk to ZAPI on the DFM server.  Does not require SSH, but does require Credentials for the DFM server to be added.  Can't "Test" DFM credentials in WFA 1.1.1 without SSH.  Plug them in and "test" by executing the workflow.

 

Built for WFA 1.1.1.

Comments

I do not find dar files in this.if you have those files.Can you please share with me.I am looking for the Perl WFA commands.

Warning!

This NetApp Community is public and open website that is indexed by search engines such as Google. Participation in the NetApp Community is voluntary. All content posted on the NetApp Community is publicly viewable and available. This includes the rich text editor which is not encrypted for https.

In accordance to our Code of Conduct and Community Terms of Use DO NOT post or attach the following:

  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information
  • Copyrighted materials without the permission of the copyright owner

Files and content that do not abide by the Community Terms of Use or Code of Conduct will be removed. Continued non-compliance may result in NetApp Community account restrictions or termination.