2 Replies Latest reply: Apr 21, 2013 8:26 PM by karale RSS

Workflow to create a CIFS and/or NFS Vserver

Currently Being Moderated

I put together a workflow to create a new Vserver with CIFS and/or NFS enabled.  This required creating a couple extra commands to create unix users and groups, set the default unix user for cifs, and setup user mapping.  I just wanted to share and get some feedback if there are some better ways to do some of these things.


A couple of other notes, this prompts for almost all inputs but does make a few assumptions, for the root volume it is <vserver name>_root and for the name switching it is set to use file.  Also I have not resolved a method for unlocking and setting a password for the vsadmin account but will in the future.  Also I have separate interfaces created for NFS, CIFS, and Management, but you could tweak to setup the number of interfaces you want.


For the commands I created I used the Invoke-NcSsh powershell commandlet as commandlets did not exist for what I wanted to do and as far as I could tell doing it via perl was not an option either.  The Invoke-NcSsh commandlet included with WFA threw an error so I replaced the powershell commandlets provided with WFA with the latest ones available and then it worked fine


Thank you.


WFA Version -

More Like This

  • Retrieving data ...