Performing Operations in Bulk using the eG CLI

One of the key benefits of the eG CLI is that, unlike the eG web-based interface, where only one configuration operation can be performed at a given point in time,  the eG CLI allows you to process commands in bulk, and thus allows you to perform multiple tasks simultaneously - for instance, you can add multiple components at one shot using the CLI. This saves administrators the time and trouble involved in performing redundant tasks.

To execute commands in bulk, the CLI requires an XML or a CSV file that contains the details of the operations to be performed. This file (XML or CSV) should be created on the system hosting the orchestration engine.

Once the file is created, invoke the relevant CLI command from the automation tool or the command prompt by providing the manager ID and the full path to the XML or CSV file. The command will then read the instructions defined in the XML or CSV file and then execute them on the specified manager to perform the operation.

Note:

To ensure that the XML and CSV files support multi-byte component names and agent nick names, do the following:

  • Make su.re that the eG CLI is installed on a multi-byte operating system;
  • Make sure that you save the XML and CSV files in the utf-8 mode

The sections below discuss how the XML and CSV files can be used for performing multiple administrative operations on an eG manager.