<?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: powershell toolkit difference from system manager GUI or scheduled snapmirror. in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/powershell-toolkit-difference-from-system-manager-GUI-or-scheduled-snapmirror/m-p/137547#M2548</link>
    <description>&lt;P&gt;SOLVED.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, In the volume create command you must have&amp;nbsp; and export policy set such as ' -ExportPolicy "default" ' .&amp;nbsp; If this is not set, then just after the snapmirror update when done from system manager GUI or the automatic schedule it will detect that no policy was specified and add default.&amp;nbsp; The powershell snapmirror update does not do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 20:55:02 GMT</pubDate>
    <dc:creator>JeffM</dc:creator>
    <dc:date>2018-01-23T20:55:02Z</dc:date>
    <item>
      <title>powershell toolkit difference from system manager GUI or scheduled snapmirror.</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/powershell-toolkit-difference-from-system-manager-GUI-or-scheduled-snapmirror/m-p/137546#M2547</link>
      <description>&lt;P&gt;I have created a powershell script which creates volumes and snapmirrors. Near the end I attemp to set a junction point on the target side. I ensure that the snapmirror is initialized and then i do a snapmirror update using&amp;nbsp;Invoke-NcSnapmirrorUpdate.&amp;nbsp; I then wait until it is complete. For some reason the target side junction creation fails with the below error unless 1 of 2 things happens.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. The snapshot schedule kicks off&lt;/P&gt;&lt;P&gt;2. I manually sync the volume from the web gui in system manager.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mount-NcVol : Failed to create or determine if a junction exists within volume "name_images_mirror". Error occurred with the remaining junction path of "/name_word03" for the given path&lt;BR /&gt;of "/name_images/name_word03" Reason: Junction create failed (30).&lt;BR /&gt;At C:\secu\provision hyland.ps1:80 char:22&lt;BR /&gt;+ ... etVserver | mount-NcVol -name $NewVolNameTarget -JunctionPath $rootJu ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (xx.xxx.xxx.xxx:NcController) [Mount-NcVol], EAPIERROR&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.MountNcVol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;once the auto scheduled snapmirror update occurs the junction can be created just fine. This leaves me to believe that there is a difference between powershell&amp;nbsp;&lt;SPAN&gt;Invoke-NcSnapmirrorUpdate and the auto update that happens via schedule or the manually done method via system manager gui.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have obfuscated the IP and names in this example.&amp;nbsp; I am using the latest PS toolkit.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:07:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/powershell-toolkit-difference-from-system-manager-GUI-or-scheduled-snapmirror/m-p/137546#M2547</guid>
      <dc:creator>JeffM</dc:creator>
      <dc:date>2025-06-04T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: powershell toolkit difference from system manager GUI or scheduled snapmirror.</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/powershell-toolkit-difference-from-system-manager-GUI-or-scheduled-snapmirror/m-p/137547#M2548</link>
      <description>&lt;P&gt;SOLVED.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, In the volume create command you must have&amp;nbsp; and export policy set such as ' -ExportPolicy "default" ' .&amp;nbsp; If this is not set, then just after the snapmirror update when done from system manager GUI or the automatic schedule it will detect that no policy was specified and add default.&amp;nbsp; The powershell snapmirror update does not do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 20:55:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/powershell-toolkit-difference-from-system-manager-GUI-or-scheduled-snapmirror/m-p/137547#M2548</guid>
      <dc:creator>JeffM</dc:creator>
      <dc:date>2018-01-23T20:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: powershell toolkit difference from system manager GUI or scheduled snapmirror.</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/powershell-toolkit-difference-from-system-manager-GUI-or-scheduled-snapmirror/m-p/137549#M2549</link>
      <description>&lt;P&gt;It would be nice if the commands were the same. I would recommend modifying the powershell toolkit to pass along -ExportPolicy with a value of "default", even when no&amp;nbsp;-ExportPolicy&amp;nbsp; argument is supplied. In that way it would behave the same as the automatic snapmirror schedule and the GUI snapmirror update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 21:02:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/powershell-toolkit-difference-from-system-manager-GUI-or-scheduled-snapmirror/m-p/137549#M2549</guid>
      <dc:creator>JeffM</dc:creator>
      <dc:date>2018-01-23T21:02:36Z</dc:date>
    </item>
  </channel>
</rss>

