Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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