XMLRPC server class for monitoring jobs job connect to server from
compute nodes and make status updates Creates own 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
|
|
|
getconfig(self,
dataset)
Download configuration from database |
source code
|
|
|
getmetadata(self,
dataset)
Download configuration from database |
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
|
|
|
get_storage_url(self,
dataset_id,
queue_id,
passkey='
' ,
storage_type=' INPUT ' ) |
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
|
|
|
multipart_job_finish(self,
dataset_id,
queue_id,
key='
' ) |
source code
|
|
|
task_start(self,
dataset_id,
queue_id,
taskname,
tray,
iter,
hostname,
key='
' ) |
source code
|
|
|
|
|
|
|
|
|
task_update_status(self,
task_id,
status,
key='
' ) |
source code
|
|
|
|
|
|
|
serve_forever(self,
server)
For some reason SOAPpy throws an exception if we get an HTTP instead
of HTTPS request when using SSL |
source code
|
|
|
|
|
register_module(self)
Register daemon with database and update status |
source code
|
|
|
|
|
|
|
|
|
|