Author Topic: creating a worker group  (Read 10795 times)

bijuramavfx

  • Sr. Member
  • ****
  • Posts: 40
creating a worker group
« on: August 20, 2012, 04:09:47 PM »
Hi there:

How do I create a worker group and add a worker to it and make sure that this worker is not member of any other group ..?

Thanks
/Biju

BrianK

  • Hero Member
  • *****
  • Posts: 107
Re: creating a worker group
« Reply #1 on: August 20, 2012, 05:20:34 PM »
You create a group by adding workers to a group.  If the group didn't exist prior to you adding a worker to it, it is created.  When there are no more workers in the group, it no longer exists.

You add workers to a group either through their local qb.conf or through a central qbwrk.conf on the supervisor.

See sections 5.3 & 4.2 in the Administration guide which is available under the Help menu in Qube or via our online docs:
http://pipelinefx.com/docs/

bijuramavfx

  • Sr. Member
  • ****
  • Posts: 40
Re: creating a worker group
« Reply #2 on: August 20, 2012, 06:21:43 PM »
Hello Brian:

How can I make sure that a worker belongs to only one group - would like to isolate a worker for only test purpose ..?

Thanks
/Biju

BrianK

  • Hero Member
  • *****
  • Posts: 107
Re: creating a worker group
« Reply #3 on: August 29, 2012, 05:12:07 PM »
Workers are assigned to groups in only one place... either their local qb.conf or the supervisor's central qbwrk.conf (one or the other, not both).  If you want to ensure that a worker is only in one group, only assign it to one group.  It's as simple as that.

If you're trying to restrict access to the worker such that it *only* accepts jobs sent to X, then you would want to set a worker_restriction & use clusters instead of groups.

example:

worker_restrictions = /test
worker_cluster = /test

then when you submit a job, select the '/test' Priority Cluster in the submission dialog.

See section 10.3.26 in the Administration Guide for more details on restrictions. http://pipelinefx.com/docs/