Bright:PHI update

From Define Wiki
Jump to navigation Jump to search

Updating PHI firnmware

For two PHI hosts node001 and node002 the PHI foirmware can be updating by first stoppoing mpss:

[root@bright61 ~]$ cmsh
[bright61]% device
[bright61->device]% foreach -n node001..node002 (services; stop mpss)

The micctrl command is used to reset the PHIs to get them into a ready state:

[bright61->device]% pexec -n node001..node002 "module load intel/mic/runtime && micctrl -r -f -w"

[node001] :
    mic0: ready
    mic1: ready
[node002] :
    mic0: ready
    mic1: ready

[bright61->device]%


Finally the fimrware flash can take place:

bright61->device]% pexec -n node001..node002 "module loadn
intel/mic/runtime && micflash -v -update -norebootn
-device all"
[node001]
No image path specified - Searching: /opt/intel/mic/flash
    mic0: Flash image: /opt/intel/mic/flash/EXT_HP2_B0_0383-02.rom.smc
    mic1: Flash image: /opt/intel/mic/flash/EXT_HP2_B0_0383-02.rom.smc

    mic0: Resetting: : POST code: 3d
    mic1: Resetting: : POST code: 3d

    mic0: Resetting: : POST code: 12
    mic1: Resetting: : POST code: 12

    mic0: Updating SMC: 0%
    mic1: Updating SMC: 0%

    ...

    mic0: Updating SMC: 97%
    mic1: Updating SMC: 96%

    mic0: Resetting: : POST code: 3C
    mic1: Resetting: : POST code: 3C

    ...

    mic0: Resetting: : POST code: 09
    mic1: Resetting: : POST code: 09

    update successful

    [node002] :

    ...


Once the flash is completed MPSS must be restarted and the hosts rebooted

[bright61->device]% foreach -n node001..node002 (services; start mpss)
[bright61->device]% foreach -n node001..node002 (power reset)