Versions Compared

    Key

    • This line was added.
    • This line was removed.
    • Formatting was changed.

    There are several way to control which hosts the supervisor will select when deciding where to start job instances on the farm.

    • Hosts: Send only to an explicit set of workers
    • Host Groups: Send only to an explicit pre-defined group of workers
    • Host Order: Select hosts in a certain preferential order

    Anchor
    Restrictions
    Restrictions
    Include Page
    _restrictionsSyntax
    _restrictionsSyntax

    ...

    Qube! allows users to specify a list of hosts, for the job to run on. This is a comma-delimited list of hostnames.

    Example

    % qbsub --hosts "qb001,qb002" command

    Omit Hosts
    Qube! allows users to You can also specify a list of hosts on which the job is restricted from running. This is a comma-delimited list of hostnames. This blacklists the hosts from running on these hosts.

    Example

    Examples

    CommandMeaning
    % qbsub --hosts "qb001,qb002" commandRun 'command' on hosts called qb001 and qb002
    % qbsub --omithosts "qb001,qb002" commandRestrict 'command' from running on qb001 or qb002

    Anchor
    HostGroups
    HostGroups
    Host Groups

    Qube! allows the administrator to organize the farm into clusters or host groups. These groups have no hierarchy, and hosts are allowed membership in multiple groups. In order to restrict a job to a specific set of hosts, the user may specify in the a set of groups to restrict the job to. This goes into the 'group' field of the job, which groups they want the job restricted to.

    Example

    . Similarly to Hosts, it is also possible to omit groups from consideration.

    Examples

    CommandMeaning
    % qbsub --groups "vfx,character" Render my/file.ma

     

    ...

    Example
    Render the Maya file called file.ma on any host in the 'vfx' or 'character' groups
    % qbsub --omitgroups "vfx,character" commandRun 'command' on any host not in the 'vfx' or 'character' groups

     

     

    Anchor
    HostOrder
    HostOrder
    Host Order

    ...