multicompare command
Use the multicompare command to remotely compare the firmware information of multiple BMC, and specify the BMC information and the configuration parameters by using a JSON configuration file. The output results are saved in the OneCLI logs in xml format, for example, multi_task\20190429_154002\Success-10.240.194.248\Onecli-update-compare.xml.
multicompare command syntax
OneCli.exe update multicompare < --configfile <arg>> [--dir <arg>] [--quiet|-q] [--check-trust|-C]
[--never-check-trust|-N] [--pattern <arg>] [--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]
Options
--pattern: Filter the items in the compare result tables of multi servers through the regular expression. The outputs are displayed on the screen and recorded in the JSON file in the log directory.
--configfile: Specify the JSON configuration file. The template file is available in Sample/multi_task_config.json in OneCLI binary.
Parameter | Required/Optional | Notes |
---|---|---|
--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. |
--pattern | Optional | Specify the pattern for filtering the results. |
--quiet, -q | Optional | This parameter answers |
| Optional | Refer to Table 2. |
Example of the multicompare command
OneCli.exe update multicompare --configfile xxxconfig.json --quiet