<?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 Aggr Expansion in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Aggr-Expansion/m-p/130575#M23625</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created scrip for aggr expansion, command executing properly however workflow failing for success and failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;06:38:01.958 INFO [Aggregate Expansion] ### Command 'Aggregate Expansion' in 'POWER_SHELL' ###&lt;BR /&gt;06:38:07.700 INFO [Aggregate Expansion] Successfully decrypted the input password&lt;BR /&gt;06:38:28.903 INFO [Aggregate Expansion] Addition of 1 disk to the aggregate has completed.&lt;BR /&gt;06:38:29.122 ERROR [Aggregate Expansion] wfatest expanded.&lt;BR /&gt;06:38:30.372 ERROR [Aggregate Expansion] Command failed for Workflow 'Aggr_Expansion' with error : wfatest expanded.&lt;BR /&gt;06:38:30.372 INFO [Aggregate Expansion] ***** Workflow Execution Failed *****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$a = $null&lt;/P&gt;&lt;P&gt;$aggradd = Invoke-nassh -Command " aggr add $AggregateName -g $RaidGroupName -T $DiskType $NumberOfDiskToAdd@$DiskSize " -ErrorAction Stop&lt;/P&gt;&lt;P&gt;if($aggradd -eq $a)&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Error -message $aggradd&lt;BR /&gt;throw "$AggregateName not expanded."&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Info -message $aggradd&lt;BR /&gt;throw "$AggregateName expanded."&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 15:09:00 GMT</pubDate>
    <dc:creator>venkate_SAN</dc:creator>
    <dc:date>2025-06-04T15:09:00Z</dc:date>
    <item>
      <title>Aggr Expansion</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Aggr-Expansion/m-p/130575#M23625</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created scrip for aggr expansion, command executing properly however workflow failing for success and failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;06:38:01.958 INFO [Aggregate Expansion] ### Command 'Aggregate Expansion' in 'POWER_SHELL' ###&lt;BR /&gt;06:38:07.700 INFO [Aggregate Expansion] Successfully decrypted the input password&lt;BR /&gt;06:38:28.903 INFO [Aggregate Expansion] Addition of 1 disk to the aggregate has completed.&lt;BR /&gt;06:38:29.122 ERROR [Aggregate Expansion] wfatest expanded.&lt;BR /&gt;06:38:30.372 ERROR [Aggregate Expansion] Command failed for Workflow 'Aggr_Expansion' with error : wfatest expanded.&lt;BR /&gt;06:38:30.372 INFO [Aggregate Expansion] ***** Workflow Execution Failed *****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$a = $null&lt;/P&gt;&lt;P&gt;$aggradd = Invoke-nassh -Command " aggr add $AggregateName -g $RaidGroupName -T $DiskType $NumberOfDiskToAdd@$DiskSize " -ErrorAction Stop&lt;/P&gt;&lt;P&gt;if($aggradd -eq $a)&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Error -message $aggradd&lt;BR /&gt;throw "$AggregateName not expanded."&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Info -message $aggradd&lt;BR /&gt;throw "$AggregateName expanded."&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:09:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Aggr-Expansion/m-p/130575#M23625</guid>
      <dc:creator>venkate_SAN</dc:creator>
      <dc:date>2025-06-04T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Expansion</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Aggr-Expansion/m-p/130585#M23630</link>
      <description>&lt;P&gt;I'm pretty sure what you want to do for the 'expanded correctly' case is just issue the Wfa-GetLogger statement saying so and let PowerShell exit. When you do the 'throw', that tells WFA there was a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 18:06:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Aggr-Expansion/m-p/130585#M23630</guid>
      <dc:creator>dkorns</dc:creator>
      <dc:date>2017-04-27T18:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Expansion</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Aggr-Expansion/m-p/130608#M23636</link>
      <description>&lt;P&gt;If i use WFAlogger workflow completing successfully even wrong input.below script is working fine now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;02:12:24.794 INFO [Aggregate Expansion] ### Command 'Aggregate Expansion' in 'POWER_SHELL' ###&lt;BR /&gt;02:12:26.747 INFO [Aggregate Expansion] Successfully decrypted the input password&lt;BR /&gt;02:12:47.536 ERROR [Aggregate Expansion] wfatest not expanded.&lt;BR /&gt;02:12:47.661 INFO [Aggregate Expansion] Command completed, took 22867 milliseconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$a = $null&lt;/P&gt;&lt;P&gt;$aggradd = Invoke-nassh -Command " aggr add $AggregateName -g $RaidGroupName -T $DiskType $NumberOfDiskToAdd@$DiskSize " -ErrorAction Stop&lt;/P&gt;&lt;P&gt;if($aggradd -eq $a)&lt;BR /&gt;{&lt;BR /&gt;#Get-WFALogger -Error -message $($aggradd)&lt;BR /&gt;throw "Aggregate $AggregateName not expanded, Please check the input parameters and disk availability."&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Info -message $aggradd&lt;/P&gt;&lt;P&gt;$aggrstatus = Invoke-nassh -Command " aggr status -r $AggregateName "&lt;/P&gt;&lt;P&gt;Get-WFALogger -Info -message $aggrstatus&lt;BR /&gt;#throw "$AggregateName expanded."&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 07:00:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Aggr-Expansion/m-p/130608#M23636</guid>
      <dc:creator>venkate_SAN</dc:creator>
      <dc:date>2017-04-28T07:00:33Z</dc:date>
    </item>
  </channel>
</rss>

