The customer reported that some of his Task Servers are not registering to themselves but rather they are registering to the SMP itself or other Task Server. The Task Servers are listing themselves as available Task Servers in the agent logs but still, they go to register to the SMP or other Task Server.
ITMS 7.x, 8.x
The assumption that a Task Server will register to itself automatically is incorrect. The Client Task Agent knows nothing about the Task Server plug-in, even if they both installed on the same box. So, Task Server selection algorithm is always used to find the Task Server to assign agent to.
For example, here are some agent log entries (top entries are the most recent ones) while trying to register to a Task Server. smp71206.domain.com is the SMP and ts72206.domain.com is the Task Server that we want to register to itself:
6/14/2018 7:57:52 AM
Client Task Agent
client task agent.dll
Attempting to register on Task Server [smp71206.domain.com] over [http].
And then attempt to connect to the one with fewer shares, which in this case is smp71206.domain.com
In this scenario, the SMP itself had only 94 connections/shares at that point of time, while the Task Server itself had already 100 connections/shares established. The SMP was the available one to be selected with fewer connections.
Note: If someone wants to specifically select a Task Server to register to itself, the manual assignment will be the method. The manual assignment should help to tie the agent to the specific Task Server (but if the agent won't be able to register to this Task Server then it will stay in not-registered state).
Subscribing will provide email updates when this Article is updated. Login is required.