NetApp states this is “unsupported”, so I’m posting this here for ideas.

 

For the last 10 years or so we have used a process to automatically download and push disk and shelf firmware to the filers.

The process begins with a wget to grab the all.tar file:

wget --http-user=userid --http-passwd=password -P /path/to/put/it http://download.netapp.com/download/tools/diskfw/bin/all.gz

 

Now with the recent changes on the support site this year, that method no longer works.

                I tracked down the new location and tried this:

wget --http-user=userid --http-passwd=password -P /path/to/put/it http://support.netapp.com/NOW/download/tools/diskfw/bin/all.gz

                but it fails, even with a few other flags I tried, the best I could get was a login.html file downloaded.

 

So it’s clear that Netapp is redirecting the request for authentication.

 

I looked into wget a further and tried to login, grab the cookies, save them to a file and then use that authentication to grab the file, no luck there either.

 

wget --no-check-certificate --keep-session-cookies --save-cookies cookies.txt --post-data 'user=userid&password=password&postpreservationdata=""' https://login.netapp.com/oamforms/login.html

wget --no-check-certificate --load-cookies cookies.txt -P /path/to/put/it http://support.netapp.com/NOW/download/tools/diskfw/bin/all.gz

 

 

So that’s my dilemma. I’m looking for ideas, work arounds, other implementations, anything so I can automate the download of the all.gz and the all_shelf_fw.tar files.

From there my process will continue as before.

 

Thanks in advance!

 

Tim