NOTE: This is a collection of various FAS recipes for performing updates. For step by step directions and commands, see FAS Use Cases.
The following example JSON files are useful to reference when updating specific hardware components. In all of these examples, the overrideDryrun
field will be set to false
; set them to true
to perform a live update.
When updating an entire system, walk down the device hierarchy component type by component type, starting first with routers (switches), proceeding to chassis, and then finally to nodes. While this is not strictly necessary, it does help eliminate confusion.
Refer to FAS Filters for more information on the content used in the example JSON files.
ChassisBMC
| Target: BMCIMPORTANT: Before updating a CMM:
- Make sure all slot and rectifier power is off.
- The
hms-discovery
job must also be stopped before updates and restarted after updates are complete.
- Stop
hms-discovery
job:ncn-mw# kubectl -n services patch cronjobs hms-discovery -p '{"spec":{"suspend":true}}'
- Start
hms-discovery
job:ncn-mw# kubectl -n services patch cronjobs hms-discovery -p '{"spec":{"suspend":false}}'
{
"inventoryHardwareFilter": {
"manufacturer": "cray"
},
"stateComponentFilter": {
"deviceTypes": [
"chassisBMC"
]
},
"targetFilter": {
"targets": [
"BMC"
]
},
"command": {
"version": "latest",
"tag": "default",
"overrideDryrun": false,
"restoreNotPossibleOverride": true,
"timeLimit": 1000,
"description": "Dryrun upgrade of Cray Chassis Controllers"
}
}
NodeBMC
| Target: BMC{
"stateComponentFilter": {
"deviceTypes": [
"nodeBMC"
]
},
"inventoryHardwareFilter": {
"manufacturer": "cray"
},
"targetFilter": {
"targets": [
"BMC"
]
},
"command": {
"version": "latest",
"tag": "default",
"overrideDryrun": false,
"restoreNotPossibleOverride": true,
"timeLimit": 1000,
"description": "Dryrun upgrade of Olympus node BMCs"
}
}
NodeBMC
| Target: NodeBIOS
IMPORTANT:
- The nodes themselves must be powered off in order to update their BIOS. The BMC will still have power and will perform the update.
- When the BMC is updated or rebooted after updating the
Node0.BIOS
and/orNode1.BIOS
on liquid-cooled nodes, the node BIOS version will not report the new version string until the nodes are powered back on. It is recommended that theNode0.BIOS
/Node1.BIOS
be updated in a separate action, either before or after a BMC update, and that the nodes are powered back on after a BIOS update. The liquid-cooled nodes must be powered off for the BIOS to be updated.
{
"stateComponentFilter": {
"deviceTypes": [
"nodeBMC" ]
},
"inventoryHardwareFilter": {
"manufacturer": "cray"
},
"targetFilter": {
"targets": [
"Node0.BIOS",
"Node1.BIOS"
]
},
"command": {
"version": "latest",
"tag": "default",
"overrideDryrun": false,
"restoreNotPossibleOverride": true,
"timeLimit": 1000,
"description": "Dryrun upgrade of Node BIOS"
}
}
NOTE: If this update does not work as expected, follow the Compute Node BIOS Workaround for HPE CRAY EX425 procedure.
NodeBMC
| Target: Redstone FPGAIMPORTANT:
- The nodes themselves must be powered on in order to update the firmware of the Redstone FPGA on the nodes.
- If updating FPGAs fails because of
No Image available
, update using the “Override an Image for an Update” procedure in FAS Admin Procedures:
Find the
imageID
using the following commandncn-mw# cray fas images list --format json | jq '.[] | .[] | select(.target=="Node0.AccFPGA0")'
{
"stateComponentFilter": {
"deviceTypes": [
"nodeBMC" ]
},
"inventoryHardwareFilter": {
"manufacturer": "cray"
},
"targetFilter": {
"targets": [
"Node0.AccFPGA0",
"Node1.AccFPGA0"
]
},
"command": {
"version": "latest",
"tag": "default",
"overrideDryrun": false,
"restoreNotPossibleOverride": true,
"timeLimit": 1000,
"description": "Dryrun upgrade of Node Redstone FPGA"
}
}
NodeBMC
| Target: iLO 5 (BMC){
"stateComponentFilter": {
"deviceTypes": [
"nodeBMC"
]
},
"inventoryHardwareFilter": {
"manufacturer": "hpe"
},
"targetFilter": {
"targets": [
"iLO 5"
]
},
"command": {
"version": "latest",
"tag": "default",
"overrideDryrun": false,
"restoreNotPossibleOverride": true,
"timeLimit": 1000,
"description": "Dryrun upgrade of HPE node iLO 5"
}
}
NodeBMC
| Target: System ROM (BIOS)IMPORTANT:
- If updating the System ROM of an NCN, the NTP and DNS server values will be lost and must be restored. For NCNs other than
ncn-m001
, this can be done using the/opt/cray/csm/scripts/node_management/set-bmc-ntp-dns.sh
script. Use the-h
option to get a list of command line options required to restore the NTP and DNS values. See Configure DNS and NTP on Each BMC.- Node should be powered on for System ROM update and will need to be rebooted to use the updated BIOS.
{
"stateComponentFilter": {
"deviceTypes": [
"NodeBMC"
]
},
"inventoryHardwareFilter": {
"manufacturer": "hpe"
},
"targetFilter": {
"targets": [
"System ROM"
]
},
"command": {
"version": "latest",
"tag": "default",
"overrideDryrun": false,
"restoreNotPossibleOverride": true,
"timeLimit": 1000,
"description": "Dryrun upgrade of HPE node system rom"
}
}
NOTE: Update of System ROM may report as an error when it actually succeeded because of an incorrect string in the image metadata in FAS. Manually check the update version to get around this error.
NodeBMC
| Target: BMC{
"stateComponentFilter": {
"deviceTypes": [
"nodeBMC"
]
},
"inventoryHardwareFilter": {
"manufacturer": "gigabyte"
},
"targetFilter": {
"targets": [
"BMC"
]
},
"command": {
"version": "latest",
"tag": "default",
"overrideDryrun": false,
"restoreNotPossibleOverride": true,
"timeLimit": 4000,
"description": "Dryrun upgrade of Gigabyte node BMCs"
}
}
NOTE: The
timeLimit
is4000
because the Gigabytes can take a lot longer to update.
A node may fail to update with the output:
stateHelper = "Firmware Update Information Returned Downloading – See /redfish/v1/UpdateService"
FAS has incorrectly marked this node as failed. It most likely will complete the update successfully.
To resolve this issue, do either of the following actions:
FirmwareInventory
(/redfish/v1/UpdateService/FirmwareInventory/BMC
).Make sure to wait for the current firmware to be updated before starting a new FAS action on the same node.
NodeBMC
| Target: BIOS{
"stateComponentFilter": {
"deviceTypes": [
"nodeBMC"
]
},
"inventoryHardwareFilter": {
"manufacturer": "gigabyte"
},
"targetFilter": {
"targets": [
"BIOS"
]
},
"command": {
"version": "latest",
"tag": "default",
"overrideDryrun": false,
"restoreNotPossibleOverride": true,
"timeLimit": 4000,
"description": "Dryrun upgrade of Gigabyte node BIOS"
}
}
See Uploading BIOS and BMC Firmware for NCNs in FAS Use Cases.