<?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 Powershell Toolkit - cmdlets for vfiler dr resync? in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117963#M1888</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm writing a Powershell script that creates a volume, adds it to a named vfiler, it then creates a snapmirror target volume on a DR Netapp for replication. This all works well. However as we are using vfiler DR, we need to run the vfiler DR resync command, to synchronise the volumes that are part of the vfiler DR relationship.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Netapp CLI, &amp;nbsp;I would achieve this by running the following from the snapmirror destination filer:&lt;/P&gt;&lt;PRE&gt;vfiler dr resync -c secure -l root:password vfilername@hostfiler.domain.co.uk&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an equivalent cmdlet&amp;nbsp;in the Netapp Powershell Toolkit to achieve the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(My environment is 8.2.2 7-mode)&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 21:32:25 GMT</pubDate>
    <dc:creator>markey164</dc:creator>
    <dc:date>2025-06-04T21:32:25Z</dc:date>
    <item>
      <title>Powershell Toolkit - cmdlets for vfiler dr resync?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117963#M1888</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm writing a Powershell script that creates a volume, adds it to a named vfiler, it then creates a snapmirror target volume on a DR Netapp for replication. This all works well. However as we are using vfiler DR, we need to run the vfiler DR resync command, to synchronise the volumes that are part of the vfiler DR relationship.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Netapp CLI, &amp;nbsp;I would achieve this by running the following from the snapmirror destination filer:&lt;/P&gt;&lt;PRE&gt;vfiler dr resync -c secure -l root:password vfilername@hostfiler.domain.co.uk&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an equivalent cmdlet&amp;nbsp;in the Netapp Powershell Toolkit to achieve the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(My environment is 8.2.2 7-mode)&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:32:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117963#M1888</guid>
      <dc:creator>markey164</dc:creator>
      <dc:date>2025-06-04T21:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Toolkit - cmdlets for vfiler dr resync?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117965#M1889</link>
      <description>&lt;P&gt;The "Invoke-NaVfilerDrResync" cmdlet may be what you're looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 16:15:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117965#M1889</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-04-05T16:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Toolkit - cmdlets for vfiler dr resync?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117967#M1890</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was mulling over that one, but the Description/Synopsis of that cmdlet suggests this command will&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Move a vfiler which has been migrated by vfiler disaster recovery back to its original controller"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to &lt;STRONG&gt;move&amp;nbsp;&lt;/STRONG&gt;the vfiler, i only want to&amp;nbsp;run a&amp;nbsp;resync after adding the new volume, hence this didn't look like what i was after? I could be wrong in my interpretation though.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 16:32:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117967#M1890</guid>
      <dc:creator>markey164</dc:creator>
      <dc:date>2016-04-05T16:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Toolkit - cmdlets for vfiler dr resync?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117968#M1891</link>
      <description>&lt;P&gt;I see that now, and the ZAPI docs reflect the same operation. &amp;nbsp;This is significantly different than what the CLI command, with the exact same name, does...I'm going to see if I can track down the internal owner and get an authoratative answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 16:42:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117968#M1891</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-04-05T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Toolkit - cmdlets for vfiler dr resync?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117999#M1892</link>
      <description>&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou, that would be great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be a shame if this function&amp;nbsp;can't be&amp;nbsp;automated via Powershell. Its the last bit I need to complete my script!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 09:37:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/117999#M1892</guid>
      <dc:creator>markey164</dc:creator>
      <dc:date>2016-04-06T09:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Toolkit - cmdlets for vfiler dr resync?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/118011#M1893</link>
      <description>&lt;P&gt;If nothing else, you could use Invoke-NaSsh or Invoke-NaSystemApi (using system-cli). &amp;nbsp;It's not as graceful, e.g. no object returned, just the raw CLI output, but you would be able to execute the task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 13:30:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/118011#M1893</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-04-06T13:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Toolkit - cmdlets for vfiler dr resync?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/118052#M1896</link>
      <description>&lt;P&gt;I checked with engineering (thanks Naveed!) and we believe that the documentation is wrong and the "vfiler-dr-resync" ZAPI is the equivalent of the CLI command "vfiler dr resync", which means that the cmdlet&amp;nbsp;Invoke-NaVfilerDrResync should also have the same functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, to be 100% safe, you should test beforehand : )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if I can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:54:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/118052#M1896</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-04-07T13:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Toolkit - cmdlets for vfiler dr resync?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/118064#M1897</link>
      <description>&lt;P&gt;One more note after some additional clarification internally...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command “vfiler dr resync” is used for two purposes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;It can be run on the DR vfiler unit to resynchronize it with the original vfiler unit which is currently active.&lt;/LI&gt;&lt;LI&gt;It can be run on the original vfiler unit to resynchronize with the currently activated DR vfiler unit before reactivating the original vfiler unit.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Depending on the command arguments, it will identify which one of the two uses and act accordingly. &amp;nbsp;It appears that the documentation only reflects the second of those use cases, however the ZAPI *should* work the same...which means that the cmdlet should as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 17:03:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Toolkit-cmdlets-for-vfiler-dr-resync/m-p/118064#M1897</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-04-07T17:03:00Z</dc:date>
    </item>
  </channel>
</rss>

