Changes between Version 1 and Version 2 of AssignedWork


Ignore:
Timestamp:
Feb 15, 2008, 4:33:42 PM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AssignedWork

    v1 v2  
    2121The [WorkGeneration '''create_work''' script and function]
    2222take an optional '''host_id''' argument.
    23 If -1 it means send the job to all hosts.
    24 If positive it means send the job to the host with that ID.
     23If -1 it means assign the job to all hosts.
     24If positive it means assign the job to the host with that ID.
    2525
    2626The names of workunits for assigned jobs must include '''asgw'''.
    2727
     28== Management tools ==
     29
     30The following scripts (in ops/) manage assigned work:
     31{{{
     32show_assignments
     33}}}
     34print a list of assigned jobs.
     35
     36{{{
     37remove_assignment wu_name
     38}}}
     39
     40Removes an assignment (the WU and results records remain in the database).
     41
     42== Implementation ==
     43
     44Results for assigned workunits are created on demand (in the scheduler) rather than by the transitioner.
     45
     46Assignments are stored in an '''assignments''' table.
     47Each record contains a host ID (or -1) and a WU ID.