<?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: Selecting an Aggregate based on Least Used % in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49537#M10223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a finder that uses your filter? Did you select the column used_percentage at top in the "Returned attributes" tab of the *finder*? See the screenshots below of a finder that I created using your filter query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23610_finder.filters.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23611_finder.retattrs.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23612_finder.results.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 15:32:32 GMT</pubDate>
    <dc:creator>nthakur</dc:creator>
    <dc:date>2013-10-15T15:32:32Z</dc:date>
    <item>
      <title>Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49524#M10220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a workflow for creating a cMode snapmirror relationship.&amp;nbsp; The problem I have is that the workflow keeps selecting the same destination aggregate.&amp;nbsp; I want it to select the destination aggregate based on least used percentage.&amp;nbsp; Here is the code for the filter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr.name,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (((aggr.used_size_mb + '${used_space}')/ aggr.size_mb) * 100) AS used_percentage,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; node.name AS 'node.name',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cluster.primary_address AS 'node.cluster.primary_address'&lt;BR /&gt;FROM&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cm_storage.aggregate AS aggr&lt;BR /&gt;JOIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cm_storage.node AS node&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON aggr.node_id = node.id&lt;BR /&gt;JOIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cm_storage.cluster AS cluster&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON cluster.id = node.cluster_id&lt;BR /&gt;WHERE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&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; aggr.used_size_mb + '${used_space}'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) / aggr.size_mb&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) * 100 &amp;lt;= '${used_size_threshold}'&lt;BR /&gt;ORDER BY&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; used_percentage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when I test this, it does in fact order the aggregates from least to greatest usage, but it keeps selecting the same one, eventhough that aggregate is not even close to being the least used.&amp;nbsp; Any suggestions would be great.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-todd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN&gt;﻿&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:52:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49524#M10220</guid>
      <dc:creator>kofchur</dc:creator>
      <dc:date>2025-06-05T05:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49528#M10221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a built-in finder in WFA 2.1 called "Find aggregate for SnapMirror destination volume". Perhaps, that might help when you are designing your own selection algorithm for the destination aggr. Take a look at "Returned attributes" tab. That is where you can select the ordering criteria. That finder has the following criteria (but you can select different columns and reorder them as per your needs):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1. Fault domain separation: Aggregate on a different node than the the specified node usually of the source aggreate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Load balancing across the nodes of the cluster: Aggregate on a node with the least number of volumes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Capacity balancing: Aggregate with the most free space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;neelesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 17:59:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49528#M10221</guid>
      <dc:creator>nthakur</dc:creator>
      <dc:date>2013-10-03T17:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49532#M10222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does not work.&amp;nbsp; It will list the aggregates like I want (from least used to most used), but when it chooses the aggregate, it seems to be doing so alphabetically.&amp;nbsp; I can't find the code/logic that selects the aggregate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:09:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49532#M10222</guid>
      <dc:creator>kofchur</dc:creator>
      <dc:date>2013-10-15T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49537#M10223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a finder that uses your filter? Did you select the column used_percentage at top in the "Returned attributes" tab of the *finder*? See the screenshots below of a finder that I created using your filter query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23610_finder.filters.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23611_finder.retattrs.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23612_finder.results.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:32:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49537#M10223</guid>
      <dc:creator>nthakur</dc:creator>
      <dc:date>2013-10-15T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49542#M10224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is what I have set up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23614_resourceselect.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;It looks as if I'm not using a Finder, but the Filter here seems to be doing the same thing.&amp;nbsp; In fact, if I test this it works like I want:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23613_testfilter.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23615_fileraggr.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I test the work flow, it never selects the lest used aggregate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just learning all this stuff, so forgive my ignorance of how these Filters and Finders work together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;-todd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 16:02:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49542#M10224</guid>
      <dc:creator>kofchur</dc:creator>
      <dc:date>2013-10-15T16:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49547#M10225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating a named finder with all the filters that you have selected in the first screenshot. Then, use "Returned Attributes" tab of the *finder* to specify the selection order as I have shown in my screenshot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 16:06:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49547#M10225</guid>
      <dc:creator>nthakur</dc:creator>
      <dc:date>2013-10-15T16:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49552#M10226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running 2.0, but I think I created the equivalent, but it still does not work.&amp;nbsp; The finder per se works, in that it will pull the aggregates that are not aggr0 and will order them ascending, but it will not select based on that order:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23616_wf-resource-selection.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23617_finder-filters.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23618_finder-returnedatt.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23619_finder-results.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23620_wf-results.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 21:18:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49552#M10226</guid>
      <dc:creator>kofchur</dc:creator>
      <dc:date>2013-10-15T21:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49557#M10227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that your sorting order is Ascending and not Descending as Neelesh example shows....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 12:20:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49557#M10227</guid>
      <dc:creator>yaronh</dc:creator>
      <dc:date>2013-10-17T12:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49563#M10228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It makes no difference.&amp;nbsp; It is still choosing an aggregate that is neither the lest used, nor the most used.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 14:32:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49563#M10228</guid>
      <dc:creator>kofchur</dc:creator>
      <dc:date>2013-10-17T14:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49569#M10229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm curious if you've acquired the most recent information from Unified Manager for the systems you're interested in?&amp;nbsp; I know sometimes I set my acquisition schedule to '0' (i.e. manual acquisition), if I'm testing a lot of things... Do you know if WFA has all of the current information for the aggregates it "sees"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 16:20:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49569#M10229</guid>
      <dc:creator>hill</dc:creator>
      <dc:date>2013-10-17T16:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an Aggregate based on Least Used %</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49574#M10230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup.&amp;nbsp; It updates every 5 min and this has been a problem for months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 17:13:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Selecting-an-Aggregate-based-on-Least-Used/m-p/49574#M10230</guid>
      <dc:creator>kofchur</dc:creator>
      <dc:date>2013-10-17T17:13:40Z</dc:date>
    </item>
  </channel>
</rss>

