Setting the Default Queue - Intergraph Batch Services - Installation & Upgrade

Intergraph Batch Services Quick Start

Language
English
Product
Intergraph Batch Services
Search by Category
Installation & Upgrade
Smart 3D Version
13.2

The default queue on a server is the queue to which batch jobs are submitted when the user does not explicitly request a queue. The default queue cannot be a remote queue; it must exist on the server.

Manager privileges are required to set a default queue.

Using Project Management:

  1. In Project Management, right-click the model and select Configure Queues for Jobs.

    The Configure Queues for Jobs dialog box displays.

  2. Type a queue name into the Default Queue box or select a queue from the dropdown list.

  3. Click OK.

Using Batch Manager:

  1. Select the server.

  2. Select Server > Properties.

    The Server Properties Dialog Box displays.

  3. Type a queue name into the Default Queue box, or select a queue from the dropdown list.

  4. Click OK.

Using the command line:

  1. Start qmgr.

  2. Use the set default batch_request queue command to set the default queue for the server.

You can use the qmgr utility to create a batch file with a series of commands to manage the queues. This reduces the administrative workload across all client machines. For example, when you run the below command lines on a batch file that exists on all client machines, you create the same piped queues on each client:

create pipe_queue <Pipe queue Name> priority = queue-priority [ destination =dest-name ] [ run_limit = run-limit ]
enable queue <Pipe queue Name>
start queue <Pipe queue Name>

Using the Batch API:

  1. Use the BatchGetServerInfo function to obtain the current BATCH_SERVER_INFO structure.

  2. Modify the BATCH_SERVER_INFO defaultqueue field.

  3. Use the BatchSetServerInfo function with the modified BATCH_SERVER_INFO structure to set the default queue.