<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WFA command duration timeout in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/111044#M19608</link>
    <description>&lt;P&gt;Rutul,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I think you will need to know what is and how to use a "Wait for condition" command. Now that's a different topic and needs a different thread from the original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly post all your queries on a separate thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2015 07:46:34 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2015-10-13T07:46:34Z</dc:date>
    <item>
      <title>WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/109650#M19339</link>
      <description>&lt;P&gt;When you create a new command in WFA you can spedify a timeout from the Command Properties tab (it is not the connection timeout as discussed in this post&amp;nbsp;&lt;A href="https://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/WFA-command-timeout/m-p/5335#M1197)" target="_blank"&gt;http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/WFA-command-timeout/m-p/5335#M1197)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If the command does not finish before the end of this timeout, WFA abort the command (get msg: "Command command_name -param1 value1 -param2 value2 ... timed out")&lt;/P&gt;&lt;P&gt;From the&amp;nbsp;&lt;SPAN&gt;Command Properties tab you can only set the timeout in the range of 10 to 10800 seconds &amp;nbsp;(10800 s = 3 h)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I plan to create a Worflow which launch a snapmirror(vault) and wait the initialization or the update before continuing other command. The vault update or initialization duration can be longer than 3h (the maximum limit of a WFA command timeout).It is my issue. So is it possible to set a longer timeout or disable timeout (infinite timeout)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 23:20:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/109650#M19339</guid>
      <dc:creator>christig</dc:creator>
      <dc:date>2025-06-04T23:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/109700#M19351</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I can tell you how to achieve this. You need to divide your command in smaller modules or sub-commands based on what they do. &amp;nbsp;There are two tasks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Launch Snapmirror( vault)&lt;/P&gt;&lt;P&gt;2. Wait for Initialization or Update to complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The waiting task is what is expected to take a long time. So the 2nd task &amp;nbsp;can actually be a 2nd command and of &lt;FONT color="#008000"&gt;type= Wait for Condition&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;You must know that a command of type: Wait for Condition is allowed a maximum timeout of:&lt;FONT size="2"&gt; 999999&lt;/FONT&gt; seconds (277.78 hrs) &amp;nbsp;and not just 10800 seconds ( 3hrs) which is for a standrad command.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Something like Below:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/3603i49BEF46CF37BD207/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Wait for Snapmirror Inintialize.png" title="Wait for Snapmirror Inintialize.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A Wait for Condition type of command is a special command, it Re-executes the command code after the Waiting Interval ( see above in image ) period. It stops execution cycles if the cmdlet Set-WfaCommndProgress gets 100 for the Parameter -ProgressPercentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WFA has some commands of type Wait for Conditions like Wait for Aggregate online. You can see them for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 08:40:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/109700#M19351</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-09-11T08:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/109702#M19352</link>
      <description>&lt;P&gt;Perfert&lt;/P&gt;&lt;P&gt;Thank a lot&amp;nbsp;for your valued help&lt;/P&gt;&lt;P&gt;It is exactly what I need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 12:15:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/109702#M19352</guid>
      <dc:creator>christig</dc:creator>
      <dc:date>2015-09-11T12:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110860#M19575</link>
      <description>&lt;P&gt;I am developing workflow in which i have to put command which is just waiting time entered by end user (lets say 48Hrs).How waiting time interval option can help in this command to keep for 48hrs as standard execution doesnt allow more than 3 hrs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In powershell we have command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$Time = $Time*60*60&lt;/P&gt;&lt;P&gt;"Start-Sleep -s $Time"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I entered value 10 in waiting interval.So in which condition this command will get completed?What condition I should keep to complete this command?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 06:45:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110860#M19575</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2015-10-09T06:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110862#M19577</link>
      <description>&lt;P&gt;Then you need to trick your WFA command. Let's see how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Have your command of type "Wait for Condition"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This allows you a timeout maxmimum of 277+ hours. Put any Time-Out value as you wish. Put waiting Interval(s) as 10800&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Have anything in your command code as you want. Just at the end add this line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Set-WfaCommandProgress -Total 1 -Current 1 -ProgressPercentage 100&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The logic :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the fact that a "Wait For condition" is command same as the standard command except that it repeats its execution after a give "Waiting Interval(s)" till the cmdlet Set-WfaCommandProgress doesn't send it to stop with ProgressPercentage as 100 or the Command Time-out is reached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm doing all I want, and in the end I signal that this command should Finish execution and not re-execute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This allows any my comamnd to have time-out far much larger than 3 hours allowed for a standard command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to "Test" this command?&lt;/P&gt;&lt;P&gt;In command Edit window, Test button is disabled. But its allowed to "test" at the command view upon right-click or tool-bar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have fun.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 07:20:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110862#M19577</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-10-09T07:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110863#M19578</link>
      <description>&lt;P&gt;What is the meaning of &amp;nbsp;switches -Total and -Current in SerWfaCommandProgress command&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 07:28:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110863#M19578</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2015-10-09T07:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110864#M19579</link>
      <description>&lt;P&gt;Go to your Help-&amp;gt;Support Links and see the WFA Powershell Cmdlets help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll find all the detailed explanation of all WFA cmdlets with examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/2390i48075BC5E4122825/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="WFA Support Links.png" title="WFA Support Links.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you still have question, you can ask here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 07:35:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110864#M19579</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-10-09T07:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110867#M19580</link>
      <description>&lt;P&gt;Thanks for help&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 08:56:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110867#M19580</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2015-10-09T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110875#M19583</link>
      <description>&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;param (&lt;BR /&gt;[parameter(Mandatory=$false, HelpMessage="Wait Time")]&lt;BR /&gt;[int]$Time&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[int] $Current = 0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Get-WfaLogger -Info -Message&amp;nbsp;$Current&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$Total = $Time*3600&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$CurrentPercentage = ($Current/$Total)*100&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Set-WfaCommandProgress -Total $Total -Current $Current -ProgressPercentage&amp;nbsp;$CurrentPercentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$Current=$Current + 3600&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input given by End User&amp;nbsp;: 12 hrs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code takes Time Hour value from End User and convert into seconds. In first interval Current value will be 0 and in next interval I want to increase it to 3600 as 1 hr completes and calculate the percentage accordingly for Set-WfaCommandProgress Command-ProgressPercentage parameter&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I implemented above code but the problem is everytime it re executes command at 3600 seconds interval, it will take $current value as 0 in every interval. Is there any workaround to acheive this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/3906iBD2B22EB1AA9E739/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="wfa1.PNG" title="wfa1.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 10:11:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/110875#M19583</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2015-10-09T10:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: WFA command duration timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/111044#M19608</link>
      <description>&lt;P&gt;Rutul,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I think you will need to know what is and how to use a "Wait for condition" command. Now that's a different topic and needs a different thread from the original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly post all your queries on a separate thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 07:46:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-command-duration-timeout/m-p/111044#M19608</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-10-13T07:46:34Z</dc:date>
    </item>
  </channel>
</rss>

