<?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: Workflow for increasing inodes failing but reporting as &amp;quot;Completed&amp;quot; in WFA in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/104948#M18581</link>
    <description>&lt;P&gt;Do you mind sharing this WFA work flow? &amp;nbsp;I am looking for a similiar workflow.&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2015 23:26:40 GMT</pubDate>
    <dc:creator>Trinh</dc:creator>
    <dc:date>2015-05-12T23:26:40Z</dc:date>
    <item>
      <title>Workflow for increasing inodes failing but reporting as "Completed" in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/41838#M8580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running WFA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.0.1.23.8.&amp;nbsp; In executing a workflow that has the following command/code, if the volume inode limit is exceeded, WFA will not report that the command has failed.&amp;nbsp; Here is the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#########################################&lt;/P&gt;&lt;P&gt;param (&lt;BR /&gt;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Cluster IP Address")]&lt;BR /&gt;&amp;nbsp; [string]$Cluster,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Volume name")]&lt;BR /&gt;&amp;nbsp; [string]$VolumeName,&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Vserver name")]&lt;BR /&gt;&amp;nbsp; [string]$VserverName,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Percent to increase FilesTotal")]&lt;BR /&gt;&amp;nbsp; [int]$IncreasePct&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;# connect to controller&lt;BR /&gt;Connect-WfaCluster $Cluster&lt;/P&gt;&lt;P&gt;$vol = Get-NcVol -Name $VolumeName -Vserver $VserverName -ErrorAction SilentlyContinue&lt;BR /&gt;if(!$vol)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw "No Volume named '" + $VolumeName + "' was found"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Get-WFALogger -Info -message $("Increase CM Vol FilesTotal: '"+ $VolumeName + "' on VServer '" +$VserverName + "' by: "+$IncreasePct+"%")&lt;/P&gt;&lt;P&gt;$q = Get-Ncvol -Template&lt;BR /&gt;Initialize-NcObjectProperty $q VolumeIdAttributes&lt;BR /&gt;$q.VolumeIdAttributes.Name = $VolumeName&lt;BR /&gt;$q.VolumeIdAttributes.OwningVserverName = $VerserName&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;$IncreaseFactor = ($IncreasePct * .01) + 1&lt;/P&gt;&lt;P&gt;$v = Get-Ncvol -Query $q&lt;BR /&gt;Get-WFALogger -Info -message $("Increase CM Vol FilesTotal: '"+ $VolumeName + "' on VServer '" +$VserverName + "' Current: "+$v.FilesTotal)&lt;/P&gt;&lt;P&gt;[int]$newfilestotal = $v.FilesTotal * $IncreaseFactor&lt;/P&gt;&lt;P&gt;Get-WFALogger -Info -message $("Increase CM Vol FilesTotal: '"+ $VolumeName + "' on VServer '" +$VserverName + "' New: "+$newfilestotal)&lt;BR /&gt;Set-NcVolTotalFiles&amp;nbsp; -name $VolumeName -totalfiles $newfilestotal -vserver $VserverName -ErrorAction SilentlyContinue&lt;/P&gt;&lt;P&gt;###############################################################&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the ouput of the some of the logs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12:37:15.205 INFO&amp;nbsp; [null] ***** Workflow Execution Started *****&lt;/P&gt;&lt;P&gt;12:37:15.283 INFO&amp;nbsp; [Increase CM Vol FilesTotal] ### Command 'Increase CM Vol FilesTotal' ###&lt;/P&gt;&lt;P&gt;12:37:17.170 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Executing command: ./Increase_CM_Vol_FilesTotal2449562786458417931.ps1 -Cluster 10.4.81.1 -IncreasePct 10 -VolumeName wfa_opsmart_test1 -VserverName vsnfsbbl &lt;/P&gt;&lt;P&gt;12:37:17.202 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Get-NaCredentials -Host 10.4.81.1&lt;/P&gt;&lt;P&gt;12:37:17.233 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Credentials successfully provided for '10.4.81.1'&lt;/P&gt;&lt;P&gt;12:37:17.264 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Connect-NcController (with credentials) -Name 10.4.81.1&lt;/P&gt;&lt;P&gt;12:37:19.167 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Connected to cluster node&lt;/P&gt;&lt;P&gt;12:37:20.634 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Increase CM Vol FilesTotal: 'wfa_opsmart_test1' on VServer 'vsnfsbbl' by: 10%&lt;/P&gt;&lt;P&gt;12:37:20.805 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Increase CM Vol FilesTotal: 'wfa_opsmart_test1' on VServer 'vsnfsbbl' Current: 1712109&lt;/P&gt;&lt;P&gt;12:37:20.821 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Increase CM Vol FilesTotal: 'wfa_opsmart_test1' on VServer 'vsnfsbbl' New: 1883320&lt;/P&gt;&lt;P&gt;12:37:22.006 INFO&amp;nbsp; [Increase CM Vol FilesTotal] Command completed, took 6723 milliseconds&lt;/P&gt;&lt;P&gt;12:37:22.022 INFO&amp;nbsp; [null] ***** Workflow Execution Completed *****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2013-09-24 12:34:16,944 UTC INFO&amp;nbsp; [com.netapp.wfa.command.execution.instance.impl.ExecutionInstanceDaoImpl] (http-0.0.0.0-80-68) [Increase CM Vol FilesTotal]&amp;nbsp;&amp;nbsp; Increase CM Vol FilesTotal: 'wfa_opsmart_test1' on VServer 'vsnfsbbl' by: 10%&lt;/P&gt;&lt;P&gt;2013-09-24 12:34:17,115 UTC INFO&amp;nbsp; [com.netapp.wfa.command.execution.instance.impl.ExecutionInstanceDaoImpl] (http-0.0.0.0-80-59) [Increase CM Vol FilesTotal]&amp;nbsp;&amp;nbsp; Increase CM Vol FilesTotal: 'wfa_opsmart_test1' on VServer 'vsnfsbbl' Current: 1712109&lt;/P&gt;&lt;P&gt;2013-09-24 12:34:17,131 UTC INFO&amp;nbsp; [com.netapp.wfa.command.execution.instance.impl.ExecutionInstanceDaoImpl] (http-0.0.0.0-80-66) [Increase CM Vol FilesTotal]&amp;nbsp;&amp;nbsp; Increase CM Vol FilesTotal: 'wfa_opsmart_test1' on VServer 'vsnfsbbl' New: 1883320&lt;/P&gt;&lt;P&gt;2013-09-24 12:34:18,223 UTC INFO&amp;nbsp; [com.netapp.wfa.command.execution.instance.impl.ExecutionInstanceDaoImpl] (WorkManager(2)-62) [Increase CM Vol FilesTotal]&amp;nbsp;&amp;nbsp; Command completed, took 6615 milliseconds&lt;/P&gt;&lt;P&gt;2013-09-24 12:34:18,238 UTC INFO&amp;nbsp; [com.netapp.wfa.command.execution.instance.impl.ExecutionInstanceDaoImpl] (WorkManager(2)-62) ***** Workflow Execution Completed *****&lt;/P&gt;&lt;P&gt;2013-09-24 12:34:18,270 UTC INFO&amp;nbsp; [com.netapp.wfa.job.backend.JobsExecutionInterceptor] (WorkManager(2)-62) Job WorkflowJob{workflowId=53, workflowName='BB_Increase_Vol_Max_Files', userInputs={$VserverName=MapValueWrapper{value='vsnfsbbl'}, $CRNumber=MapValueWrapper{value='null'}, $IncreasePct=MapValueWrapper{value='10'}, $ClusterName=MapValueWrapper{value='bbcs1va3'}, $VolumeName=MapValueWrapper{value='wfa_opsmart_test1'}}, executionComment=Opsmart Inode AutoGrow call through API} JobConfiguration{id=860, jobScheduleInfo=JobScheduleInfo{id=860}, created=2013-09-24 12:34:06.0} finished successfully&lt;/P&gt;&lt;P&gt;2013-09-24 12:36:20,917 UTC INFO&amp;nbsp; [com.netapp.wfa.job.backend.JobsExecutionInterceptor] (WorkManager(2)-64) Job CacheJob{, dataSourceId=DataSourceInfo{id=2, name='Initial DFM', connectionDetails=ConnectionDetails{id=2, ip='10.10.0.1', port=2638, userName='wfa', password='******'}, dataProviderType=DataProviderType{id=6, productType='OnCommand Unified Manager (DFM)', productVersion='5.1.X,5.2 Cluster-Mode', driverType='SYBASE'}}, schemeId=Scheme{id=4, name='cm_storage'}, dataSourceName='Initial DFM', schemeName='cm_storage'} started&lt;/P&gt;&lt;P&gt;2013-09-24 12:36:28,124 UTC INFO&amp;nbsp; [com.netapp.wfa.job.backend.JobsExecutionInterceptor] (WorkManager(2)-64) Job CacheJob{, dataSourceId=DataSourceInfo{id=2, name='Initial DFM', connectionDetails=ConnectionDetails{id=2, ip='10.10.0.1', port=2638, userName='wfa', password='******'}, dataProviderType=DataProviderType{id=6, productType='OnCommand Unified Manager (DFM)', productVersion='5.1.X,5.2 Cluster-Mode', driverType='SYBASE'}}, schemeId=Scheme{id=4, name='cm_storage'}, dataSourceName='Initial DFM', schemeName='cm_storage'} finished successfully&lt;/P&gt;&lt;P&gt;2013-09-24 12:37:09,979 UTC INFO&amp;nbsp; [com.netapp.wfa.ws.WorkflowServiceImpl] (http-0.0.0.0-443-6) Could not find WorkflowExecution result for jobId: 8261 returning empty RetrunParameter[]&lt;/P&gt;&lt;P&gt;2013-09-24 12:37:10,244 UTC INFO&amp;nbsp; [com.netapp.wfa.ws.WorkflowServiceImpl] (http-0.0.0.0-443-6) Could not find WorkflowExecution result for jobId: 8261 returning empty RetrunParameter[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically, I'm looking at the last two lines about "returning empty&amp;nbsp; ReturnParameter".&amp;nbsp; It seems that the code is not handling errors correctly.&amp;nbsp; Here is what happens if you want increase the same volume with the same percentage on the cluster:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;bbcs1va3::&amp;gt; vol modify -vserver vsnfsbbl -volume wfa_opsmart_test1 -files 1883319&lt;BR /&gt;&amp;nbsp; (volume modify)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;Error: command failed: Unable to set volume attributes for volume "wfa_opsmart_test1" on Vserver "vsnfsbbl". Reason: Unable to set attribute&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; files-total for volume. Reason: current value (1712109) is over the maximum allowable limit (595827) and cannot&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; be increased. Maxfiles remains at 1712109.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;Thanks in advanced.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;Todd&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:53:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/41838#M8580</guid>
      <dc:creator>kofchur</dc:creator>
      <dc:date>2025-06-05T05:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for increasing inodes failing but reporting as "Completed" in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/41843#M8581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Todd, &lt;/P&gt;&lt;P&gt;Try the last cmd-let&amp;nbsp; with "-ErrroAction stop" instead of "-ErrorAction SilentlyContinue"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set-NcVolTotalFiles&amp;nbsp; -name $VolumeName -totalfiles $newfilestotal -vserver $VserverName -ErrorAction stop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;Sivaprasad K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 06:30:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/41843#M8581</guid>
      <dc:creator>kandati</dc:creator>
      <dc:date>2013-09-26T06:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for increasing inodes failing but reporting as "Completed" in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/41850#M8582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-todd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 20:12:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/41850#M8582</guid>
      <dc:creator>kofchur</dc:creator>
      <dc:date>2013-10-03T20:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for increasing inodes failing but reporting as "Completed" in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/104948#M18581</link>
      <description>&lt;P&gt;Do you mind sharing this WFA work flow? &amp;nbsp;I am looking for a similiar workflow.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 23:26:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/104948#M18581</guid>
      <dc:creator>Trinh</dc:creator>
      <dc:date>2015-05-12T23:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for increasing inodes failing but reporting as "Completed" in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/105059#M18607</link>
      <description>&lt;P&gt;I noticed you are looking for a Increase Inode workflow. &amp;nbsp;I have attached one for clustered Data OnTap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 23:30:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-for-increasing-inodes-failing-but-reporting-as-quot-Completed-quot-in/m-p/105059#M18607</guid>
      <dc:creator>geringer</dc:creator>
      <dc:date>2015-05-14T23:30:34Z</dc:date>
    </item>
  </channel>
</rss>

