Simple lease management lifecycle for a batch process

The following is a general description of the lease management lifecycle for a batch process:

  • PolicyCenter translates the request to execute a batch process into the creation of an available lease and broadcasts the lease availability to all servers in the cluster.
  • A lease manager on a server with the batch role discovers the available lease and acquires it. No other server in the cluster can acquire the lease. The lease is exclusive.
  • The server with the active lease executes the batch process until processing is complete, with the server extending the lease as needed.
  • At the completion of the batch process, the server lease manager releases the lease.