Mapping batch groups to batch servers

One of the main reasons for creating separate batch groups is to assign the jobs to be run on specific batch servers within them. When created, batch groups are by default not assigned to any batch servers, so any jobs assigned to them will not run.

Getting ready

This is an extension to creating a batch group. All we need is a batch group and an AOS configured to run as a batch server, either full time or within specific windows.

How to do it...

To map a batch group to a batch server (AOS configured to run batch jobs), follow these steps:

  1. Navigate to System administration | Setup | Batch group, and select the batch group to assign to a batch server.

    Note

    You will notice all AX Servers (AOS) will appear in the Remaining servers pane, regardless of whether or not the AOS has been designated as a batch server.

  2. Select the AOS to assign and click or drag it over to the Selected servers pane.
  3. Continue the same for each batch group that needs to be assigned to one or more batch servers.
  4. Once complete, close the form and the changes are made immediately.

How it works...

The mapping between AOS and the batch group can be done from the Server configuration (System administration | Setup | System | Server configurationBatch server groups fast tab) or from the Batch group form; the data is the same, just shown from a different perspective.

When a batch server looks for its next job, it does so by looking for jobs that are assigned to batch groups to which it, the AOS, is mapped. It then marks the job as "executing" so that no other batch server tries to start the job. We can therefore configure more than one AOS to process the same batch group.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.201.206