Starting the TL1 Agent from Command Line

 



 

Overview

 

The command line TL1 Agent Simulator is purely NON-GUI and uses only character user interface for obtaining various inputs for the simulator. It can be invoked by executing the StartTL1Agent.bat/.sh in <Simulator Home>/bin/cmdline directory. Starting the agent from command line is more faster as the non-GUI agent saves on memory.

 

Using Command Line TL1 Agent Simulator

 

Execute the shell/bat file StartTL1Agent.sh /StartTL1Agent.bat present under the <Simulator_Home>/bin/cmdline directory with the following options.

 

Configuration File Options : Any one of the options are mandatory.

 

Mandatory Options Explanation

-cs <Command Set File>

TCS file to be loaded with absolute path.

-c <Configuration File>

Configuration file to be loaded with absolute path.

 

MySql options :

 

Database Options Explanation

-dbt <tablename>

Name of the Database Table to be created

 
 

Note:

The details of the Database server name , Port number , User name , Password and the Server path is stored in database_params.conf file in <Simulator_Home>/conf  directory.  You can make the required database settings in this file.

 

Initialize Services Options : Optional.  The services are enabled by default.

 
Mandatory Options Explanation

-at <Autonomous>[enabled/disabled] 

To enable/disable the execution of Autonomous messages configured in the simulator. By default, the autonomous service will be enabled. If the service is disabled, the agent will not check for autonomous configurations. 

-bt <Behavior>[enabled/disabled]

To enable/disable the execution of behavior scripts configured in the simulator. By default, the behavior service will be enabled. If the service is disabled, the agent will not check for script configurations. 

 

Miscellaneous Options : Optional

 

Options Explanation

-t <Target Identifier>

Network Element Names. The names should be comma separated.

-p <Server Port>

Port at which the Simulator starts

-a <Authentication>

Authentication Status true or false

-rmi

Manage TL1 Agent Simulator remotely

 

Examples 

 

 

(1) Loading tcs file

 

StartTL1Agent.bat -cs tcs\Acme-MSU.tcs -p 9002

 

(2) Loading config file 

 

StartTL1Agent.bat -c info\test\tl1_conf\agent.prp -p 9002

 

Note : Here the config file path is given absolute to <Simulator_Home> directory.



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.