Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PDF
nameDRMAA2Overview.pdf

Sessions and Session Manager

DRMAAv2 Provides 3 different sessions.

  • JobSession  - To control jobs
  • ReservationSession - To control reservation
  • MonitoringSession - Read-only, to get nodes, jobs, reservations from all the Sessions


DRMAA2 spec relies on concept of session to support the persistency of job and reservation information in multiple runs of short lived applications.

The SessionManager interface is the main interface of a DRMAA implementation for establishing communication with the DRMS. By the help of this interface, sessions for job management, monitoring, and/or reservation management can be maintained.

  • JobSession allows us to submit, control and monitor jobs. As opposed to MonitoringSession this allows us to control and monitor only those jobs submitted with in this job session only.
  • MonitoringSession allows us to get on-line status of jobs submitted with in DRMAA2 JobSession/s as well as those submitted outside of DRMAA2 as well. Within a monitoring session we can't submit or control jobs. Due to this reason we can say that DRMAA2 is good to write Job Monitoring GUIs.
  • ReservationSession allows us to submit, control and monitor standing or advanced reservations.


Directory structure

/drmaa2                            The entire DRMAA2 module.

...