XMLRPC server class for monitoring jobs job connect to server from
compute nodes and make status updates Similar to Monitor class but runs
CGI embeded in existing HTTP server
|
|
|
|
|
|
|
|
|
get_tarball(self,
metaproject_name,
metaproject_version,
platform,
gccversion,
ppc=0)
Get best matching tarball in file repository @param metaproject_name
@param metaproject_version @param platform @param gccversion |
source code
|
|
|
|
|
|
|
start(self,
hostname,
dataset=0,
job_id=0,
key='
' ,
grid=0)
Change the status of a job to indicate it is currently running @param
: hostname @param : dataset simdb_id @param : job_id @param : key a
passkey to prevent processes from overriding entries |
source code
|
|
|
ping(self,
dataset_id,
job_id,
host,
key='
' ,
tray=0,
iter=0)
Let server know that job is still running |
source code
|
|
|
finish(self,
dataset_id,
job_id,
stats,
key='
' ,
mode=0)
Update monitoring for job and write statistics |
source code
|
|
|
copying(self,
dataset_id,
job_id,
key='
' )
Update monitoring for job and write statistics |
source code
|
|
|
abort(self,
job_id,
dataset_id,
error,
errormessage='
' ,
key='
' ,
stats=' (d. ' )
Reset any pending jobs to they get reprocesses. |
source code
|
|
|
AddFileURL(self,
dataset_id,
job_id,
url,
md5sum,
filesize,
transfertime,
key='
' )
Add or change the global location of a file |
source code
|
|
|
|
|
multipart_job_start(self,
dataset_id,
queue_id,
key='
' )
Change the status of a job to indicate it is currently running @param
: dataset simdb_id @param : job_id @param : key a passkey to prevent
processes from overriding entries |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from Monitor :
SetSemaphore ,
register_functions ,
register_module ,
serve_forever
|