Generic Queue Object

This section describes the purpose of the Generic Queue object and its properties. Below you will find a general overview, followed by a detailed description of Generic Queue Properties, as they appear in the various Generic Queue categories (tabs).

 

A Generic Queue consists of one or more Execution Queues. When jobs that are associated with a Generic Queue trigger, they are dispatched to a member Execution Queue. The member Execution Queue points to a system where the job will run. That system must have an ActiveBatch Execution Agent installed on it.

 

A Generic Queue is a shared object that can be associated with Jobs.

 

The Generic Queue is ActiveBatch's active-active high availability solution for the Execution Agent. For example, assume you have a job that can run on any three Execution Agent machines. If you associated the job directly to an Execution Queue, the job will only execute on that machine. If the machine isn’t available (perhaps its reached its executing job limit, or the queue is stopped for maintenance purposes), the job will wait if triggered (unless the queue is closed - see Managing Queues). But if you associate the job to a Generic Queue that includes the three machines the job can run on, and one of those machines goes offline, there are still two machines left that can run the job when triggered. If you have a job that can only run on one specific Execution Agent (e.g., it is the only system with the job's required software installed), then it would make sense to associate that job to the appropriate Execution Queue. The Generic Queue should be associated to jobs that can run on more than one system. This would be considered a best practice.

 

A Generic Queue is similar to a virtual machine. The actual machine selected can be deferred to the last moment. This means the job can execute on the most appropriate machine available. An Execution Queue can be a member of one or more Generic Queues. The membership of an Execution Queue to a specific Generic Queue can be as static or dynamic as you wish. You can specify selection criteria as well as match machine/user characteristics of the job to the machine/user characteristics of the Execution Queue. For example, if you need to run a job on a system with a CPU of at least 3 Ghz, you can specify that. Only Execution Queues within the Generic Queue that satisfy this criteria will be able to run the job. User Characteristics can be both static and dynamic. The dynamic aspects of a User Characteristic provides the job or operational workflow author quite a bit of power as to influencing which Execution Queue (machine) should be selected.

 

To add a new generic queue, right-click on the desired container (Scheduler root, existing folder or plan) in the Navigation pane, select New, then select Queue, then Generic Queue. The label of the new queue must be unique to the container where it is being added. When you’ve completed the Generic Queue property settings, you must click the Save or the Save and Close button to save the Queue. Click the X on the tab of the New Generic Queue if you wish to cancel the creation of the queue. When you save the queue, it will instantly appear in the Navigation pane (if auto refresh is enabled) and should be ready for operations. To modify an existing queue, right-click on the queue in the Navigation pane, then select Properties.

 

Generic Queue Properties