Updating Multiple Systems

About Updating Multiple Systems

You can use the nvfwupd command with the -t targets=<json-file> argument and a JSON file to update the firmware on multiple systems. The update is performed serially on the systems.

Refer to the following sample targets.json file:

[
   {"ip": "192.168.1.10", "user": "admin", "password": "admin"},
   {"ip": "192.168.1.20", "user": "admin", "password": "admin"},
   {"ip": "192.168.1.30", "user": "admin", "password": "admin"}
]

You can specify a host name instead of the IP address in the ip field.

When you specify the -t targets=<json-file> argument, the following arguments to the nvfwupd command are not supported:

  • --background

  • show_update_progress

Procedure

  • Run the nvfwupd command and specify the -t targets=<json-file> argument:

    $ nvfwupd -t targets=../targets.json update_fw -s updparams.json -y -p \
        nvfw_DGXH100_xxxx_xxxxxx.x.x.fwpkg
    

    Example Output

    Updating ip address: ip=192.168.1.10
    
    FW recipe: ['nvfw_DGXH100_xxxx_xxxxxx.x.x_custom_prod-signed.fwpkg']
    {"@odata.type": "#UpdateService.v1_6_0.UpdateService", "Messages": [
    {"@odata.type": "#Message.v1_0_8.Message", "Message": "A new task
    /redfish/v1/TaskService/Tasks/6 was created.", "MessageArgs":
    ["/redfish/v1/TaskService/Tasks/6"], "MessageId": "Task.1.0.New",
    "Resolution": "None", "Severity": "OK"}, {"@odata.type": "#Message.v1_0_8.Message",
    "Message": "The action UpdateService.MultipartPush was submitted to do firmware update.",
    "MessageArgs": ["UpdateService.MultipartPush"],
    "MessageId": "UpdateService.1.0.StartFirmwareUpdate", "Resolution": "None", "Severity": "OK"}]}
    FW update started, Task Id: 6
    Wait for Firmware Update to Start...
    Wait for Firmware Update to Start...
     TaskState: Completed
     PercentComplete: 100
     TaskStatus: OK
    Firmware update successful!
     Overall Time Taken: 0:00:08
    Refer to 'DGX H100 Firmware Update Document' on activation steps for new firmware to take effect.
    -------------------------------------------------------------------------------------------------
    
    Updating ip address: ip=192.168.1.20
    ...