Try TT Now

TTM Network Administration

Environmental Variables

Overview

You can configure TTM’s local environment and behavior using OS environment variables. displays the environment variables that you can use to configure TTM.

In TTM version 4.2.2 and later, you can install the TTM Windows Service using command line arguments that override the TTM_HOME, TTM_CONFIG_FILE_PATH, and TTM_LOG_PATH environment variables. Refer to Installing TTM Using the Command Line Interface if needed.

TTM Environment Variables
Environment VariablesDescription
TTM_HOME

Configures the location of all TTM-related files (i.e., executables, .dll files, etc.).By default, the value of TTM_HOME is <root drive>:ttttm.

TTM_CONFIG_FILE_PATH

Configures the location of ttmd.cfg and ttmrd.cfg. By default the value of TTM_CONFIG_FILE_PATH is <root drive>:ttconfig. However, if you want to store your configuration files in another directory (e.g., with your other TTM files in <root drive>:ttttm), create this variable and set its value to the new directory. TTM upgrades use this path when upgrading files.

Example:

C:ttttm

TTM_LOG_PATH

Sets the file path of the TTM log file.

If you do not include a drive letter, the path you set is relative to the value of the TTM_HOME environment variable. For instance, if you have not changed the default value of TTM_HOME and you type: ..LogFiles, TTM saves its log file to <root drive>:TTLogFiles.

By default, TTM saves its log file into a folder called logfiles one directory level higher than the directory set in TTM_HOME. Therefore, if TTM_HOME is set to its default, the resultant directory is <root drive>:ttlogfiles).

Example:

E:TTLogFiles
TTM_CONNECTION_TIMEOUT

In seconds, configures the length of time a TT application waits for an established connection to the TTM Daemon before timing out. TT applications reattempt to connect according to the value of the environment variable TTM_TRY_TO_CONNECT.

By default, TTM behaves as if set to 4.

TTM_INCLUDE_CONFIG_FILE_PATH

Configures the location of ttmd.cfg include files. By default the value of TTM_INCLUDE_CONFIG_FILE_PATH is <root drive>:ttconfig. However, if you want to store your configuration files in another directory (e.g., with your other TTM files in <root drive>:ttttm), create this variable and set its value to the new directory. TTM upgrades use this path when upgrading files.

Example:

E:ttttm

TTM_TRY_TO_CONNECT

Configures the number of times TT applications attempt to connect to the TTM Daemon.

By default, TTM behaves as if set to 5.

TTM_DAEMON

Configures the manner in which TT applications start up the TTM Daemon:

daemon: TT applications start the TTM Daemon (ttmd.exe) as a process.

router: TT applications start the TTM Router daemon (ttmrd.exe) as a process.

daemon_service: TT applications start the TTMessaging service. This service points to ttmd.exe.

router_service: TT applications start the TTMessagingRouter service. This service points to ttmrd.exe.

service: TT applications start the TTMessaging service. If a TT application cannot start the TTMessaging service, it attempts to start the TTMessagingRouter service.

By default, TT applications start TTM according to the service setting.

Adding Environment Variables

To add a TTM environment variable:

  1. From the Start menu, point to Settings, and click Control Panel.

    The Control Panel displays.

  2. Double-click the System icon.
  3. In the Advanced tab, click Environment Variables.
  4. In the System Variables box, click New.

    The New System Variable prompt box appears.

  5. Type the environment variable you want to add.
  6. In the Value box, set the value you want to assign to the environment variable.
  7. Click OK.
  8. In the Environment Variables and System Properties dialog boxes, click OK.

Editing Environment Variables

To edit a TTM Environment Variable:

  1. From the Start menu, point to Settings, and click Control Panel.

    The Control Panel displays.

  2. Double-click the System icon.
  3. In the Advanced tab, click Environment Variables.
  4. Scroll through the System Variables box to locate the environment variable you want to change.
  5. Click the variable.
  6. Click Edit.

    The Edit System Variable prompt box appears with the contents of Variable selected.

  7. Type the new value you want to associate with the environment variable.
  8. Click OK.
  9. In the Environment Variables and System Properties dialog boxes, click OK.