Configuration Tool Command Line Interface

The Configuration Tool Command Line Interface (CLI) is an alternative way to define certain configuration properties that you otherwise would do with the AAI Configuration Tool, which is a user interface utility. For more information, see Configuration Tool.

As an AAI administrator or in-house developer, you can use these commands to define and maintain AAI system-wide configuration settings from the command-line interface of your operating system (CLI) or from a script. Adding any of these commands to a script can be helpful to perform actions that you want to execute repeatedly.

Overview

The config folder located in your AAI installation directory contains the scripts required to run configuration commands:

  • run.bat for Windows
  • run.sh for Linux

From here you can run the scripts and add the parameters and attributes relevant for the definition of the component you want to configure.

The config directory also contains the config.jar Java application which allows you to define and change AAI system configurations properties using the command line.

You can invoke the config.jar directly from your installation directory:

java -Dswing.aatext=true -jar config.jar

If you invoke it from somewhere else, make sure that you include the path to your installation directory:

java -Dswing.aatext=true -Daai.installation.dir="/<path>/Automic_Automation_Intelligence" -jar config.jar

Example

In this example, we call the config.jar from the config directory (in the AAI installation directory) to configure the SMTP connection:

java -Dswing.aatext=true -jar config.jar smtpconfig --create "/Automic_Automation_Intelligence/config/smtpconfig.properties"

This section includes the following pages: