Subscribe
Accepted Solution

Lun Create WFA Workflow Question

Im looking to create a workflow that will create a LUN under an existing volume, create an iGroup and then assign initiators to the igroup. My question is this, can I have fields in WFA be made for user input? Specifically the LUN name and the iGroup name, the initators themselves will need to be manually input too. Obviously its not really "automated" when you have user inputs, but we have specifics in what we name LUN's and iGroups so a little user intervention is needed.

 

Thanks!

Re: Lun Create WFA Workflow Question

Justin,

 

   You can have an input for iGroup and Lun names, or you can create the names from an input variable.  For example, if you want to use a server name as your iGroup name and part of the lun name you can have an input varibale named $server and use this in the iGroup object definition in the name field and use it in the lun object creation as well.  You may not need to input the Initiators WWNN's, as these may be already available to the WFA cache.  So you should be able to use a multi-select query to allow the user to select them from a table.

 

Mike

Re: Lun Create WFA Workflow Question

Say for instance I want a server name for LUN name as well as the iGroup name too.

 

The field below is for the LUN create WFA but not sure what paramater I can type there.

Re: Lun Create WFA Workflow Question

Justin,

     Just type in your variable name $Server in the name field for both the "Create LUN" and "Create iGroup" commands.   then when you go back to your "User Input", the variable will show up and you just need to make sure it is a "string" variable.  If you are good at MREL you can force the format of the user input as well.

 

Mike

Re: Lun Create WFA Workflow Question

Looks like that will do the trick and Im not sure I need to force anything at this point yet Smiley Happy

 

One more question though, When Im maping a LUN, I want it to use the LUN name of in the previous step. Is there a way to add that, or should I just do a user input there as well?

Re: Lun Create WFA Workflow Question

I think I figured it out..... Ill post here what I did if i works.

Re: Lun Create WFA Workflow Question

[ Edited ]

So Im having the create lun workflow create a lun based on a volume that gets automatically searched. I have it search for "find volume by name in a give storage virtual machine" I put the cluster name, volume name and SVM and get this error when previewing my Workflow.

 

Failed to evaluate resource selector. Illegal expression: seatssan01
At command 'Create LUN', tab 'Lun', variable 'new_lun', property 'volume'

 

Im using the finder itself and typing in the same fields and its not coming back with any info. Am I missing something?

Re: Lun Create WFA Workflow Question

Justin,

     Is seatssan01 the name of the volume, or is it the name of the variable that contains the volume name?  I would use the query option in the user input to "select" the volume name instead of habving someone input it.  That way you know the volume exists.

 

Mike

Re: Lun Create WFA Workflow Question

Its the name of the SVM that contains the volume.

Re: Lun Create WFA Workflow Question

Justin,

    You may need to put it in "seatssan01".

Mike