<?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 Netapp PowerShell API, cDot, how to pull source Cluster name from Get-NcSnapmirror output ? in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Netapp-PowerShell-API-cDot-how-to-pull-source-Cluster-name-from-Get-NcSnapmirror/m-p/69069#M890</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;i have a few cdot clusters here.&lt;/P&gt;
&lt;P&gt;all on 8.2.1p1 version&lt;/P&gt;
&lt;P&gt;i am trying to create a powershell script using netapp powershell api .&lt;/P&gt;
&lt;P&gt;This script will check vol sizes to make sure destination and source volume are &lt;STRONG&gt;always &lt;/STRONG&gt;equal in size.&lt;/P&gt;
&lt;P&gt;so this should be in some dynamic way so my idea was to capture snapmirror relationships (Get-NcSnapmirror)&lt;/P&gt;
&lt;P&gt;then to extract from it the source cluster + vserver and the destination cluster + vserver&lt;/P&gt;
&lt;P&gt;then conntect to them 1 by 1 and get a list of volumes (Get-NcVol)&lt;/P&gt;
&lt;P&gt;then i can find the source vol and the destination vol in those list and get the sizes.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;My problem is that Get-NcSnapmirror does not save the source cluster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;does anyone have any idea how to do it ?&lt;/P&gt;
&lt;P&gt;or do you guys have any other idea how can i pull this data ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Tomer.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:30:24 GMT</pubDate>
    <dc:creator>tomers</dc:creator>
    <dc:date>2025-06-05T05:30:24Z</dc:date>
    <item>
      <title>Netapp PowerShell API, cDot, how to pull source Cluster name from Get-NcSnapmirror output ?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Netapp-PowerShell-API-cDot-how-to-pull-source-Cluster-name-from-Get-NcSnapmirror/m-p/69069#M890</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;i have a few cdot clusters here.&lt;/P&gt;
&lt;P&gt;all on 8.2.1p1 version&lt;/P&gt;
&lt;P&gt;i am trying to create a powershell script using netapp powershell api .&lt;/P&gt;
&lt;P&gt;This script will check vol sizes to make sure destination and source volume are &lt;STRONG&gt;always &lt;/STRONG&gt;equal in size.&lt;/P&gt;
&lt;P&gt;so this should be in some dynamic way so my idea was to capture snapmirror relationships (Get-NcSnapmirror)&lt;/P&gt;
&lt;P&gt;then to extract from it the source cluster + vserver and the destination cluster + vserver&lt;/P&gt;
&lt;P&gt;then conntect to them 1 by 1 and get a list of volumes (Get-NcVol)&lt;/P&gt;
&lt;P&gt;then i can find the source vol and the destination vol in those list and get the sizes.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;My problem is that Get-NcSnapmirror does not save the source cluster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;does anyone have any idea how to do it ?&lt;/P&gt;
&lt;P&gt;or do you guys have any other idea how can i pull this data ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Tomer.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:30:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Netapp-PowerShell-API-cDot-how-to-pull-source-Cluster-name-from-Get-NcSnapmirror/m-p/69069#M890</guid>
      <dc:creator>tomers</dc:creator>
      <dc:date>2025-06-05T05:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp PowerShell API, cDot, how to pull source Cluster name from Get-NcSnapmirror output ?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Netapp-PowerShell-API-cDot-how-to-pull-source-Cluster-name-from-Get-NcSnapmirror/m-p/69074#M891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, i got it myself.&lt;/P&gt;&lt;P&gt;I used Get-NcVserverPeer to get the source volume origin (cluster name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Get-NcVserverPeer | where-object {$_.PeerVserver -eq $SourceVserver}).PeerCluster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 14:13:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Netapp-PowerShell-API-cDot-how-to-pull-source-Cluster-name-from-Get-NcSnapmirror/m-p/69074#M891</guid>
      <dc:creator>tomers</dc:creator>
      <dc:date>2014-08-17T14:13:38Z</dc:date>
    </item>
  </channel>
</rss>

