How Do I Upgrade the Software of My Nodegrid?

How Do I Upgrade the Software of My Nodegrid?

Steps for the Nodegrid software upgrade via WebUI

1. Once you get the software from ZPE Systems (from your Sales representative), save the ISO file:
      a. into your PC/laptop
      b. into a Remote Server such as FTP, SSH, HTTP
      c. into the NodeGrid, to the /var/sw directory:
            i. transfer the iso file using scp - example: scp nodegrid.iso admin@nodegrid:/var/sw/
            ii. copy the iso file to a USB flash drive and plug it to a Nodegrid USB port. Log in as root to Nodegrid, and go to
                /run/media/sdb or /run/media/sdb1 directory. Then copy the iso file to /var/sw folder. 

2. Enter the NodeGrid IP address or hostname into a browser and log in as admin

3. Go to System :: Toolkit page, and click on Software Upgrade

4. Select the Image Location:
      a. Local System, if you have saved the ISO file into the /var/sw directory of the NodeGrid. Then select the filename.
      b. Local Computer, if you have saved the ISO file into your PC/laptop. Then choose the file.
      c. Remote Server, and enter the server's information and credentials. Note that the URL requires the following                    format: <PROTOCOL>://<ServerAddress>/<Remote File>. Protocols supported are FTP, TFTP, SFTP, HTTP, HTTPS, SCP. For       example, ftp://192.168.160.10/nodegrid.iso or https://192.168.161.254/nodegrid.iso.

5. Then click on Upgrade button.
 

Steps for the NodeGrid Software upgrade via CLI

1. Once you get the software from ZPE Systems (from your Sales representative), save the ISO file
      a. into a Remote Server such as FTP, SSH, HTTP.
      b. into the NodeGrid, to the /var/sw directory:
            i. transfer the iso file using scp - example: scp nodegrid.iso admin@nodegrid:/var/sw/
            ii. copy the iso file to a USB flash drive and plug it to a Nodegrid USB port. Log in as root to Nodegrid, and go to
                /run/media/sdb or /run/media/sdb1 directory. Then copy the iso file to /var/sw folder. 

2. Access the Nodegrid via ssh, local port (Console or HDMI port), or telnet (if enabled), and log in as admin.

3. Type the following:
     cd /system/toolkit/
     software_upgrade
     set image_location=local_system
     set filename=<image_file>
     upgrade
- OR - 
     cd /system/toolkit/
     software_upgrade
     set image_location=remote_server 
     set url=<protocol://ServerAddress/image_file>
     set username=<user>
     set password=<password>
     upgrade

Note: For the URL, the supported protocols are FTP, SFTP, TFTP, HTTP, HTTPS, and SCP.
 
Examples:

Local System
[admin@nodegrid /]# cd /system/toolkit/
[admin@nodegrid toolkit]# software_upgrade
[admin@nodegrid {toolkit}]# set image_location=local_system
[admin@nodegrid {toolkit}]# set filename=NodeGrid_Platform_v3.2.38_20170520.iso
[admin@nodegrid {toolkit}]# upgrade

Using FTP server
[admin@nodegrid /]# cd /system/toolkit
[admin@nodegrid toolkit]# software_upgrade
[admin@nodegrid {toolkit}]# set image_location=remote_server url=ftp://10.0.0.1/NodeGrid_Platform_v3.2.38_20170520.iso
[admin@nodegrid {toolkit}]# set username=john 
[admin@nodegrid {toolkit}]# set password=john1234 
[admin@nodegrid {toolkit}]# upgrade

Using SCP server
[admin@nodegrid /]# cd /system/toolkit
[admin@nodegrid toolkit]# software_upgrade
[admin@nodegrid {toolkit}]# set image_location=remote_server 
[admin@nodegrid {toolkit}]# set url=scp://SCP.server.com/NodeGrid_Platform_v3.2.38_20170520.iso
[admin@nodegrid {toolkit}]# set username=jane.jane 
[admin@nodegrid {toolkit}]# set password=janepasswd
[admin@nodegrid {toolkit}]# upgrade 

Using HTTPS server
[admin@nodegrid /]# cd /system/toolkit
[admin@nodegrid toolkit]# software_upgrade
[admin@nodegrid {toolkit}]# set image_location=remote_server url=https://192.168.160.254/NodeGrid_Platform_v3.2.38_20170520.iso
[admin@nodegrid {toolkit}]# set username=superuser password=superuserpassword
[admin@nodegrid {toolkit}]# upgrade