Rule-based distribution of jobs

This way of distributing provides advanced possibilities to setup rules where job and job types (subsystems) resides in a distributed environment.

In this example, the batchjob ‘TST001’ is going to run on host ‘Server2’ if user ‘ABCD’ starts the job. The existing Grid contains the hosts ‘Server1’ and ‘Server2’. The M3BE Grid Application is deployed on both 'Server 1' and 'Server 2'.

  1. Right-click your environment and select the task Monitor Application.
  2. Click the hamburger icon and select Bindings.

    Click +Add New.

  3. Provide this information for the new binding:
    Name

    TEST

    Node Type

    Subsystem

    Hosts

    Server2

    Click Save.

  4. Step out of the Bindings view and click Management Pages.
  5. In the Tools menu, select Subsystem Runtime Configuration.
  6. In the Add rule for binding drop-down list, select the ‘TEST’ binding and click the plus (+) button.
  7. The Create binding rule window is displayed.

    Create these rules:

    User = ABCD

    JobType=Batch

    Job=TST001

  8. Click OK.

If user ABCD starts the batchjob TST001, the job runs on ‘Server2’. All other jobs are going to run on ‘Server1’ including the batchjob TST001 if any other user than ABCD starts the job.

In reality, a more useful binding would be to have the Autojobs run on a specific server or a resource demanding batchjob run on a specific server.