When you want to install more Worker Servers after Installing Task Engine, it is required to bind the new Worker Servers to the exiting Task Engine as soon as you install them.
Complete the following configurations on the Task Engine.
1.Open the taskengine.properties file under the C:\Program Files\NetBrain\Task Engine\conf\ directory.
2.In the workerserver.severnames argument, add the hostnames of the newly added Worker Servers.
workerserver.servernames=server1,server2
Note: Execute the hostname.exe command on each Worker Server to obtain its hostname.
Tip: Use a comma (,) to separate two entries.
3.Wait for at least 30 seconds.
4.Execute a task, and then check whether the new Worker Servers start to receive the task.
1)Open the RMAgent_*.log file under the C:\Program Files\NetBrain\Worker Server\log\ directory.
2)Check whether the following entry exists in the log file. If yes, it means the newly added Worker Servers are successfully bound to the Task Engine.
2018-04-30 15:02:38,018 UTC (LocalTime 2018-04-30 11:02:38,018) [54] INFO RMAgentTask [(null)] - Starting root task (LiveAccessWorker.dll TestProxyServer()) in WorkerShell 162200(selfTaskId=4e47eb97-0d78-4a11-ba3a-69d677541c18 rootTaskId=4e47eb97-0d78-4a11-ba3a-69d677541c18)
To unbind the retiring Worker Servers, do the following before uninstalling them:
1.Open the taskengine.properties file under the C:\Program Files\NetBrain\Task Engine\conf\ directory.
2.In the workerserver.severnames argument, remove the hostnames of those Worker Servers.
3.In the Task Manager of System Management page, observe the progress of the running tasks.
4.Restart the NetBrainTaskEngine service after all the tasks on those Worker Servers are completed.