Skip to main content

replicate command

Use the replicate command to replicate the settings in the configuration file to the target server. The settings in the nonreplicated group are saved in a specific file, and cannot be replicated.

replicate command syntax

OneCli.exe config replicate --file <filename> [<options>]
Table 1. replicate command specific parameters
ParameterRequired/OptionalNotes
--fileRequired
  • The file name for the saved settings and values to be stored.
  • XClarity Essentials OneCLI reads the setting and value from the file and applies it to the system.
--incbackupctlOptionalIf OneCLI restore the external file specified by the -file option, the VPD settings will also be restored. By default, OneCLI doesn’t restore VPD.
--kcsOptionalForce to use IPMI over KCS local interface.
  • --bmc, -b

  • --bmc-rest-port, -p

  • --bmc-password, -w

  • --bmc-username, -u

  • --check-trust, -C

  • --config

  • --node

  • --nolog

  • --never-check-trust, -N

  • --output, -o

Optional

Refer to Table 2.

Note
  • Users can use the saved file got in the save command. If users create a file and specify with the --file option, follow the file format. For more information, refer to save command.

  • The outputs of the replicate command contain a long list of the saved settings. OneCLI puts the outputs in a file and shows the summary in the command shell.

  • For the pre-V4 severs, the replicate command cannot be used with the noreplicate command. For the ThinkSystem V4 servers, the replicate command cannot be used in the IsSystemUnique settings.

Example of the replicate command

OneCli.exe config replicate --file saved.txt --bmc userid:password@host