Skip to main content

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]
Table 1. multiservicedata command specific parameters
ParameterRequired/OptionalNotes
--configfileRequiredSpecify the config file for the multi-task command. The template file is available in Sample/multi_task_config.json.
--cnOptional

Specify the case number to upload the files to Lenovo System CARE. The case number should be composed of at least seven characters.

--mtOptional

Specify with --sn. Specify the machine of the target system when uploading the files to System CARE.

--snOptional

Specify with --mt. Specify the serial number of the target system when uploading the files to System CARE.

--type, -TOptional

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

--uploadRequired

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.

  • --config

  • --configfile

  • --check-trust, -C

  • --help, -h

  • --never-check-trust, -N

  • --nolog

  • --output, -o

  • --quiet

Optional

Refer to Table 2.

Example of the multiservicedata command

OneCli.exe misc multiservicedata --configfile multi_task_config.json