Monday, 5 September 2016

Installing 7-Mode Shelf, ACP, and Disk Firmware, and Qual_Devices, whilst in the Datacenter

It’s a bit funny to post some 7-Mode stuff, but
it’s still out there, and finally I learnt how it’s really easy to do the
titular task!

Scenario

We’re in
the datacentre, we’ve just got our trusty laptop, Mongoose Web Server, a
console cable, an Ethernet cable, and the required softwares, to facilitate
installing Shelf, ACP, and Disk Firmware, and Qual_Devices.

Installing ZIPs

Laptop
IP is 169.254.254.1/16 (an APIPA IP that no one should be using.) We’re
plugging into a spare and unused e0b port on the back of the controller. We
first set e0b’s IP address, get and install the software, then clear e0b’s IP
address:

ifconfig -a

ifconfig e0b 169.254.254.2
netmask 255.255.0.0

ifconfig e0b

software install http://169.254.254.1:8080/all_shelf_fw.zip
-f

software install http://169.254.254.1:8080/all.zip
-f

software install http://169.254.254.1:8080/qual_devices.zip
-f

ifconfig e0b 0.0.0.0

Note: The -f (for
force) just overwrites the files if they already exist in /etc/software.

Installing ZIPs
more Slowly and Checking

Same as above, except this time we do get and then
install later, and review the contents of the various directories to see they
have been updated:

ifconfig -a

ifconfig e0b 169.254.254.2
netmask 255.255.0.0

ifconfig e0b

software get http://169.254.254.1:8080/all_shelf_fw.zip
-f

software get http://169.254.254.1:8080/all.zip
-f

software get http://169.254.254.1:8080/qual_devices.zip
-f

priv set advanced

ls /etc/software

ifconfig e0b 0.0.0.0

ls /etc/shelf_fw

ls /etc/acpp_fw

ls /etc/disk_fw

rdfile /etc/qual_devices_v3

software install all_shelf_fw.zip

software install all.zip

software install qual_devices.zip

ls /etc/shelf_fw

ls /etc/acpp_fw

ls /etc/disk_fw

rdfile /etc/qual_devices_v3

sysconfig -v

storage show acp

Installing TAR
and GZ Files

If you’ve not got the ZIP variants, then you can’t use “software
install”. Here’s what we do: