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:
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.tar -f
software
get http://169.254.254.1:8080/all.gz -f
software
get http://169.254.254.1:8080/qual_devices_tar.gz -f
priv
set diag
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
useradmin
diaguser password
useradmin
diaguser unlock
systemshell
login:
diag
Password:
cd
/mroot/etc/software
tar
-zxvf all_shelf_fw.tar
tar
-zxvf all.gz
tar
-zxvf qual_devices_tar.gz
mv
/mroot/etc/software/shelf_fw/* /mroot/etc/shelf_fw/
mv
/mroot/etc/software/acpp_fw/* /mroot/etc/acpp_fw/
mv
/mroot/etc/software/disk_fw/* /mroot/etc/disk_fw/
mv
/mroot/etc/software/qual_devices_v3 /mroot/etc/qual_devices_v3
rm
/mroot/etc/software/all_shelf_fw.tar
rm
/mroot/etc/software/all.gz
rm
/mroot/etc/software/qual_devices_tar.gz
ls
/mroot/etc/software
exit
storage
download shelf
storage
download acp
options
raid.background_disk_fw_update.enable # Default is on
options
raid.background_disk_fw_update.enable on # If off
sysconfig
-v
storage
show acp
useradmin
diaguser lock
THE END
Comments
Post a Comment