Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
I do not see a Command in WFA to allow me to execute a SnapRestore function. If I wanted to create a workflow to do a volume SnapRestore, would I have to create a SnapRestore command? I have not looked at all of the possible commands that exist in the ZAPI that are not in WFA, but is there a list? And are there plans to add to the WFA Command set?
Thanks.
-tom
Hi Tom,
There is no command for snapshot restore (volume) in WFA1.1.1 or WFA 2.0.
We can write a new command using snapshot table. By default snapshot information/table are not cached in WFA database. This can be enabled from WFA -> Tools -> Wfa configuration -> other (tab). Mark 'enable snapshot caching'.
Thanks, that helps.
Is there a matrix of what commands exist/do not exist in WFA and a list of those that are being added (with timeframe)
True statement, however we ran into the need for this. Have already created this command as well as a workflow that demonstrates how to use the command. Had to use Perl as the PowerShell implementation of snap restore requires an interactive mode to be used (i.e. answering a pop-up question of "are you sure...").
Testing the Perl code and hopefully will publish the workflow and command (as well as update the Pirate Pack for Storage Provisioning) at some point tomorrow.
Here you go. The attached file includes the command "yaron_Restore Volume from Snapshot" as well as the workflow "Restore a Volume from Snapshot".
A few notes:
That's it. I will update the Pirate Pack for Storage Provisioning to include this workflow as well.
Thank you for raising this question during the WFA session yesterday. Let me know if you have any additional questions.
Yaron
Hey Yaron,
This is great. Just one comment....
The next time the 'Storage' cache is refreshed, the overall Storage caching schema will be recreated... and you will now be caching the Snapshot information.
hope this helps,
Kevin.