<?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: API for getting information about HA Pair in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/95669#M1246</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the 'system-get-info' API which includes something&amp;nbsp;like this in the result:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;partner-system-id&amp;gt;015172222998&amp;lt;/partner-system-id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;partner-system-name&amp;gt;sdt-fas1b&amp;lt;/partner-system-name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use the 'cf-get-partner' API which has this in the results:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;partner&amp;gt;sdt-fas1b&amp;lt;/partner&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't see a way to find the IP addresses of the partner and I suspect there isn't one. &amp;nbsp;The best I can think of is to use the 'net-resolve' API&amp;nbsp;passing the partner hostname to get the IP of it&amp;nbsp;from the controller perspective. &amp;nbsp;That still gives no guarantee it will resolve, or resolve with an IP address that is reachable from the API caller machine, but is a start.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris Madden&lt;BR /&gt;Storage Architect, NetApp EMEA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Nov 2014 07:43:43 GMT</pubDate>
    <dc:creator>madden</dc:creator>
    <dc:date>2014-11-03T07:43:43Z</dc:date>
    <item>
      <title>API for getting information about HA Pair</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/95297#M1244</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any DATA ONTAP API for 7-Mode for getting information about HA Pair?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I connected to NetApp 7-mode. How can I determine that this storage is one node of HA Pair?&lt;/P&gt;&lt;P&gt;How can I get another nodes of HA Pair ? Their IP addresses or DNS names?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:25:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/95297#M1244</guid>
      <dc:creator>ALEX_BARANOV</dc:creator>
      <dc:date>2025-06-05T05:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: API for getting information about HA Pair</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/95669#M1246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the 'system-get-info' API which includes something&amp;nbsp;like this in the result:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;partner-system-id&amp;gt;015172222998&amp;lt;/partner-system-id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;partner-system-name&amp;gt;sdt-fas1b&amp;lt;/partner-system-name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use the 'cf-get-partner' API which has this in the results:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;partner&amp;gt;sdt-fas1b&amp;lt;/partner&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't see a way to find the IP addresses of the partner and I suspect there isn't one. &amp;nbsp;The best I can think of is to use the 'net-resolve' API&amp;nbsp;passing the partner hostname to get the IP of it&amp;nbsp;from the controller perspective. &amp;nbsp;That still gives no guarantee it will resolve, or resolve with an IP address that is reachable from the API caller machine, but is a start.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris Madden&lt;BR /&gt;Storage Architect, NetApp EMEA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2014 07:43:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/95669#M1246</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2014-11-03T07:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: API for getting information about HA Pair</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/96027#M1257</link>
      <description>&lt;P&gt;Is&amp;nbsp;&amp;lt;cf-get-partner&amp;gt; API returns the same hostname that is in reply of command &amp;lt;system-get-info&amp;gt; in &amp;lt;system-info&amp;gt;&amp;lt;system-name&amp;gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, e.g. I have connections to two&amp;nbsp;NetApp nodes and can execute any ONTAP commands on them. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to determine is they are HA pair.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll execute&amp;nbsp;&lt;SPAN&gt;&amp;lt;cf-get-partner&amp;gt; on each of them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And compare output of&amp;nbsp;&amp;lt;cf-get-partner&amp;gt; and&amp;nbsp;&amp;lt;&lt;SPAN&gt;system-get-info&amp;gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Is it right?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:40:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/96027#M1257</guid>
      <dc:creator>ALEX_BARANOV</dc:creator>
      <dc:date>2014-11-05T15:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: API for getting information about HA Pair</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/96033#M1258</link>
      <description>&lt;P&gt;Yes, that should work!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 16:00:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-for-getting-information-about-HA-Pair/m-p/96033#M1258</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2014-11-05T16:00:16Z</dc:date>
    </item>
  </channel>
</rss>

