<?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 to query Cluster Nodes using the API in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-Cluster-Nodes-using-the-API/m-p/45936#M403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to find out all the nodes in a cluster using the Data_ONTAP API (Java API bindings) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The version request returns this version string &lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;"NetApp Release 8.1.2 Cluster-Mode: Tue Oct 30 19:51:17 PDT 2012"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I am running the query against the a cluster with two nodes. Actually logging in to the appliance and running "cluster show" command lists the two nodes in the cluster. However there seems to be no way of getting the same info using the API (unless I don't know where to look &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;VI&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:11:10 GMT</pubDate>
    <dc:creator>billteeple</dc:creator>
    <dc:date>2025-06-05T06:11:10Z</dc:date>
    <item>
      <title>How to query Cluster Nodes using the API</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-Cluster-Nodes-using-the-API/m-p/45936#M403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to find out all the nodes in a cluster using the Data_ONTAP API (Java API bindings) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The version request returns this version string &lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;"NetApp Release 8.1.2 Cluster-Mode: Tue Oct 30 19:51:17 PDT 2012"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I am running the query against the a cluster with two nodes. Actually logging in to the appliance and running "cluster show" command lists the two nodes in the cluster. However there seems to be no way of getting the same info using the API (unless I don't know where to look &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;VI&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:11:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-Cluster-Nodes-using-the-API/m-p/45936#M403</guid>
      <dc:creator>billteeple</dc:creator>
      <dc:date>2025-06-05T06:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to query Cluster Nodes using the API</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-Cluster-Nodes-using-the-API/m-p/45942#M404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is possible using the Clustered ONTAP API "system-node-get-&lt;SPAN class="GRcorrect"&gt;iter&lt;/SPAN&gt;". This will list all the nodes and many other details of the nodes similar to the cluster show CLI command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- &lt;SPAN class="GRcorrect"&gt;Aashray&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 18:50:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-Cluster-Nodes-using-the-API/m-p/45942#M404</guid>
      <dc:creator>aashray</dc:creator>
      <dc:date>2013-02-06T18:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to query Cluster Nodes using the API</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-Cluster-Nodes-using-the-API/m-p/45947#M405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aashray,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info. That does help indeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been looking at an alternative way as well which gives me a much more detailed information. Would you recommend using NetPortInfo instead ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. I used NetPortGetIterRequest, set the query object up to have ROLE = CLUSTER i.e. just query for CLUSTER ports and then I get a list of ports back which have the name of cluster node as well as whole load of other information (because its a port)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this method reliable as well ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 12:08:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-Cluster-Nodes-using-the-API/m-p/45947#M405</guid>
      <dc:creator>billteeple</dc:creator>
      <dc:date>2013-02-11T12:08:49Z</dc:date>
    </item>
  </channel>
</rss>

