How does the tickle function work with Task Server?
The Tickle Server is a subcomponent of Task Server. The Tickle Server component runs only on the Notification Server and is responsible for notifying Task Servers of pending tasks for their clients. Task Servers also have the native ability to tickle their registered clients, which is separate from the Tickle Server component on the Notification Server.
The Tickle Server on the Notification Server sends an IP tickle packets to Task Server(s) when any of their registered clients have a job or task to run. Once the tickle packet is received, the Task Server will immediately request the task/job information from the Notification Server for its registered clients and will in turn tickle its clients. When the Client Task Agent receives the tickle packet, it will request the task/job information from its registered Task Server. Only after the Client Task Agent receives the task information will the task be executed. Status events for completed tasks are immediately sent back to the registered Task Server upon completion.
In the event that the tickle packets are blocked or otherwise unable to reach the destination, the Client Task Agent will automatically check back to its registered Task Server for any new job information every 5 minutes. This “Task Request Interval” is configurable in the Altiris 6.5 Console by clicking on Manage > Jobs from the menu bar and then navigating to Task Management > Task Server Configuration > Agent Configuration. Note that Task Server task/job information is not received through the Altiris Agent configuration policy but is received directly by the Client Task Agent from its registered Task Server. As such, forcing the Altiris Agent to update its configuration policy will not force the Client Task Agent to receiving pending task information.
By default, the Tickle Server uses port 50123 for Task Servers and Task Servers use port 50124 to tickle Client Task Agents.
The following example assumes the Client Task Agent for ComputerA is registered with RemoteTaskServer1.
- An Altiris Administrator assigns a task to run immediately on ComputerA.
- The Tickle Server on the Notification Server sends a tickle packet to notify RemoteTaskServer1 of the pending task.
- RemoteTaskServer1 receives the tickle packet and immediately requests the job information from the Notification Server.
- RemoteTaskServer1 tickles ComputerA to notify it of the pending task.
- ComputerA receives the tickle packet and immediately requests the job information from its registered Task Server – RemoteTaskServer1.
- ComputerA receives the job information and executes the task.
- Upon completion of the task ComputerA sends a status event back to RemoteTaskServer1.
- RemoteTaskServer1 caches the status event and immediately attempts to forward it back to the Notification Server.
- Notification Server receives the status event from RemoteTaskServer1 and records the information in the database.