Changes between Version 4 and Version 5 of AssignedWork


Ignore:
Timestamp:
Feb 16, 2008, 8:26:51 PM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AssignedWork

    v4 v5  
    11= Assigned work =
    22
    3 This mechanism serves two purposes:
     3This mechanism lets you assign a job to:
    44
    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, test for hardware or software features, or test CPUs.
     5 * a particular host.
     6 * one or all of the hosts belonging to a user.
     7 * one or all of the hosts belonging to a team
     8 * all hosts (this could be used to run application-specific benchmarks, test for hardware or software features, or test CPUs).
    79
    810A host with assigned jobs won't get any other jobs until the assigned ones are finished and reported.
     
    1921== Creating assigned work ==
    2022
    21 The [WorkGeneration '''create_work''' script and function]
    22 take an optional '''host_id''' argument.
    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.
     23The [WorkGeneration '''create_work''' script]
     24take the following optional arguments:
     25
     26 --assign_all::
     27  assign the job to all hosts
     28 --assign_host ID::
     29  assign the job to the given host
     30 --assign_user_one ID::
     31  assign the job to one host of the given user
     32 --assign_user_all ID::
     33  assign the job to all hosts of the given user
     34 --assign_team_one ID::
     35  assign the job to one host of the given team
     36 --assign_team_all ID:
     37  assign the job to all hosts of the given team
    2538
    2639The names of work units for assigned jobs must include the string '''asgw'''
     
    3851
    3952Assignments are stored in an '''assignments''' table.
    40 Each record contains a host ID (or -1) and a WU ID.
    4153
    4254If <enable_assignment> is set in the config file,
    43 the scheduler checks for assignment records for the given host.
     55the scheduler checks for assignments for the given host.
    4456If it finds any for which the result has not already been reported
    4557and the job is not in progress, it creates a result record and sends it to the host.