<?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: Invoke-NcSSH in WFA in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129915#M23442</link>
    <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/11221"&gt;@cscott&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try the code which I suggested? Did it not work for you? I've used Start-Job and I was almost ceratin this has to work for your original requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2017 13:11:17 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2017-04-07T13:11:17Z</dc:date>
    <item>
      <title>Invoke-NcSSH in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129002#M23185</link>
      <description>&lt;P&gt;I am trying to build an ndmpcopy based restore job in WFA due to functionality issues within OCUM.&amp;nbsp; The job works without issue, however as I have to call Invoke-NcSSH the command waits for the restore to finish.&amp;nbsp; Without the command going into a success status and moving on, the monitoring command I have put together is not called until after the restore command completes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know of a way to have WFA accept that a command has been run, ignore output and drop out to move to the next command?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:20:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129002#M23185</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2025-06-04T15:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSSH in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129100#M23215</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/11221"&gt;@cscott&lt;/a&gt;,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your query, I think below logic would help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to WFA limitation, without completion of first command, second command cannot be executed in the workflow.&lt;/P&gt;&lt;P&gt;If you want to achieve, you must split present workflow into 2 workflows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make “Restore command” into first workflow.&lt;/P&gt;&lt;P&gt;And Make “monitor command” into second workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Monitor command should include code for execute first workflow using WFA REST API as well as monitor code details.&lt;/P&gt;&lt;P&gt;When you execute the workflow from command that workflow will be running in background. (i.e. “Restore command” will be running in background)&lt;/P&gt;&lt;P&gt;So, monitor code will continue to “Restore command” progress.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;answers&lt;SPAN&gt;&amp;nbsp;your question&lt;/SPAN&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:06:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129100#M23215</guid>
      <dc:creator>sivakumar_sekar</dc:creator>
      <dc:date>2017-03-16T14:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSSH in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129103#M23217</link>
      <description>&lt;P&gt;Thank you for the reply, but that isn't the issue.&amp;nbsp; An ndmpcpoy invoke by nature of the command is a verbose out, there is no background or quiet option available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means when I use "Invoke-NcSSH ndmpcopy -sa -da path path", the command doesn't show completion until the entire restore completes or fails.&amp;nbsp; This would be the same if it were run on the CLI, what I need is a way to Invoke-NcSSH in non-interactive mode so that I can allow the command to timeout but continue running.&amp;nbsp; I actually somehow had this work one time and then after a log out and back in the job didn't work the same way...I cannot figure out how to replicate what happened in that single run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is likely an issue with the ndmp command and Invoke-NcSSH cmdlet as in 7mode we had start-nandmpcopy which would return as soon as the command was submitted.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:50:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129103#M23217</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2017-03-16T15:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSSH in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129104#M23218</link>
      <description>&lt;P&gt;removing reply - Issue is still present, it simply changed format and didn't appear in the same way.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 16:45:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129104#M23218</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2017-03-16T16:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSSH in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129174#M23238</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/11221"&gt;@cscott&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if invoking cli commands using ssh is the best way for doing ndmp copy. There are Posh cmdlets available for it..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you need to use the cli and for your requirement, you can try the below. I'm using a simple qtree show command for my example, you can try yours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Start-Job -ScriptBlock { 
$cd=New-Object System.Management.Automation.PSCredential (“admin”, (ConvertTo-SecureString “pass1!” -AsPlainText -Force)) ;
Invoke-NcSsh -Name 1.2.3.4 -Command 'qtree show' -Credential $cd; }&lt;/PRE&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2017 03:19:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129174#M23238</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2017-03-18T03:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSSH in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129913#M23440</link>
      <description>&lt;P&gt;Unfortunately there are not in cDOT, they have been removed.... I am stuck right now with the fact that OCUM does not do what the customer needs of it and scripting it has turned out to be nearly impossible because things were laid out with the idea that OCUM would be managing these backups and the complexity of the layout would be irrelevant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That leaves me with the only option of re-designing the snapvault implementations to remove vaults from DR desitnations and pull them from the sources thus&amp;nbsp;increasing the bandwith required of snapvaults between datacenters. &amp;nbsp;Doing this will at least allow me to control the restore process somewhat and provide a viable solution to the customer.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 12:57:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129913#M23440</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2017-04-07T12:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSSH in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129915#M23442</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/11221"&gt;@cscott&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try the code which I suggested? Did it not work for you? I've used Start-Job and I was almost ceratin this has to work for your original requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 13:11:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Invoke-NcSSH-in-WFA/m-p/129915#M23442</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2017-04-07T13:11:17Z</dc:date>
    </item>
  </channel>
</rss>

