1 Reply Latest reply on Oct 13, 2017 10:21 AM by christopher.t.jones123

    NCM 7.7 Firmware Upgrade using SCP


      Is anyone having any issues using SCP for Firmware Upgrades within NCM 7.7?


      specifically what is occurring in my environment is that it runs the back up portion of the script to back the firmware up to my SCP server (which is Solarwinds) after it says success it just doesn't move on to the verify and the rest of the script i've restarted the task multiple times, I've let it sit over night, and still just sitting at the same spot.


      I'm going to try and run it again after I rebooted the Solarwinds server, but i'm not confident it will work.


      Any insight would be greatly appreciated.


      Below are the strings for backup from my template



      One thing to note that I modified was that on the backup portion i had to add the 4th ${CRLF} (highlighted) or the task would fail when the device prompts for a password. After I added that it was able to backup successfully.


      The task works for TFTP just fine.

        • Re: NCM 7.7 Firmware Upgrade using SCP

          Just an update to this one that Solarwinds Support assisted me with finding. It turned out to be a permissions issue. Once the back up was completed it was attempting to delete the backed up firmware and the account that I was using for the transfer did not have the appropriate permissions. Also as soon as I moved on from that I also had to add additional ${CRLF} to account for the download asking for a password. My new transfer command in the firmware template looks like this.


          copy ${TransferProtocol}://${StorageAddress}/${NewImageName} ${NewImageSlot}${CRLF}${CRLF}${CRLF}${CRLF}${CRLF}dir ${NewImageSlot} ${SuccessRegEx:${NewImageName}}


          it previously looked like this


          copy ${TransferProtocol}://${StorageAddress}/${NewImageName} ${NewImageSlot}${CRLF}${CRLF}dir ${NewImageSlot} ${SuccessRegEx:${NewImageName}}

          1 of 1 people found this helpful