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>]
Parameter | Required/Optional | Notes |
---|---|---|
--file | Required |
|
--incbackupctl | Optional | If OneCLI restore the external file specified by the -file option, the VPD settings will also be restored. By default, OneCLI doesn’t restore VPD. |
--kcs | Optional | Force to use IPMI over KCS local interface. |
| Optional | Refer to Table 2. |
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