3. In the terminal, type:
sg_ses_microcode SCSIX:X,X,X -m 0xe -N -b 4096 -I <filename> -vv
4. Press Enter.
The firmware begins loading onto the IOMs. The upgrade can take up to 20 minutes to complete.
Important: Due to the firmware image being a .tar.gz file, the enclosure has to unpack and load
the firmware onto the respective ICs which may take up to 15 minutes. Once the sg_ses_microcode
command is issued wait 20 minutes to ensure the enclosure has time to perform this process. To
check the status of this process, use the Redfish out-of-band management to make a GET request
to the following target:
curl -G
-k -u admin:admin -H "Content-type: application/json" https://
<ip
address>
/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate/Status
Note: Execute the command until you see the following result:
{"ErrorCode":0,"StatusCode":2,"Description":"FW update completed. Waiting for
activation.","EstimatedRemainingMinutes":0}
Attention: If the OOBM is not being used, query Page Eh by executing the following command
sg_ses <device> -p0xe
. The first time this command is issued, the output may be inaccurate,
please ignore and issue the command again. The string to observe for download microcode status
is “Complete, no error, start after hard reset or power cycle [0x11]” before proceeding to the activate
step.
Example output:
sg_ses /dev/sg0 -p 0xe
HGST
H460-J
2020
Download microcode status diagnostic page:
number of secondary subenclosures: 0
generation code: 0x0
subenclosure identifier: 0 [primary]
download microcode status: Complete, no error, start after hard reset or
power cycle [0x11]
download microcode additional status: 0x0
download microcode maximum size: 1703914 bytes
download microcode expected buffer id: 0x0
download microcode expected buffer id offset: 0
5. Once the download is complete, type:
sg_ses_microcode /dev/sgX -m 0xf
6. Press Enter.
156
5
System Management
User Guide
5.1
Firmware Upgrade