Active IQ Unified Manager Discussions

symlink wfa help

MPERIYAK

All

I am trying to work on a simple workflow for creating a symlink. I am attaching the WFA command I created which works fine, but the trouble is when I insert this into creating a new workflow and matching the variables. I am very new to this WFA and it is confusing after this step. Can anyone help me create this workflow so I can learn and progress.

All I am trying to do is a symlink creation using New-NaFileSymlink PS

For my needs my first selection should be a vFiler and then choose the corresponding qtrees/volumes on that particular vFiler.

 

My command summary

New-NaFileSymlink /vol/vol_cifs/ftp_qtree /vol/ftplinks/ftpid

FTPID - ftpid (input by the user)

FTPVolumeName - ftplinks

Qtree Name - ftp_qtree

VFilerName - vfiler1

Volume Name - vol_cifs

MY COMMAND INFO ( for some reason I cant attach my dar file)

param (

  [parameter(Mandatory=$true, HelpMessage="Volume name")]

  [string]$VolumeName,

  [parameter(Mandatory=$true, HelpMessage="Qtree name")]

  [string]$QtreeName, 

  [parameter(Mandatory=$true, HelpMessage="vFiler name")]

  [string]$VFilerName,

    [parameter(Mandatory=$true, HelpMessage="Array name or IP address")]

  [string]$Array, 

  [parameter(Mandatory=$true, HelpMessage="FTP Volume Name")]

  [string]$FTPVolumeName,

  [parameter(Mandatory=$true, HelpMessage="FTP ID")]

  [string]$FTPID

)

  # connect to controller

Connect-WfaController -Array $Array

# Set QtreePath

$QtreePath = "/vol/" + $VolumeName + "/" + $QtreeName

$FTPpath = "/vol/" + $FTPVolumeName + "/"+  "/" +$FTPID

 

New-NaFileSymlink $QtreePath $FTPpath

3 REPLIES 3

nicholaf

I know of a Professional Service Engineer that is now the Principal Technical Architect that is very skilled with Powershell scripts like these. His name is John Fullbright. You could try e-mailing him at John.Fullbright@netapp.com & see if he has a moment to review your script. I'm sure a script like this would be very trivial for him.

Here is a link to his forum profile as well: https://communities.netapp.com/people/fjohn

Regards,

Nicholas Lee Fagan

abhit

Can you please paste a screen shot of the screen where you are exactly facing the problem?


Regards,

Abhi

MPERIYAK

I have managed to get this working. Thanks.

Announcements
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.

Public