multiflash command
Use the multiflash command to remotely upgrade the firmware of multiple BMC/SMM, update the firmware and driver for multiple Linux servers. It also specifies the information and the configuration parameters of the BMC/SMM and the Linux servers by using a JSON configuration file.
multiflash command syntax
OneCli.exe update multiflash < --configfile <arg>> [--dir <arg>] [--quiet|-q] [--forceid|-F <arg>] [--uselocalimg]
[--check-trust|-C] [--never-check-trust|-N] [--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]
Options
--configfile: Specify the JSON configuration file. The template file is available in Sample/multi_task_config.json or Sample/ multi_remote_task_config.json in OneCLI binary.
Parameter | Required/Optional | Notes |
---|---|---|
--applytime | Optional | Specify the firmware apply time for bundle update. Valid values include:
|
--bundle | Optional | Update the firmware with bundled packages. |
--cleanup | Optional | Clear the staged tasks if any. |
--configfile | Required | Specify the JSON configuration file for multi-task commands. The template file is available in Sample/multi_task_config.json in OneCLI binary. |
--config | Optional | Specify the file path for the OneCLI config commands. |
--dir | Optional | Specify the directory of the firmware package. If no directory is specified, use the current directory. |
--forceid, -F | Optional | It supports to add the force tag for the update ID to enforce the downgrade. It also supports <all>, which means it can add force tag for all the suggested flash packages. |
--graceful | Optional | Gracefully power off OS in the platform update process. |
--includeid, -I | Optional | This parameter should be used with the --nocompare parameter. |
--output, -o | Optional | Specify the output directory. By default, the output directory is saved in ./logs/. |
--quiet, -q | Optional | This parameter answers |
--scope, -s | Optional | Specify the scope of update operations. Different scopes mean different operation strategies. Valid choices are:
|
--uselocalimg | Optional | If the --uselocalimg parameter is specified, the flash command forces to copy the payload file from the local folder to the SFTP server. |
--platform | Optional | Update firmware with OOB method and Bare Metal Update (BMU) method. |
| Optional | Refer to Table 2. |
Example of the multiflash command
OneCLI update multiflash --configfile xxxconfig.json --sftp user:pass@ip/xx