7 Replies Latest reply: Jun 21, 2013 2:35 PM by skiser@tep.com RSS

Powershell NDMP Copy over non-routed network?

Currently Being Moderated

Has anyone tried to use the NDMP copy commands to copy files between controllers over a non-routed network?  I'm working on updating my restore script (https://communities.netapp.com/docs/DOC-23783) so that if you chose a production Filer, it will use SnapRestore and if you chose a DR Filer it will use NDMP copy.  It works if I use the public IPs, but not if I use our non-routed storage network IPs (our storage network is 10GB whereas public is only 1GB, hence the desire to use the storage network).


Here is the error I receive:

Start-NaNdmpCopy : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <storage_IP>:10000


Here is the command I am running (see underlined section):

If (($MyFiler -eq "DRFILER1") -or ($MyFiler -eq "DRFILER2") -or ($MyFiler -eq "DRFILER3")) {

    Connect-NaController $MyFiler

    If (!($Source_IP)) {$MySourceIP = $Source_IP_Pub} Else {$MySourceIP = $Source_IP}

    If (!($Dest_IP)) {$MyDestIP = $Dest_IP_Pub} Else {$MyDestIP = $Dest_IP}

    New-PSDrive -Name "ds1" -Root \ -PSProvider VimDatastore -Datastore $vmDatastore

    cd ds1:\$vm2restore

    $fileList = Get-ChildItem -Name


    ForEach ($file in $fileList) {

        If (($file -notcontains "*.log") -and ($file -ne "restore_symboltable")) {

            Start-NaNdmpCopy -SrcController $MySourceIP -SrcPath "/vol/$MyVol/.snapshot/$snapshot1/$vmDatastore/$vm2restore/$file" -DstController $MyDestIP -DstPath "$ProdPath/$vm2restore/" -SrcCredential $cred -DstCredential $cred -SrcAuthType md5 -DstAuthType md5


    Do {

        Start-Sleep -Seconds 5

        $ndmp = Get-NaNdmpCopy


    While ($ndmp.State -eq "RUNNING")



Thanks in advance.


More Like This

  • Retrieving data ...