<?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 How do I list resource pools in WFA flow? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-do-I-list-resource-pools-in-WFA-flow/m-p/10992#M2250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to WFA and working on my first flow.&amp;nbsp; This flow is simply to provision a single volume/qtree combo as the NFS share.&lt;/P&gt;&lt;P&gt;Of course, as part of this flow I need a finder that will determine the aggregate in which to place the volume.&amp;nbsp; I'm using the latest version of WFA and I've got 2 OnCommand servers as data sources.&amp;nbsp; Therefore, I'd like to be able to present the user a drop down list of resource pools that he could choose from.&amp;nbsp; This in turn could then lead to the most appropriate aggregate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm at the point in the WorkFlow Preferences where I'm defining the User Input and I believe this will require a Query (instead of a String or Enum list of values) but I have no idea what query to use.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/14500_workflow+preferences.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I need something like this:&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; resource_pool&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data.sources&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that &lt;STRONG&gt;resource_pool &lt;/STRONG&gt;is the correct field but I don't have any idea what the correct table is that would reference the OnCommand data sources (I know it's not &lt;STRONG&gt;data.sources &lt;/STRONG&gt;as that fails).&amp;nbsp; I'm not a DBA at all so am I on the right track here and if so, can someone let me know what the right query is?&amp;nbsp; Thanks, and love the tool!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 23:11:36 GMT</pubDate>
    <dc:creator>dcornely1</dc:creator>
    <dc:date>2012-01-30T23:11:36Z</dc:date>
    <item>
      <title>How do I list resource pools in WFA flow?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-do-I-list-resource-pools-in-WFA-flow/m-p/10992#M2250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to WFA and working on my first flow.&amp;nbsp; This flow is simply to provision a single volume/qtree combo as the NFS share.&lt;/P&gt;&lt;P&gt;Of course, as part of this flow I need a finder that will determine the aggregate in which to place the volume.&amp;nbsp; I'm using the latest version of WFA and I've got 2 OnCommand servers as data sources.&amp;nbsp; Therefore, I'd like to be able to present the user a drop down list of resource pools that he could choose from.&amp;nbsp; This in turn could then lead to the most appropriate aggregate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm at the point in the WorkFlow Preferences where I'm defining the User Input and I believe this will require a Query (instead of a String or Enum list of values) but I have no idea what query to use.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/14500_workflow+preferences.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I need something like this:&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; resource_pool&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data.sources&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that &lt;STRONG&gt;resource_pool &lt;/STRONG&gt;is the correct field but I don't have any idea what the correct table is that would reference the OnCommand data sources (I know it's not &lt;STRONG&gt;data.sources &lt;/STRONG&gt;as that fails).&amp;nbsp; I'm not a DBA at all so am I on the right track here and if so, can someone let me know what the right query is?&amp;nbsp; Thanks, and love the tool!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 23:11:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-do-I-list-resource-pools-in-WFA-flow/m-p/10992#M2250</guid>
      <dc:creator>dcornely1</dc:creator>
      <dc:date>2012-01-30T23:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I list resource pools in WFA flow?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-do-I-list-resource-pools-in-WFA-flow/m-p/10997#M2252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are definitely on the right track.&amp;nbsp; I have a query I use to do this very thing, only I also have it look for resource pools that contain a certain string value.&amp;nbsp; In this way I search for all "pri" (primary) or "sec" (secondary) resource pools.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the query I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select DISTINCT(aggregate.resource_pool) as resource_pool from storage.aggregate &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where aggregate.resource_pool &amp;lt;&amp;gt; ' ' &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and aggregate.resource_pool like '%pri%'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order by resource_pool asc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a general list you can remove the third line (&amp;nbsp; and aggregate.resource_pool like '%pri%'&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 02:35:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-do-I-list-resource-pools-in-WFA-flow/m-p/10997#M2252</guid>
      <dc:creator>hill</dc:creator>
      <dc:date>2012-01-31T02:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I list resource pools in WFA flow?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-do-I-list-resource-pools-in-WFA-flow/m-p/122027#M21940</link>
      <description>&lt;P&gt;A follow-up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I put this select statement into my Workflow? to call this SQL in my Workflow then aggregates can be listed in push down menu?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 15:51:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-do-I-list-resource-pools-in-WFA-flow/m-p/122027#M21940</guid>
      <dc:creator>netappmagic</dc:creator>
      <dc:date>2016-08-04T15:51:02Z</dc:date>
    </item>
  </channel>
</rss>

