×

System and method for managing, scheduling, controlling and monitoring execution of jobs by a job scheduler utilizing a publish/subscription interface

  • US 8,171,474 B2
  • Filed: 09/30/2005
  • Issued: 05/01/2012
  • Est. Priority Date: 10/01/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for job scheduling, comprising:

  • defining a schedule that includes a plurality of commands that will execute a job comprising a first task, a second task, and a third task, wherein defining the schedule includes;

    converting a job graph defined for the job into a series of subscriptions and publications that a publish and subscription system uses to route the plurality of commands that will execute the job; and

    scheduling, by a workload manager, the first task for execution on a first computing device, the second task for execution on a second computing device, and the third task for execution on the first computing device;

    subscribing a first agent executing on the first computing device to the first task and subscribing a second agent executing on the second computing device to the second task;

    publishing a first command of the plurality of commands from the workload manager to the publish and subscription system in response to a scheduler receiving an activation trigger that initiates the execution of the job, wherein the publish and subscription system interfaces with the first agent executing on the first computing device and forwards the first command to the first agent in response to determining that the first agent has subscribed to the first task, and wherein the first agent executes the first task on the first computing device in response to receiving the first command from the publish and subscription system;

    unsubscribing the first agent from the first task in response to the publish and subscription system receiving a first publication from the first agent indicating that the execution of the first task on the first computing device succeeded;

    subscribing the first agent executing on the first computing device to the third task in response to unsubscribing the first agent from the first task;

    publishing a second one of the plurality of commands from the workload manager to the publish and subscription system, which further interfaces with the second agent executing on the second computing device, wherein the publish and subscription system forwards the second command to the second agent in response to determining that the second agent has subscribed to the second task, and wherein the second agent executes the second task on the second computing device in response to receiving the second command from the publish and subscription system;

    publishing a third one of the plurality of commands from the workload manager to the publish and subscription system that interfaces with the first agent executing on the first computing device, wherein the publish and subscription system forwards the third command to the first agent in response to determining that the first agent has subscribed to the third task, and wherein the first agent executes the third task on the first computing device in response to receiving the third command from the publish and subscription system;

    receiving, at the publish and subscription system, a second publication from the second agent that indicates whether the execution of the second task succeeded or failed and a third publication from the first agent that indicates whether the execution of the third task succeeded or failed; and

    generating a message indicating that the execution of the job succeeded in response to the second publication received from the second agent indicating that the execution of the second task on the second computing device succeeded and the third publication received from the first agent further indicating that the execution of the third task on the first computing device succeeded.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×