Changes between Version 2 and Version 3 of AssignedWork
- Timestamp:
- Feb 15, 2008, 4:44:15 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AssignedWork
v2 v3 4 4 5 5 * To assign a particular job to a particular host. 6 * To assign a particular job to be done on ALL hosts for which an app version exists. This could be used to run application-specific benchmarks, t o test CPUs, etc.6 * To assign a particular job to be done on ALL hosts for which an app version exists. This could be used to run application-specific benchmarks, test for hardware or softwar features, or test CPUs. 7 7 8 A host with assigned jobs won't get sent any other jobs until the assigned ones arereported.8 A host with assigned jobs won't get any other jobs until the assigned ones are finished and reported. 9 9 10 10 Assigned jobs are not validated or assimilated. … … 13 13 To enable this feature you must add 14 14 {{{ 15 <enable_assign ed_work>1</enable_assigned_work>15 <enable_assignment>1</enable_assignment> 16 16 }}} 17 17 to your config.xml file. … … 24 24 If positive it means assign the job to the host with that ID. 25 25 26 The names of workunits for assigned jobs must include '''asgw'''. 26 The names of workunits for assigned jobs must include the string '''asgw''' 27 (this prevents them from being validated or assimilated). 27 28 28 29 == Management tools == 29 30 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). 31 The '''assignment.php''' script (in ops/) manages assigned work. 32 It shows a list of assignments and their status, 33 and lets you remove assignments (the WU and result records remain in the database). 41 34 42 35 == Implementation == … … 46 39 Assignments are stored in an '''assignments''' table. 47 40 Each record contains a host ID (or -1) and a WU ID. 41 42 If <enable_assigment> is set in the config file, 43 the scheduler checks for assignment records for the given host. 44 If it finds any for which the result has not already been reported 45 and the job is not in progress, it creates a result record and sends it to the host.