[GE users] how to restrict max 2 jobs per user/user group

Sangamesh B forum.san at gmail.com
Fri Nov 14 15:56:35 GMT 2008


Hello SGE users,

      In a cluster, installed with Rocks 4.2.1 and SGE 6.0U8,
following configuration is required:

Two kinds of users:    External & Internal

Restrictions for External users:

Not more than two jobs are allowed and each job can take max 16 slots.
And each job has a restriction of max 72 hours as run time.

No restriction for Internal Users.

For this I,

Created two usersets: EXTERNAL & INTERNAL
Created a queue external.q with 8 hosts (dual core dual processor) -
total 32 slots
Set h_rt to 72 hours in external.q

But not getting how to set only <=2 jobs should run?

Also this configuration is not a feasible solution in the following cases:

As internal users are "xusers" for this queue, then some slots out of
32 may remain unused.
To overcome this, if internal users are allowed, then external users
jobs may stay in waiting state.

Can someone on the list suggest, how to

1. allow only two jobs for external user group
2. Internal users jobs should be allowed to run in external.q, if
slots = (32 - number of slots occupied 2 external users jobs) is
greater than 0

Thanks,
Sangamesh

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=88763

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list