Categories

Configure Workstation for HTTP or SFTP Services

You are here:
< All Topics

Performing firmware and OS updates for a Clustered ONTAP environment is different from performing the same tasks in a 7-Mode environment. In 7-Mode, the easiest way of uploading the necessary files to the controllers was a simple file copy via CIFS or NFS. In cDOT, you don’t have this option for the cluster. Additionally, if you have a 4-node or larger cluster, you also have the cluster interconnect switches to contend with. The options for uploading the necessary files to the cluster are via HTTP, SFTP or SCP. Likewise, the options for uploading the necessary files to the cluster interconnect switches are via SFTP or SCP. If you do not already have a dedicated utility system set up for HTTP/SFTP services, the following are quick methods for setting up HTTP or SFTP on your local workstation.

Windows

Microsoft users have a few options on how to set up web services. However, there are two easy, quick, simple, and more importantly, free utilities that are recommended:

  • Mongoose Simple Web Server – s an utility that all you have to do is place it and the files that you want to distribute in the same directory and double-click. It will immediately open up a browser page of http://:8080 (8080 is the default port) and all of the files are there for retrieval. When you have finished uploaded the files needed to the cluster(s) you exit the program by clicking on the icon in the system tray and selecting exit.
  • Solarwinds SFTP Server – is another utility that many network administrators have been using for years to transfer files to and from network devices.

OS X

OS X has builtin utilities for both web services and TFTP services. Here are the procedures for setting up both: Python Simple HTTP Server Launch the Terminal application in OS X and, from the Bash shell, change directory to your home directory, if not already there.

Last login: Sat Jan 28 16:13:32 on ttys001
:username$ cd ~
:username$ pwd
/Users/username

Create a directory called Sites.

:username$ mkdir Sites
:username$ ls -l
total 8
drwx——@ 3 username staff 102 Dec 9 19:51 Applications
drwx——@ 5 username staff 170 Jan 27 03:47 Desktop
drwxr-xr-x@ 34 username staff 1156 Jan 23 09:01 Documents
drwxr-xr-x+ 64 username staff 2176 Jan 28 15:25 Downloads
drwx——@ 27 username staff 918 Jan 27 03:47 Dropbox
drwx——@ 66 username staff 2244 Jan 18 07:30 Library
drwxr-xr-x+ 6 username staff 204 Jan 11 16:34 Movies
drwxr-xr-x+ 21 username staff 714 Jan 11 16:34 Music
drwxr-xr-x+ 43 username staff 1462 Jan 14 11:10 Pictures
drwxr-xr-x+ 5 username staff 170 Dec 9 19:15 Public
drwxrwxrwx@ 25 username staff 850 Jan 14 07:50 Sites

You can now download the files you need and save to the Sites folder. Back in the Bash shell, change directory to Sites and list the directory contents.

:username$ cd Sites/
:Sites username$ ls -l
total 11620120
-rwxrwxrwx@ 1 username staff 219076426 Dec 28 09:21 814P10_e_image.tgz
-rwxrwxrwx@ 1 username staff 226076878 Dec 28 09:23 814P10_e_image.zip
-rwxrwxrwx@ 1 username staff 207801301 Dec 28 09:23 814P10_e_netboot.tgz
-rwxrwxrwx@ 1 username staff 249159750 Dec 28 09:21 814P10_q_image.tgz
-rwxrwxrwx@ 1 username staff 270307184 Dec 28 09:21 814P10_q_image.zip
-rwxrwxrwx@ 1 username staff 223503754 Dec 28 09:21 814P10_q_netboot.tgz
-rwxrwxrwx@ 1 username staff 500410817 Dec 28 09:21 824P5_q_image.tgz
-rwxrwxrwx@ 1 username staff 475173704 Dec 28 09:21 824P5_q_netboot.tgz
-rwxrwxrwx@ 1 username staff 172596872 Dec 8 17:18 832P8_q_image.tgz
-rwxrwxrwx@ 1 username staff 17718728 Dec 8 17:10 832P8_q_netboot.tgz
-rw-r–r–@ 1 username staff 575952059 Jan 12 19:54 832P9_q_image.tgz
-rw-r–r–@ 1 username staff 554286788 Jan 12 20:46 832P9_q_netboot.tgz
-rwxrwxrwx@ 1 username staff 623443411 Dec 28 09:18 90P2_q_image.tgz
-rwxrwxrwx@ 1 username staff 606997652 Dec 28 09:18 90P2_q_netboot.tgz
-rw-r–r–@ 1 username staff 814632434 Jan 12 19:45 91_q_image.tgz
-rwxrwxrwx@ 1 username staff 2266 Oct 8 06:03 CN1610_CS_RCF_v1.2.txt
-rwxrwxrwx@ 1 username staff 12854508 Oct 8 06:03 NetApp_CN1610_1.2.0.7.stk
-rwxrwxrwx@ 1 username staff 162149289 Dec 28 09:33 all.zip
-rwxrwxrwx@ 1 username staff 37283453 Dec 28 09:33 all_shelf_fw.zip
-rwxrwxrwx 1 username staff 414 May 30 2015 id_rsa.pub
-rwxrwxrwx 1 username staff 2642 Jul 8 2011 index.html
-rwxrwxrwx@ 1 username staff 32099 Dec 28 09:33 qual_devices.zip
Table of Contents