Data Infrastructure Management Software Discussions
I need to build a workflow for creation of clone from parent volume and add it to the vfiler and NFS export as well.
Here i would like to give the user input's as
5.NFS export hosts
Please assist me to build this workflow.
See The Solution
There is a workflow named "Clone Environment" bundled with WFA.
You can look into it. It will surely help you to get started.
Let us know if you have any more queries.
"Clone Environment " bundle has given me some idea.
But i would like to get the Array name , volume name , snapshots and vfiler names in a drop down list .
Its possible to implement this?
It is possible to implement this.
"Create a Qtree CIFS Share in a vFiler" will give you an idea how you can have "Array name", "Volume Name", "vFiler names" in a drop down list.
Adding to Abhi's answer.
Navigate to setup from your workflow designer page.
Go to "user inputs" tab.
Select the input that you want in a drop down list and change type to query.
Double click on it and go to the Query Section where you can specify a query to retrieve whatever vfilers you want.
Example of a query can be seen in the "create Qtree CIFS share in a vFiler" workflow as mentioned by Abhi
7-Mode or cDOT?
in the first step, you have to enable the snapshot acquisition.
afterwards you can import the attached workflow. please let me if the WF fits your requirements, thx and regards jens
The workflow looks good. but how can i change the user input tab?
I would like to give the clone volume name manually and also i need to add the newly created clone volume to vfiler.
Please suggest ...
You can use a string user input in order to give the clone volume name manually, if you don't need a drop down.
To add the newly created volume to vFiler, you can look into the "Create a Qtree CIFs share in a Vfiler" workflow's,
"Create Volume" command code.
How can i add the newly created clone volume to the vfiler ?
Then i am unable to add new values in user inputs tab on the setup
Look in the command "Create Volume" command code in "Create a Qtree CIFs share in a Vfiler" workflow.
If vFilerName is specified then this will add Volume to the VFiler.
# Add storage to vFiler
Get-WFALogger -Info -message $("Adding storage " + $VolumeName + " to vFiler " + $VFilerName)
Set-NaVfilerStorage -Name $VFilerName -AddStorage $VolumeName
Can you please clarify what you meant by "i am unable to add new values in user inputs tab on the setup"?
I am getting below error while adding the volume to vfiler
What i am missing here ?
It is failing in the planning stage. It is not going to the point where the command code
is to be executed to add the volume to the vFiler.
"Define vFiler" should define an object.
Put something like vFilerObj in the "Define vFiler" box.
$VFilerName is where you actually specify the name of the vFiler.
vFilerObj object will be automatically created in the above screens,
by searching for the vFiler Name specified in $VFilerName.
to connect the vFiler, please check the following: https://communities.netapp.com/message/97132#97132
So I've modified my example workflow for you with all the necessary Definitions & Parameters.
so feel free to import the WF and let me know, if there any questions left ..
thx and regards
Hi Abhi /Klein,
Thanks a lot. the workflow works great with the help of you guys.
I have one doubt, When we export the newly created volume to some IP's from this workflow that will append to the existing value on the /etc/exports file or it will overwrite ?