• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 113980, created on May 28, 2012, last review on Aug 12, 2014

  • Applies to:
  • Operations Automation

Monitor task queue

To open POA task queue go to Top > System Director > Task Manager in POA Provider Control Panel.

Task Manager is very useful tool for tracking almost everything in your Parallels Automation system. All actions such as creating/updating/removing customers' services are performed through tasks of two main types:
  • Periodic tasks (re-scheduled)
  • Background tasks (running once on demand)

POA has many built-in periodic tasks like
  • Monitor mail disk space usage collectors
  • Clean up login history
  • Update disk usage statistics
  • Get traffic usage info
  • Initiate VPS traffic usage reports

Each of them is run on a regular schedule that is defined by the task Period setting and may generate a number of background tasks to perform necessary actions. E.g., the task Monitor VPS Migration state looks for PVC containers queued for migration and schedules a separate task to execute migration scripts for each found container.

You can edit the periodic tasks schedule and view task processing history through the task log in POA Provider Control Panel
  • Top > System Director > Task manager > Background > Task Log
  • Top > System Director > Task manager > Periodic > Task Log

Not all scheduled tasks, however, are triggered by periodic ones. Many of them are triggered by system events or user actions in Control Panel. You can easily identify what a task is by looking at the Name and Queue name parameters. These will give you a clue about the task’s object (domain, website, mailbox, application, VPS etc.) and its ID.
You can sort and filter tasks by part of the name included in asterisks (e.g. *disable vps*, *sharepoint*, *remove user*) or the queue name (e.g. *domain*, *crmorg*, *exchangeservice*). This way you can understand how many tasks failed recently and which service caused the most failures. You can also select a single task to see its status, execution time, execution log (if any), and output.

Available task statuses are:
  • Unprocessed - the task is waiting to be executed (marked white).
  • Rescheduled - the task failed during its execution and is in the queue again (marked yellow). Periodic tasks always have the rescheduled status.
  • Running - the task is executing at the moment (marked green).
  • Cancelled - the task was manually recalled from execution (marked black with white cross).
  • Restarted - the task was interrupted (marked yellow).
  • Failed - it is impossible to execute the task due to some reason, e.g. lack of a necessary component (marked red with the white exclamation sign).

Normally, all tasks should stay Unprocessed, Rescheduled or Running. Scheduled tasks queue should be kept as short as possible. Failed tasks can be re-run manually by POA operator.

Failed tasks usually have reason of failure in task properties in the parameter Last execution output.

Analyze failed tasks on daily basis, fix the problem which prevent tasks from successful executing pointed in the parameter Last execution output and re-run task after that.

Using task cancellation functionality could lead to irreversible consequences. Use task cancellation very carefully. If you are not sure about the cancellation result it is not recommended to cancel the task.

For more details about task management refer to the POA Providers Guide, chapter 14 Monitoring System, section Managing Background Tasks.

Additional information

See the global article #113946 Parallels Automation Maintenance Guide for checking other important settings.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF