Waiting for the agent to get the task
Created: 17 Feb 2010 | 16 comments
I see this a lot, with not much in the way off success. What does "Waiting for the agent to get the task" actually mean?
Discussion Filed Under:
I see this a lot, with not much in the way off success. What does "Waiting for the agent to get the task" actually mean?
Comments
Assuming you have version 7
it means the client has been assigned a task, and the server is waiting for the client to 'pick it up' or execute the task, and return a status.
This could mean that you have a client that is not registered to a particular site server.
Jim Harings
HP Enterprise Services
1st Rule of Connect Club: Mark the post that helped you the most as a 'solution'. 2nd Rule of Connect Club:You must talk about Connect club.
If I'm not mistaken...
The Client Task Agent, once it has successfully registered, maintains an open TCP/IP connection to be able to receive new tasks almost immediately. However, if that connect is closed for some reason, then the agent, by default, is set to "check-in" every 15 minutes for available tasks...
------------------------------------
Principal SQA Engineer
Symantec
I tried to use aex-cta
I tried to use aex-cta refresh to get it to happen, and it never did
the specific usage scenario is using a task to deploy software to an individual Mac.
Further development and testing will probably be put on hold until CMS SP2 is released
aex-cta
You can also try "aex-cta ts" to see if the client is actually connected to the task server as the moment.
If not, you can try "aex-cta register" to manually force registration with the task server.
Once the client is connected, it should pick up new tasks almost momentarily.
It is registered, but the
It is registered, but the task never catches or runs.
If something is run via policy it works, but jobs/tasks don't.
Have you resolved this issue?
I am having the same problem with jobs/tasks failing but anything via policy runs fine.
I have not resolved this
I have not resolved this issue yet
Partly working now..
I had an old DNS entry and the clients were trying to connect to another machine instead of the task server. Still cannot deploy files using the 'copy file' job/task and heard Deployment server 6.9 is a much better solution so I'm looking into that now. Created a script (xcopy) for a temporary solution to deploy files until everything is working.
TCPView is a good tool to see where the clients are trying to connect.
Joseph, Combing through your
Joseph,
Combing through your posts it seems we have a lot of similar issues, as this too affects us too on a regular basis. What is your setup like? We have around 8k clients and 4 task servers for them.
Please take note
Hey guys,
Just a note that i was told from Symantec. Each task server must only manage approx 500 clients max. So having 8k nodes, you'll need about 16 site server....
E
A single NS with Task Services can support 500 clients
I believe you mis interpeted the node count support for a site server.
o A single Notification Server can manage up to 500 Site Servers
o A single Notification Server can manage up to 5,000 Packages
o Can deploy100 Site Servers with Package Services in 18 Hours
A Site Server with Task Services can be configured to register up to 5,000 endpoints with a supported desktop operating system and up to 10,000 Registered Endpoints with a supported server class operating system.
Consider adding an additional Site Server with Task Services enabled for every 2,500-5,000 endpoints
Steve Petrasek
Here's an extract from my email...
"With regards to your issue and our remote session,
Please change the Site Server Settings for the Notification Server to register no more than 500 computers.
This will lower the load on the IIS of the Notification Server and will increase the performance of the console."
I assume its aimd at the NS...
E
In our case we deployed 4
In our case we deployed 4 Task Servers so we would be well under the 2500 threshold for managed clients per task server. You are correct Eugene that the NS should be limited to 500 task clients max.
Check for Maintenance Windows
Tasks won't run on a client if you are outside any defined maintenance windows. Some of the task scheduling interfaces allow you to ignore maintenance windows but not all.
For anyone experiencing this I'd reccommend you check if you have any maintenance windows defined and remove them for testing purposes. You should also check that the clients you have targetted are showing up as registered to a specific task server (both from the agent and from the SMP console)
Please "Mark as Solution" those posts which resolve your problem - its a free way to give something back to those who contribute their time and knowledge to these forums.
My experience
One thing i have found - the "Waiting for the agent to get the task" status is reflected on the NS until the task exits on the target. Whether that be via timeout, or expected completion.
i.e. If your command line isn't 100% it will continue showing this as the status until the task's timeout is reached.
Easy way to rule out your infrastructure - execute something REALLY simple! i.e. a sample task.
At that point if that has worked, you will know it is your task. And as said above - blockouts WILL impede.
Maintenance windows are
Maintenance windows are definitely not the issue in my case. We do not utilize them.
I have attempted simple tasks as well (things like Task Agent tickles) and they fail as well. It seems to happen with no rhyme or reason.
One thing that has seemed to help is enabling anonymous access on the ClientTaskServer and TaskManagement directories in IIS. This is described in KB articles 47572 and 50365. 50365 Indicates the 401 errors behavior is being tracked as a bug.
Would you like to reply?
Login or Register to post your comment.