Is it possible to limit a user to a particular host, using the Resource Quota Configuration option in qmon for Sun Grid Engine?

I'm thinking of a line to the effect of:

{
...
limit users {john} to hostname=compute-1-1.local
}

The documentation mentions built in resource types: slots, arch, mem_total, num_proc, swap_total, and the ability to make custom types.

Details: SGE 6.1u5 on Rocks

update:

The above rule seems to be valid, since

  • using an unknown hostname
  • mangling the resource name 'hostname'

both cause errors

link|improve this question

68% accept rate
feedback

1 Answer

Try

{
  name=Limit_john
  limit users {john} hosts !compute-1-1.local to slots=0
}

(Note, I didn't test this, but it should work)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.