Performing batch processing from a command line
You can use ConfigManager.exe from a Command Line Interface (CLI) to create, copy, and delete Mongoose configurations. To execute more than one command line utility at a time, you can use batch processing. Batch processing prevents repeated loading of Mongoose configurations.
Note: This operation, performed from a CLI, is intended primarily for system administrators working with customers in a cloud environment. Customers working in an on-premises installation environment can use the Configuration Manager utility to accomplish the same ends.
Syntax
Use this command line syntax as a string, for example:
ConfigManager.exe -BATCH: "-1st CLIcommandAndSwitches -2nd CLIcommandAndSwitches…"
where CLIcommandAndSwitches is a CLI command with any associated switches.
See the examples.
Alternately, use this command line syntax that uses a batch TXT file to script the commands and switches:
ConfigManager.exe -BATCHFILE:fileName.txt
where fileName is the filename of the batch file.
Examples
This example is for the CLI used in a string:
ConfigManager.exe -BATCH: "-U:SCM -service:event -config:MG-OH -mode:edit -sleep:10 -maxthreads:10 -U:CACHE -g:MyConfigGroup -U:HEALTH -service:REPL -json"
If used, the batch file is a TXT file that contains a script similar to this example:
-U:SCM -service:event -config:MG-OH -mode:edit -sleep:10 -maxthreads:10 -U:HEALTH -service:REPL -json -U:CACHE -g:MyConfigGroup