multiservicedata command
Use the multiservicedata command to obtain service data information from multiple BMC.
multiservicedata command syntax
OneCli.exe [misc] multiservicedata [--bmc|-b <arg>] [--type|-T <arg>] [--check-trust|-C]
[--never-check-trust|-N][--bmc-username|-u <arg>] [--bmc-password|-w <arg>]
[--bmc-rest-port|-p <int>] [--quiet|-q][--cn <arg>] [--sn <arg>][--mt <arg>]
[--upload <arg>][--proxy|-P <arg>] [--proxy-cacert <arg>][--cacert <arg>]
[--proxy-insecure][--insecure] [--configfile <arg>][--output|-o <arg>]
[--nolog][--config <arg>] [--help|-h]
Parameter | Required/Optional | Notes |
---|---|---|
--configfile | Required | Specify the config file for the multi-task command. The template file is available in Sample/multi_task_config.json. |
--cn | Optional | Specify the case number to upload the files to Lenovo System CARE. The case number should be composed of at least seven characters. |
--mt | Optional | Specify with --sn. Specify the machine of the target system when uploading the files to System CARE. |
--sn | Optional | Specify with --mt. Specify the serial number of the target system when uploading the files to System CARE. |
--type, -T | Optional | Specify the type of service data obtained from BMC. osfailure: Last OS failure screen healthreport: Health report all: Last OS failure screen and health report |
--upload | Required | This parameter can be specified with the following arguments: lenovo and server address. If specified with lenovo, the format is: --upload lenovo. The inventory data is uploaded to Lenovo Upload Facility. Users should specify the case number, or specify both machine type and serial number. If specified with server address, the format is: --upload server address. The inventory data is uploaded to the target server. The supported protocols include: TFTP, FTP, and SFTP. If not specified, no inventory data will be uploaded. |
| Optional | Refer to Table 2. |
Example of the multiservicedata command
OneCli.exe misc multiservicedata --configfile multi_task_config.json