TTM Network Administration Documentation
- What’s New In This Release
- TTM Overview
- Unicast And Multicast Network Communication
- Network Setup And Configuration
- Installing And Upgrading TTM And Guardian
- TTM Daemon
TTM Remote Host Daemon And Remote Clients
- Introduction to the TTM Remote Host Daemon
- Remote Mode: Pros and Cons
- Remote Mode Operations
- Network Considerations when Deploying the Remote Host Daemon
- Configuring a Remote Host Daemon
- Configuring the Remote Client
- Compressing Data
- Manually Configuring TCP Window Size
- Testing the Remote Connection
- Remote Host Daemon Failover (Disaster Recovery)
- Advanced Topics
- Maintenance And Troubleshooting
- Ttmd.cfg File Reference
By default, TTM Remote Clients and Remote Host Daemons compress data when sending via TCP/IP. To disable data compression, set the compression_level to false in the Remote Host Daemon’s ttmd.cfg file. To enable data compression, set compression_level to true.
The Remote Host Daemon automatically detects whether a Remote Client is set to compress data or not and will adjust its own behavior appropriately: the Remote Host Daemon compresses its data for all Remote Clients that have compression enabled, but sends uncompressed data to Remote Clients with compression disabled.
Configuring Remote Client Compression
You use the Daemon Setup dialog box to configure whether Remote Client machines compress data before sending it to the Remote Host Daemon. By default, Remote Clients are set to compress their data.
To configure whether TTM on a Remote Client compresses data:
- To open Guardian, double-click the TT icon in the system tray.
- On the Config menu,
click Daemon Setup.
The Daemon Setup dialog box appears.
- In the Remote
Proxy Daemon section, click to select whether the
Remote Client compresses its data:
- If you want the client machine to compress its data, click to select Enable Compression.
- If you do not want the client machine to compress its data, click to remove the checkmark from Enable Compression.
- To save your change and exit the Daemon Setup dialog
box, click OK.
A Guardian prompt appears stating that for your changes to take effect, you must shutdown and then restart all TT processes.
- Click Yes.
Configuring Remote Host Daemon Compression
To configure compression on the Remote Host Daemon, you use the compression_level parameter in the ttmd.cfg file. Remote Host Daemon compression works only on TCP/IP links maintained by the Remote Host Daemon with its Remote Clients. You cannot configure TTM on the Remote Host Daemon to compress multicast data that it sends over the local network segment.
If the compression_level parameter is omitted, compression is enabled and set to true.
To configure compression on Remote Host Daemons:
- Using Notepad, open the ttmd.cfg file located in <root drive>:ttconfig.
- In the <General> section, locate compression_level.
- If you do not see compression_level, add this parameter to a unique line in the <General> section.
- To disable compression, set the compression_level
To enable compression, set the compression_level parameter
TT recommends that the Remote Clients are also set to true, however:
- If a Remote Client is not configured for compression, the Remote Host Daemon does not compress its data when sending to that Remote Client.
- If you set the Remote Host Daemon to a value other than the Remote Client setting (the default is true), TTM writes a Information message to its log file.
- Save and then close out of ttmd.cfg.
- Stop and restart TTM.
The following is an example of a configured ttmd.cfg file.
Example ttmd.cfg file
# TTM Communication Daemon Configuration file
# Copyright(C) 2009 Trading Technologies International Inc., all
# rights reserved
# Logging type StdErr, File, both, none
LoggingType = StdErr
# tracing level normal, trace1, trace2, trace3, trace4
TracingLevel = normal
# Number of days log files will be kept for
LogFileHistory = 10
# Request Port
RequestPort = 10200
# If true, only local communications (on the same box) allowed
local = true
compression_level = true
> = 184.108.40.206
Sets whether the Remote Host Daemon compresses its data before sending to its Remote Clients. To disable compression, set this value to false. To enable compression, set the value to true.
Note: By default compression is enabled.
Compression Level Mismatches
TTM continues to function normally but logs a Info entry to its log file if either of the following setup scenarios occur:
- The Remote Client and Remote Host Daemon use different values for the compression_level setting.
- One machine is set to compress and the other machine is set to not compress.
In either of these cases, TTM records the following line entry to its log file, where X is the compression setting of the Remote Host Daemon and Y is the compression setting of the TTM Remote Client:
INFO: Connection Stream Compression parameters mismatch. Daemon Compression Level: X, Client Compression Level: Y. Compression disabled.
If either machine is set to 0, neither machine compresses their data (no compression occurs) when they communicate directly with one another. Though if the Remote Host Daemon is set to compress, and communicates with additional Remote Clients that are set to compress, the Remote Host Daemon continues to compress its data when sending data to those other Remote Clients.