<?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 perform a SVM failover using powershell in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/130630#M5372</link>
    <description>&lt;P&gt;Good Morning everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking forward to configure a failover to an SVM-DR using powershell, I would like to know if somebody did it in the past even with python.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 15:08:32 GMT</pubDate>
    <dc:creator>tchuise92</dc:creator>
    <dc:date>2025-06-04T15:08:32Z</dc:date>
    <item>
      <title>perform a SVM failover using powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/130630#M5372</link>
      <description>&lt;P&gt;Good Morning everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking forward to configure a failover to an SVM-DR using powershell, I would like to know if somebody did it in the past even with python.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:08:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/130630#M5372</guid>
      <dc:creator>tchuise92</dc:creator>
      <dc:date>2025-06-04T15:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: perform a SVM failover using powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/130636#M5373</link>
      <description>&lt;P&gt;Generally speaking, doing SVM failover is just like breaking any other SnapMirror relationship...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Abort any active SnapMirrors (Invoke-NcSnapmirrorAbort)&lt;/LI&gt;&lt;LI&gt;Break the relationship (Invoke-NcSnapmirrorBreak)&lt;/LI&gt;&lt;LI&gt;Activate the DR site (Start-NcVserver)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You'll want to add some checks and validations, but more or less, just follow the PSTK equivalent of the commands in the &lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMP12462593" target="_self"&gt;documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 14:43:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/130636#M5373</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-04-28T14:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: perform a SVM failover using powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/131596#M5395</link>
      <description>&lt;P&gt;Thank you for you insight, I end up using WFA but it seems like the pack needs some adjustment to fit in my environment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 18:48:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/131596#M5395</guid>
      <dc:creator>tchuise92</dc:creator>
      <dc:date>2017-06-02T18:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: perform a SVM failover using powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/139902#M5729</link>
      <description>&lt;P&gt;We are finally getting around to doing this and would like to do with in powershell / WFA, but I have a question..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems when I try to break the svm-dr relationship for example from powershell&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;get-ncsnapmirror -vserver testvserver | ? {$_.destinationlocation -eq "testvserver:"} | invoke-ncsnapmirrorbreak&amp;nbsp; it comes back with the following errors&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Invoke-NcSnapmirrorBreak : Cannot bind argument to parameter 'DestinationVolume' because it is null.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with SVM you have to break the top relationship only so it's testverserver:&amp;nbsp; (notice with &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sure it's something simple, If anyone can assist that would be great.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:30:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/139902#M5729</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2018-04-27T12:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: perform a SVM failover using powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/139903#M5730</link>
      <description>&lt;P&gt;And andy what i'm noticing is if you have SVM-DR the pipeline command doens't work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so for example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;get-ncsnapmirror -vserver testvserver | invoke-ncsnapmirrorupdate&amp;nbsp; or any pipeline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps this is a bug&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry to latch onto an old thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:38:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/perform-a-SVM-failover-using-powershell/m-p/139903#M5730</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2018-04-27T12:38:26Z</dc:date>
    </item>
  </channel>
</rss>

