Configuring a Remote Host Daemon
Remote Host Daemon Setup
Remote Clients connect to a Remote Host Daemon situated on the TT network.
There is no special procedure to set up a Remote Host Daemon. Simply install Guardian or TTM and configure the application so that it communicates normally over the LAN, and set up the Remote Host Daemon following these guidelines:
- Verify that Remote Host Server Mode is enabled on the Remote Host Daemon (refer to Enabling and Disabling Remote Host Server Mode).
- For purposes of failover, TT recommends that you set up pairs of Remote Host Daemons to support your Remote Clients.
- TT recommends that you decouple your Remote Host Daemon from other TT applications. You should dedicate an entire machine to support all Remote Host Daemon functions.
- Ensure that all ports and IP addresses are properly resolved through any firewalls or NAT routers that you deploy.
- Refer to Recommendations.
- Maintain a reduced bandwidth footprint by accepting TTM’s default setting to compress its data. For further details on configuring compression, refer to Configuring Remote Host Daemon Compression.
Enabling and Disabling Remote Host Server Mode
Remote Host Server mode allows TTM to automatically launch the appropriate number of threads for this machine. This mode is only valid for Remote Host Daemons.
- When RemoteHostServer is set to true, the daemon runs in remote host server mode; TTM launches the appropriate number of threads, based on the number of threads on the machine.
Additionally, when RemoteHostServer is set to true, TTM enables accumulation by default and uses the accumulator_timeout value configured in the ttmd.cfg file. If the accumulator_timeout value is not set, TTM will use an accumulation timeout value of 20 milliseconds. To send TCP messages directly without any accumulation, set the accumulator_timeout value to 0. For more information about accumulation, refer to Enabling and Configuring Accumulation.
- When RemoteHostServer is set to false, TTM is configured with one TCP send thread and one TCP receive thread.
When TTM is installed as a standalone application, the TTM installation package attempts to configure TTM to run in Remote Host Server mode. If the RemoteHostServer parameter already exists in the <General> section of the ttmd.cfg file, the configured value is used. If the RemoteHostServer parameter does not exist, the installation packaged adds it and sets the value to true.
Only set to true on Remote Host Daemons. Setting the value to true on other daemons will negatively affect performance.