Because of issue with NAT, multihoming, and such things, we have a translation system from the name in /vsmserver/terminalservers to the name the client actually tries to connect to. Right now that translation is stored as /vsmagent/agent_hostname on each agent.
This system has the effect that vsmagent.hconf cannot be synced across a cluster. It also means more information needs to be transferred across the network between the agents and the master. The information also needs to be properly updated when configuration changes.
We'd like to fix these issues by moving the translation to the master instead. So something like this:
There are a lot of related issues that should be considered at the same time:
- Should we still have terminalservers, or let these translation entries specify agents?
- Should tlwebaccess have a more complex system, based on URIs.
- How should agents be identified? (bug 4256)
- Port redirection (bug 3003 and bug 3161)
- IPv6 (bug 2672)