<?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: Find Aggr from a user input cluster/svm and use it for build volumes in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133058#M24169</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use a pre-defined finder (for example "filter aggregates by available capacity" which will return a non-root aggregate with the most available capacity in the cluster).&lt;/P&gt;&lt;P&gt;To use that insert a "Search and define" command. To do this type "search" in the list of commands then drag and drop the "search and define" command into the designer. EG&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/7449i6799B99D8D77A9B5/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa1.png" title="wfa1.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you've dragged and dropped the command into the workflow, hover you pointer below it and square with a plus symbol will appear, click on the plus symbol and select "aggregate" for the "cm_storage" scheme as the dictionary type. EG&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/7450i633B38CF04792BA6/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa2.png" title="wfa2.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Define the variable name and click on the "enter search criteria" link:&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/7451i62A0C512562E755E/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa3.png" title="wfa3.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select the "finder aggregate by available capacity" finder and enter variable names for the cluster and capacity.&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/7452i71FA091DE4BF2E06/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa4.png" title="wfa4.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the aggregate is found you can reference the object in the create volume command. EG instead of entering a value or variable for aggregate name you can reference it as "&lt;EM&gt;&lt;STRONG&gt;aggregate1.name&lt;/STRONG&gt;&lt;/EM&gt;" (or whatever you call the aggregate variable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this help? Please let me know if you have any questions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2017 07:29:50 GMT</pubDate>
    <dc:creator>mbeattie</dc:creator>
    <dc:date>2017-07-25T07:29:50Z</dc:date>
    <item>
      <title>WFA: Find Aggr from a user input cluster/svm and use it for build volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133034#M24167</link>
      <description>&lt;P&gt;I am looking for options to see if I can use a query or a find command to find aggr which is least used in capacity and use it in volume create workflow?&lt;/P&gt;
&lt;P&gt;what are my options here?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:48:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133034#M24167</guid>
      <dc:creator>CAPATEL_NET1984</dc:creator>
      <dc:date>2025-06-04T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: WFA: Find Aggr from a user input cluster/svm and use it for build volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133058#M24169</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use a pre-defined finder (for example "filter aggregates by available capacity" which will return a non-root aggregate with the most available capacity in the cluster).&lt;/P&gt;&lt;P&gt;To use that insert a "Search and define" command. To do this type "search" in the list of commands then drag and drop the "search and define" command into the designer. EG&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/7449i6799B99D8D77A9B5/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa1.png" title="wfa1.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you've dragged and dropped the command into the workflow, hover you pointer below it and square with a plus symbol will appear, click on the plus symbol and select "aggregate" for the "cm_storage" scheme as the dictionary type. EG&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/7450i633B38CF04792BA6/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa2.png" title="wfa2.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Define the variable name and click on the "enter search criteria" link:&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/7451i62A0C512562E755E/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa3.png" title="wfa3.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select the "finder aggregate by available capacity" finder and enter variable names for the cluster and capacity.&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/7452i71FA091DE4BF2E06/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa4.png" title="wfa4.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the aggregate is found you can reference the object in the create volume command. EG instead of entering a value or variable for aggregate name you can reference it as "&lt;EM&gt;&lt;STRONG&gt;aggregate1.name&lt;/STRONG&gt;&lt;/EM&gt;" (or whatever you call the aggregate variable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this help? Please let me know if you have any questions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:29:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133058#M24169</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2017-07-25T07:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: WFA: Find Aggr from a user input cluster/svm and use it for build volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133236#M24186</link>
      <description>&lt;P&gt;I dont want to specify capacity, I want to search for minimum available. when I added this it has added capacity as userdefine variable. when I added $capacity , it took as user define input.&lt;/P&gt;&lt;P&gt;I want the search to find aggr which has maximum capacity&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 18:17:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133236#M24186</guid>
      <dc:creator>CAPATEL_NET1984</dc:creator>
      <dc:date>2017-07-31T18:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: WFA: Find Aggr from a user input cluster/svm and use it for build volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133247#M24189</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a filter (SQL Query) to find a non-root aggregate on a cluster\node with the most available capacity and use that in your find command for the aggregate. EG:&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/7469i3C6C2D28641350FD/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa1.png" title="wfa1.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To save you typing...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT
    `aggregate`.name,
    `aggregate`.available_size_mb,
    cluster.primary_address AS 'node.cluster.primary_address',
    cluster.name AS 'node.cluster.name',
    node.name AS 'node.name'
FROM
    cm_storage.`aggregate`,
    cm_storage.cluster,
    cm_storage.node
WHERE
    `aggregate`.node_id = node.id
    AND node.cluster_id = cluster.id
    AND cluster.primary_address = '${Cluster}'
    AND `aggregate`.has_local_root = 0
ORDER BY
    `aggregate`.available_size_mb DESC LIMIT 1&lt;/PRE&gt;&lt;P&gt;Note: the "LIMIT" statement ensures it will return a single data aggregate (if multiple data aggregates exist on the node) with the most available capacity (hence the ORDER BY statement)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have any questions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 00:42:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Find-Aggr-from-a-user-input-cluster-svm-and-use-it-for-build-volumes/m-p/133247#M24189</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2017-08-01T00:42:57Z</dc:date>
    </item>
  </channel>
</rss>

