Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overiew

The TQL Command Line Interface (CLI) is a unified tool to manage your TQLEngine A-Stack (Single or Cluster) runtime. TQL CLI is packaged as part of your overall TQLEngine zip downloadvarious A-Stack Sub components. With just one tool, you can control multiple TQLEngines A-Stack runtimes within reachable cluster from the command line and automate them through scripts. Table below gives the list of TQL CLI Commands, description and components where those are applicable.

TQL SubcommandDescriptionApplicable A-Stack Component Runtime 
engineIndividual A-Stack Runtime ManagementA-StackPrime; A-StackTQLConsole; A-StackConfiguratorDaemon; A-StackMonitoringDashboard
protocolInstall protocol handlersA-StackPrime; A-StackTQLConsole;
clusterA-Stack Cluster ManagementA-StackConfiguratorDaemon
monitoringconfigProvision Alarms, and Monitoring dashboardA-StackMonitoringDashboard
logserverLogServer ManagementA-StackPrime; A-StackTQLConsole


Usage

After you download and install TQLEngine the TQL CLI tool is part of the bin folder. You need to set two environment variables :

  • JAVA_HOME - Set this enviornment variable value to the location where Java JDK is installed.
  • TQL_HOME - Set this environment variable value to the current installation location of the TQLEngine.

From the current install location on the command line you can invoke the tool using the command bin/tql

bin/tql -<Command> -<Subcommand> <Arguments>


                      Image Added



                    Image Added



                   Image Added




Code Block
languagetext
titleTQL CLI Usage
linenumberstrue
$ bin/tql

$ bin/tql -engine -status
$ bin/tql -engine -start
$ bin/tql -engine -stop



Code Block
languagetext
titleFor Window's Users
linenumberstrue
$ using CMD (under bin)

$ tql -engine -status
$ tql -engine -start
$ tql -engine -stop


$ using Git Bash (under bin)

$ ./tql -engine -status
$ ./tql -engine -start
$ ./tql -engine -stop