Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Waiting for the agent to get the task

Created: 17 Feb 2010 | 16 comments
Joseph Swenson's picture
0 0 Votes
Login to vote

 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

jharings's picture
17
Feb
2010
0 Votes 0
Login to vote

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.

Andrew Bosch's picture
17
Feb
2010
0 Votes 0
Login to vote

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

Joseph Swenson's picture
19
Feb
2010
0 Votes 0
Login to vote

 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

gshpakov's picture
01
Mar
2010
0 Votes 0
Login to vote

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.

Joseph Swenson's picture
19
Apr
2010
0 Votes 0
Login to vote

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.

R_Wilson's picture
04
Jun
2010
0 Votes 0
Login to vote

Have you resolved this issue?

I am having the same problem with jobs/tasks failing but anything via policy runs fine.

Joseph Swenson's picture
04
Jun
2010
0 Votes 0
Login to vote

I have not resolved this

I have not resolved this issue yet

R_Wilson's picture
18
Jun
2010
0 Votes 0
Login to vote

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.

powellbc's picture
21
Jun
2010
0 Votes 0
Login to vote

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.

EugeneFT's picture
22
Jun
2010
0 Votes 0
Login to vote

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

lotsill's picture
22
Jun
2010
0 Votes 0
Login to vote

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

EugeneFT's picture
22
Jun
2010
0 Votes 0
Login to vote

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

powellbc's picture
22
Jun
2010
0 Votes 0
Login to vote

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.

SharkSmart's picture
23
Jun
2010
1 Vote +1
Login to vote

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.

cmarlow's picture
23
Jun
2010
1 Vote +1
Login to vote

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.

powellbc's picture
24
Jun
2010
1 Vote +1
Login to vote

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.