[saga-rg] job states...

Steven Newhouse s.newhouse at omii.ac.uk
Sun Feb 12 02:46:09 CST 2006


> Just out of interest: where can I find the CIM one?
> ('GridForge' would be an insufficient answer ;-)

Extracted from an email from Chris Smith to the BES group - a record of 
which is on GridForge somewhere!

I've looked into the operational states that the CIM model enumerates 
for BatchJob. They are actually inherited from the ConcreteJob object 
from the core model.

The states themselves:

           "JobState is an integer enumeration that indicates the "
           "operational state of a Job. It can also indicate "
           "transitions between these states, for example, 'Shutting "
           "Down' and 'Starting'. Following is a brief description of "
           "the states: \n"
           "New (2) indicates that the job has never been started. \n"
           "Starting (3) indicates that the job is moving from the "
           "'New', 'Suspended', or 'Service' states into the 'Running' "
           "state. \n"
           "Running (4) indicates that the Job is running. \n"
           "Suspended (5) indicates that the Job is stopped, but may be "
           "restarted in a seamless manner. \n"
           "Shutting Down (6) indicates the job is moving to a "
           "'Completed', 'Terminated', or 'Killed' state. \n"
           "Completed (7) indicates that the job has completed "
           "normally. \n"
           "Terminated (8) indicates that the job has been stopped by a "
           "'Terminate' state change request. The job and all its "
           "underlying processes are ended and may be restarted (this "
           "is job-specific) only as a new job. \n"
           "Killed (9) indicates that the job has been stopped by a "
           "'Kill' state change request. Underlying processes may have "
           "been left running and cleanup may be required to free up "
           "resources. \n"
           "Exception (10) indicates that the Job is in an abnormal "
           "state that may be indicative of an error condition. Actual "
           "status may be surfaced though job-specific objects. \n"
           "Service (11) indicates that the Job is in a vendor-specific "
           "state that supports problem discovery and/or resolution."),


-- 
----------------------------------------------------------------
Dr Steven Newhouse                        Tel:+44 (0)2380 598789
Director, Open Middleware Infrastructure Institute-UK (OMII-UK)
c/o Suite 6005, Faraday Building (B21), Highfield Campus,
Southampton University, Highfield, Southampton, SO17 1BJ,  UK





More information about the saga-rg mailing list