Difference between revisions of "SLS Pismo: Updating firmwares"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== cxmanage and ipmitool == * The Calxeda/SLS version of <code>ipmitool</code> must be installed for this process to work. * <code>cxmanage</code> must be installed for this t...")
 
Line 57: Line 57:
 
[root@pxe boston_arm_scripts]#
 
[root@pxe boston_arm_scripts]#
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
== Update node firmware ==
 +
* '''<code>cxmanage -a fwupdate package <firmware_filename> <node0_ecme_address></code>''':
 +
<syntaxhighlight>
 +
[root@pxe ~]# cxmanage -a fwupdate package /root/boston_arm_scripts/sls/ECX-2000_update-gaia-v2.6.9rc1.tar.gz 172.28.101.0
 +
Getting IP addresses...
 +
1 successes  |  0 errors  |  0 nodes left  |  . 
 +
 +
Discovered the following IP addresses:
 +
172.28.101.0
 +
172.28.101.1
 +
. . .
 +
172.28.101.46
 +
172.28.101.47
 +
 +
NOTE: Please check node count! Ensure discovery of all nodes in the cluster. Power cycle your system if the discovered node count does not equal nodes in your system.
 +
 +
Discovered 48 nodes. Continue? (y/n) y
 +
 +
Checking hosts...
 +
48 successes  |  0 errors  |  0 nodes left  |    .
 +
 +
Updating firmware...
 +
0 successes  |  0 errors  |  48 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.23/20151207175610-fwupdate.log
 +
1 successes  |  0 errors  |  47 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.14/20151207175610-fwupdate.log
 +
2 successes  |  0 errors  |  46 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.10/20151207175610-fwupdate.log
 +
3 successes  |  0 errors  |  45 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.22/20151207175610-fwupdate.log
 +
4 successes  |  0 errors  |  44 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.27/20151207175610-fwupdate.log
 +
5 successes  |  0 errors  |  43 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.12/20151207175610-fwupdate.log
 +
6 successes  |  0 errors  |  42 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.42/20151207175610-fwupdate.log
 +
7 successes  |  0 errors  |  41 nodes left  |   
 +
Log saved to /root/.cxmanage/logs/172.28.101.31/20151207175610-fwupdate.log
 +
8 successes  |  0 errors  |  40 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.43/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.25/20151207175610-fwupdate.log
 +
10 successes  |  0 errors  |  38 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.35/20151207175610-fwupdate.log
 +
11 successes  |  0 errors  |  37 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.9/20151207175610-fwupdate.log
 +
12 successes  |  0 errors  |  36 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.36/20151207175610-fwupdate.log
 +
13 successes  |  0 errors  |  35 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.6/20151207175610-fwupdate.log
 +
14 successes  |  0 errors  |  34 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.44/20151207175610-fwupdate.log
 +
15 successes  |  0 errors  |  33 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.5/20151207175610-fwupdate.log
 +
16 successes  |  0 errors  |  32 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.19/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.46/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.33/20151207175610-fwupdate.log
 +
19 successes  |  0 errors  |  29 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.11/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.28/20151207175610-fwupdate.log
 +
21 successes  |  0 errors  |  27 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.16/20151207175610-fwupdate.log
 +
22 successes  |  0 errors  |  26 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.1/20151207175610-fwupdate.log
 +
23 successes  |  0 errors  |  25 nodes left  |   
 +
Log saved to /root/.cxmanage/logs/172.28.101.29/20151207175610-fwupdate.log
 +
24 successes  |  0 errors  |  24 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.17/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.7/20151207175610-fwupdate.log
 +
26 successes  |  0 errors  |  22 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.2/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.18/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.38/20151207175610-fwupdate.log
 +
29 successes  |  0 errors  |  19 nodes left  |   
 +
Log saved to /root/.cxmanage/logs/172.28.101.0/20151207175610-fwupdate.log
 +
30 successes  |  0 errors  |  18 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.41/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.37/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.13/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.45/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.21/20151207175610-fwupdate.log
 +
35 successes  |  0 errors  |  13 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.20/20151207175610-fwupdate.log
 +
36 successes  |  0 errors  |  12 nodes left  |   
 +
Log saved to /root/.cxmanage/logs/172.28.101.34/20151207175610-fwupdate.log
 +
37 successes  |  0 errors  |  11 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.47/20151207175610-fwupdate.log
 +
38 successes  |  0 errors  |  10 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.3/20151207175610-fwupdate.log
 +
39 successes  |  0 errors  |  9 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.4/20151207175610-fwupdate.log
 +
40 successes  |  0 errors  |  8 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.8/20151207175610-fwupdate.log
 +
41 successes  |  0 errors  |  7 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.40/20151207175610-fwupdate.log
 +
42 successes  |  0 errors  |  6 nodes left  |  ...
 +
Log saved to /root/.cxmanage/logs/172.28.101.15/20151207175610-fwupdate.log
 +
43 successes  |  0 errors  |  5 nodes left  |   
 +
Log saved to /root/.cxmanage/logs/172.28.101.24/20151207175610-fwupdate.log
 +
44 successes  |  0 errors  |  4 nodes left  |  . 
 +
Log saved to /root/.cxmanage/logs/172.28.101.30/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.26/20151207175610-fwupdate.log
 +
46 successes  |  0 errors  |  2 nodes left  |  ..
 +
Log saved to /root/.cxmanage/logs/172.28.101.39/20151207175610-fwupdate.log
 +
 +
Log saved to /root/.cxmanage/logs/172.28.101.32/20151207175610-fwupdate.log
 +
48 successes  |  0 errors  |  0 nodes left  |  ...
 +
 +
Command completed successfully.
 +
 +
[root@pxe ~]#
 +
</syntaxhighlight>
 +
'''N.B.''' - The nodes must be power-cycled for this update to take effect.
 +
 +
== Reset network fabric to factory defaults ==

Revision as of 18:07, 7 December 2015

cxmanage and ipmitool

  • The Calxeda/SLS version of ipmitool must be installed for this process to work.
  • cxmanage must be installed for this to work.
  • For further information, see here.

Check the current running node firmware

  • cxmanage -a info <node0_ecme_address>:
[root@pxe boston_arm_scripts]# cxmanage -a info 172.28.101.0
Getting IP addresses...
1 successes  |  0 errors  |  0 nodes left  |  .  

Discovered the following IP addresses:
172.28.101.0
172.28.101.1
. . . 
172.28.101.46
172.28.101.47

Getting info...
48 successes  |  0 errors  |  0 nodes left  |  .   

[ Info from 172.28.101.0 ]
Hardware version    : Foxconn Gaia SoC X01
Firmware version    : ECX-2000-v2.6.7-dirty
ECME version        : v2.6.7-dirty
CDB version         : v2.6.7-dirty
Stage2boot version  : v2.6.7-dirty
Bootlog version     : v2.6.7-dirty
A15boot version     : v2.6.7
Uboot version       : cx_v2.6.7
Ubootenv version    : cx_v2.6.7
DTB version         : v3.8-rc4_cx_2013.06.28-10-g324a0
Node EEPROM version : Unknown
Node EEPROM config  : 0
Slot EEPROM version : Unknown
Slot EEPROM config  : 0
PMIC version        : 193
. . .
[ Info from 172.28.101.47 ]
Hardware version    : Foxconn Gaia SoC X01
Firmware version    : ECX-2000-v2.6.7-dirty
ECME version        : v2.6.7-dirty
CDB version         : v2.6.7-dirty
Stage2boot version  : v2.6.7-dirty
Bootlog version     : v2.6.7-dirty
A15boot version     : v2.6.7
Uboot version       : cx_v2.6.7
Ubootenv version    : cx_v2.6.7
DTB version         : v3.8-rc4_cx_2013.06.28-10-g324a0
Node EEPROM version : Unknown
Node EEPROM config  : 0
Slot EEPROM version : Invalid Image
Slot EEPROM config  : -1
PMIC version        : 193

[root@pxe boston_arm_scripts]#

Update node firmware

  • cxmanage -a fwupdate package <firmware_filename> <node0_ecme_address>:
[root@pxe ~]# cxmanage -a fwupdate package /root/boston_arm_scripts/sls/ECX-2000_update-gaia-v2.6.9rc1.tar.gz 172.28.101.0
Getting IP addresses...
1 successes  |  0 errors  |  0 nodes left  |  .  

Discovered the following IP addresses:
172.28.101.0
172.28.101.1
. . .
172.28.101.46
172.28.101.47

NOTE: Please check node count! Ensure discovery of all nodes in the cluster. Power cycle your system if the discovered node count does not equal nodes in your system.

Discovered 48 nodes. Continue? (y/n) y

Checking hosts...
48 successes  |  0 errors  |  0 nodes left  |     .

Updating firmware...
0 successes  |  0 errors  |  48 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.23/20151207175610-fwupdate.log
1 successes  |  0 errors  |  47 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.14/20151207175610-fwupdate.log
2 successes  |  0 errors  |  46 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.10/20151207175610-fwupdate.log
3 successes  |  0 errors  |  45 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.22/20151207175610-fwupdate.log
4 successes  |  0 errors  |  44 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.27/20151207175610-fwupdate.log
5 successes  |  0 errors  |  43 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.12/20151207175610-fwupdate.log
6 successes  |  0 errors  |  42 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.42/20151207175610-fwupdate.log
7 successes  |  0 errors  |  41 nodes left  |     
Log saved to /root/.cxmanage/logs/172.28.101.31/20151207175610-fwupdate.log
8 successes  |  0 errors  |  40 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.43/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.25/20151207175610-fwupdate.log
10 successes  |  0 errors  |  38 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.35/20151207175610-fwupdate.log
11 successes  |  0 errors  |  37 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.9/20151207175610-fwupdate.log
12 successes  |  0 errors  |  36 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.36/20151207175610-fwupdate.log
13 successes  |  0 errors  |  35 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.6/20151207175610-fwupdate.log
14 successes  |  0 errors  |  34 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.44/20151207175610-fwupdate.log
15 successes  |  0 errors  |  33 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.5/20151207175610-fwupdate.log
16 successes  |  0 errors  |  32 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.19/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.46/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.33/20151207175610-fwupdate.log
19 successes  |  0 errors  |  29 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.11/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.28/20151207175610-fwupdate.log
21 successes  |  0 errors  |  27 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.16/20151207175610-fwupdate.log
22 successes  |  0 errors  |  26 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.1/20151207175610-fwupdate.log
23 successes  |  0 errors  |  25 nodes left  |     
Log saved to /root/.cxmanage/logs/172.28.101.29/20151207175610-fwupdate.log
24 successes  |  0 errors  |  24 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.17/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.7/20151207175610-fwupdate.log
26 successes  |  0 errors  |  22 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.2/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.18/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.38/20151207175610-fwupdate.log
29 successes  |  0 errors  |  19 nodes left  |     
Log saved to /root/.cxmanage/logs/172.28.101.0/20151207175610-fwupdate.log
30 successes  |  0 errors  |  18 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.41/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.37/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.13/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.45/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.21/20151207175610-fwupdate.log
35 successes  |  0 errors  |  13 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.20/20151207175610-fwupdate.log
36 successes  |  0 errors  |  12 nodes left  |     
Log saved to /root/.cxmanage/logs/172.28.101.34/20151207175610-fwupdate.log
37 successes  |  0 errors  |  11 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.47/20151207175610-fwupdate.log
38 successes  |  0 errors  |  10 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.3/20151207175610-fwupdate.log
39 successes  |  0 errors  |  9 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.4/20151207175610-fwupdate.log
40 successes  |  0 errors  |  8 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.8/20151207175610-fwupdate.log
41 successes  |  0 errors  |  7 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.40/20151207175610-fwupdate.log
42 successes  |  0 errors  |  6 nodes left  |  ...
Log saved to /root/.cxmanage/logs/172.28.101.15/20151207175610-fwupdate.log
43 successes  |  0 errors  |  5 nodes left  |     
Log saved to /root/.cxmanage/logs/172.28.101.24/20151207175610-fwupdate.log
44 successes  |  0 errors  |  4 nodes left  |  .  
Log saved to /root/.cxmanage/logs/172.28.101.30/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.26/20151207175610-fwupdate.log
46 successes  |  0 errors  |  2 nodes left  |  .. 
Log saved to /root/.cxmanage/logs/172.28.101.39/20151207175610-fwupdate.log

Log saved to /root/.cxmanage/logs/172.28.101.32/20151207175610-fwupdate.log
48 successes  |  0 errors  |  0 nodes left  |  ...

Command completed successfully.

[root@pxe ~]#

N.B. - The nodes must be power-cycled for this update to take effect.

Reset network fabric to factory defaults