Knowledgebase
ThinLinX Support > ThinLinX Help Desk > Knowledgebase

Search help:


How client devices locate a TMS server

Solution

The TMS agent's (tms_client's) default TMS server discovery behaviour (the "auto" method) tries the "dhcp" method first, then the "static" method (values default to hostname "tms" and port 8085), and finally the "broadcast" method.

The "dhcp" method will look for custom DHCP options (231 and 232) in the response from your DHCP server that specify a TMS server address.  See Chapter 7 of the TMS User Manual (http://thinlinx.com/tms-user-manual.pdf) for more information on how to set these options.

The "static" method will look for TMS at a fixed address.  By default, this is tms:8085, so if you add a DNS CNAME or A record named "tms" that points at the canonical hostname (CNAME) or IP addresss (A) of your TMS server in a domain that's included in your clients' search path, then your devices will be able to locate your server using default values.  You could of course manually specify the TMS server's real hostname/IP address and TCP port number instead, but since the devices presumably have no access to TMS yet, that would have to be done locally on each device using the local configuration tool (Tlxconfig).

The last resort "broadcast" method listens for broadcasts from TMS on UDP port 9097 in which TMS provides address details.  This will only work if the client is on the same IP subnet (or possibly specific Ethernet segments if your switch is configured not to pass broadcast packets for any reason, e.g. when bridging) as the TMS server.  If your TLXOS devices are on a different IP subnet than your TMS server, then you will have to provide them with a server location hint via the "static" or "dhcp" methods.

Once a client is connected to a TMS server, it will keep the connection open and talk to that server exclusively until it is rebooted (sending keepalives every few minutes to prevent intervening firewalls from closing the connection).  If clients can fall through to UDP discovery, it is therefore important that you do not run multiple copies of TMS in the same IP subnet, or else clients will connect to whichever TMS instance they detect first and will not appear in the other.

Related articles Can I install/upgrade TLXOS via PXE boot?
Frequently Asked Questions
Article details
Article ID: 10
Category: Knowledgebase
Date added: 2019-05-29 00:52:00
Views: 78

 
« Go back