<?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: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0 in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121487#M21821</link>
    <description>&lt;P&gt;ERROR: Found value '$VserverName' - expected object reference of type 'cm_storage.Vserver'&lt;BR /&gt;Location: 'Resize volume' command &amp;gt; 'Volume' tab &amp;gt; 'volume1' variable &amp;gt; 'vserver' property&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the queries are perfectly fine but I am getting ths error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any IDEA?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2016 20:13:51 GMT</pubDate>
    <dc:creator>Vikramjeet_Singh</dc:creator>
    <dc:date>2016-07-19T20:13:51Z</dc:date>
    <item>
      <title>SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121324#M21782</link>
      <description>&lt;P&gt;I am using the follwing query to find the volume in a particular vserver by uing SQL query but it shows empty list even when there are number of volumes present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;volume.name AS Name,&lt;BR /&gt;aggregate.name as Aggregate,&lt;BR /&gt;volume.size_mb AS 'Total Size (MB)',&lt;BR /&gt;volume.used_size_mb AS 'Used Size (MB)',&lt;BR /&gt;volume.space_guarantee AS 'Space Guarantee'&lt;BR /&gt;FROM&lt;BR /&gt;cm_storage.cluster,&lt;BR /&gt;cm_storage.aggregate,&lt;BR /&gt;cm_storage.vserver,&lt;BR /&gt;cm_storage.volume&lt;BR /&gt;WHERE&lt;BR /&gt;cluster.id = vserver.cluster_id&lt;BR /&gt;AND aggregate.id = volume.aggregate_id&lt;BR /&gt;AND vserver.id = volume.vserver_id&lt;BR /&gt;AND cluster.name = '${ClusterName}'&lt;BR /&gt;AND vserver.name = '${VserverName}'&lt;BR /&gt;AND aggregate.name = '${AggregateName}'&lt;BR /&gt;ORDER BY&lt;BR /&gt;volume.name ASC&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:55:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121324#M21782</guid>
      <dc:creator>Vikramjeet_Singh</dc:creator>
      <dc:date>2025-06-04T19:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121383#M21798</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was able to execute your query, and was able to see some of&amp;nbsp;&lt;SPAN&gt;the volumes present in&amp;nbsp;a particular vserver. Please double check if the valued specified to the query&amp;nbsp;are correct or not.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;You can use some SQL IDE tools to cross check (outside WFA) if the query returns any volumes or not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 07:07:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121383#M21798</guid>
      <dc:creator>rkiran</dc:creator>
      <dc:date>2016-07-18T07:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121384#M21799</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The query looks good. What I can guess is in the where condition "cluster.name=${ClusterName} " you might be writing IP address instead of name of that cluster. For IP address there is another column for example &lt;STRONG&gt;cluster.primary_address&lt;/STRONG&gt;="10.10.10.10". So if you dont want to change the condition than try writing the name instead of ip address. And if you want to check with IP address then change the column name in the condition. I tested in mysql and got the output with the same query. Check the bold part for more understanding&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;volume.name AS Name,&lt;BR /&gt;aggregate.name as Aggregate,&lt;BR /&gt;volume.size_mb AS 'Total Size (MB)',&lt;BR /&gt;volume.used_size_mb AS 'Used Size (MB)',&lt;BR /&gt;volume.space_guarantee AS 'Space Guarantee'&lt;BR /&gt;FROM&lt;BR /&gt;cm_storage.cluster,&lt;BR /&gt;cm_storage.aggregate,&lt;BR /&gt;cm_storage.vserver,&lt;BR /&gt;cm_storage.volume&lt;BR /&gt;WHERE&lt;BR /&gt;cluster.id = vserver.cluster_id&lt;BR /&gt;AND aggregate.id = volume.aggregate_id&lt;BR /&gt;AND vserver.id = volume.vserver_id&lt;BR /&gt;&lt;STRONG&gt;AND cluster.name = 'Rmcluster.eng.btc.netapp.in'&lt;/STRONG&gt;&lt;BR /&gt;AND vserver.name = 'c81377-UCSCloud_resv'&lt;BR /&gt;AND aggregate.name = 'sas600ag3_e_nasa23'&lt;BR /&gt;ORDER BY&lt;BR /&gt;volume.name ASC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;volume.name AS Name,&lt;BR /&gt;aggregate.name as Aggregate,&lt;BR /&gt;volume.size_mb AS 'Total Size (MB)',&lt;BR /&gt;volume.used_size_mb AS 'Used Size (MB)',&lt;BR /&gt;volume.space_guarantee AS 'Space Guarantee'&lt;BR /&gt;FROM&lt;BR /&gt;cm_storage.cluster,&lt;BR /&gt;cm_storage.aggregate,&lt;BR /&gt;cm_storage.vserver,&lt;BR /&gt;cm_storage.volume&lt;BR /&gt;WHERE&lt;BR /&gt;cluster.id = vserver.cluster_id&lt;BR /&gt;AND aggregate.id = volume.aggregate_id&lt;BR /&gt;AND vserver.id = volume.vserver_id&lt;BR /&gt;&lt;STRONG&gt;AND cluster.primary_address = '10.238.4.13'&lt;/STRONG&gt;&lt;BR /&gt;AND vserver.name = 'c81377-UCSCloud_resv'&lt;BR /&gt;AND aggregate.name = 'sas600ag3_e_nasa23'&lt;BR /&gt;ORDER BY&lt;BR /&gt;volume.name ASC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran this queries and they are working fine&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 08:54:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121384#M21799</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2016-07-18T08:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121422#M21805</link>
      <description>&lt;P&gt;The query did not work. Just for testing purposes if I try to use finder/ fiters to list the volumes in the vserver still the query is excuted but no results/ empty list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even tried to using the resizing command directly in the workflow without any modification still it doesnot work. Shows me the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: &amp;nbsp;&amp;nbsp;Found value '$VserverName' - expected object reference of type 'cm_storage.Vserver'&lt;BR /&gt;Location: 'Resize volume' command &amp;gt; 'Volume' tab &amp;gt; 'volume1' variable &amp;gt; 'vserver' property&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even tried to change the parameter mapping but then it gives me the error about the attribute. The ATTRIBUTE is name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A QUICK REPLY WILL BE APPRECIATED.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS....&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 20:08:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121422#M21805</guid>
      <dc:creator>Vikramjeet_Singh</dc:creator>
      <dc:date>2016-07-18T20:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121435#M21811</link>
      <description>&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are WFA and OCUM connected properly ? Have you configured and acquired the OCUM datasource properly? Also check that are you able to see your cluster storage systems in the OCUM ? If it is not acquired properly it will not return any result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If all the checks are good from OCUM side then try to restart OCUM server once -&amp;gt; Acquire Datasource again and then execute your query.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 04:58:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121435#M21811</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2016-07-19T04:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121460#M21814</link>
      <description>&lt;P&gt;Queries are working fine for cluster, vserver and aggregate..its just the volume thats giving me a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you still think I should restart the cluster?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 13:48:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121460#M21814</guid>
      <dc:creator>Vikramjeet_Singh</dc:creator>
      <dc:date>2016-07-19T13:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121469#M21816</link>
      <description>&lt;P&gt;No you do not need to restart the cluster. I am talking about OCUM ( Oncommand Unified Manager). Restart that server on which OCUM is installed. Try query after that whether it is working or not.&lt;/P&gt;&lt;P&gt;If No then try your query in &lt;STRONG&gt;mysql workbench or any database management tool.&lt;/STRONG&gt; Take backup from WFA and import the database to mysql workbench. Try your query there. If you are seeing proper results then query is fine. Also Please check and give proper values for conditions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 15:20:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121469#M21816</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2016-07-19T15:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121480#M21818</link>
      <description>&lt;P&gt;You were right,&amp;nbsp;its is not able to connect with UM. The data is was pulling was from the cache.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: &lt;SPAN&gt;JZ006: Caught IOException: java.net.ConnectException: Connection timed out: connect&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ANY ADVICE PLEASE?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 18:07:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121480#M21818</guid>
      <dc:creator>Vikramjeet_Singh</dc:creator>
      <dc:date>2016-07-19T18:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121485#M21819</link>
      <description>&lt;P&gt;SOLVED!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything good for now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will bug you guys again if any problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vik&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 19:08:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121485#M21819</guid>
      <dc:creator>Vikramjeet_Singh</dc:creator>
      <dc:date>2016-07-19T19:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121486#M21820</link>
      <description>&lt;P&gt;Sure. Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please accept the solution if you have found it valuable and correct. So that it will be helpful to someone next time who has the same kind of questions.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 19:52:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121486#M21820</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2016-07-19T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121487#M21821</link>
      <description>&lt;P&gt;ERROR: Found value '$VserverName' - expected object reference of type 'cm_storage.Vserver'&lt;BR /&gt;Location: 'Resize volume' command &amp;gt; 'Volume' tab &amp;gt; 'volume1' variable &amp;gt; 'vserver' property&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the queries are perfectly fine but I am getting ths error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any IDEA?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 20:13:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121487#M21821</guid>
      <dc:creator>Vikramjeet_Singh</dc:creator>
      <dc:date>2016-07-19T20:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121518#M21825</link>
      <description>&lt;P&gt;You should not write variable name when the field is type of reference. It is an object reference type field. Select filter there "Find Vserver by Key" and fill up the required fields. &amp;nbsp;Reference objects should be searched automatically. So click on browse button in vserver textbox and select appropriate filter in Resource selection. Put your variables there and click OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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/5643iDB62A2B51D9223B8/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="vs1.PNG" title="vs1.PNG" width="532" height="275" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/5641iE1760D8A9513E194/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="vs1.PNG" title="vs1.PNG" width="556" height="236" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 13:36:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121518#M21825</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2016-07-20T13:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: SQL QUERY NOT RETURNING ANY VOLUMES - WFA 4.0</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121520#M21827</link>
      <description>&lt;P&gt;Thanks a lot, you guys have been really helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:16:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-QUERY-NOT-RETURNING-ANY-VOLUMES-WFA-4-0/m-p/121520#M21827</guid>
      <dc:creator>Vikramjeet_Singh</dc:creator>
      <dc:date>2016-07-20T14:16:46Z</dc:date>
    </item>
  </channel>
</rss>

