Changes between Version 1 and Version 2 of AssignedWork
- Timestamp:
- Feb 15, 2008, 4:33:42 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AssignedWork
v1 v2 21 21 The [WorkGeneration '''create_work''' script and function] 22 22 take an optional '''host_id''' argument. 23 If -1 it means sendthe job to all hosts.24 If positive it means sendthe job to the host with that ID.23 If -1 it means assign the job to all hosts. 24 If positive it means assign the job to the host with that ID. 25 25 26 26 The names of workunits for assigned jobs must include '''asgw'''. 27 27 28 == Management tools == 29 30 The following scripts (in ops/) manage assigned work: 31 {{{ 32 show_assignments 33 }}} 34 print a list of assigned jobs. 35 36 {{{ 37 remove_assignment wu_name 38 }}} 39 40 Removes an assignment (the WU and results records remain in the database). 41 42 == Implementation == 43 44 Results for assigned workunits are created on demand (in the scheduler) rather than by the transitioner. 45 46 Assignments are stored in an '''assignments''' table. 47 Each record contains a host ID (or -1) and a WU ID.