[GE users] Automatic qlogin on the head node

craffi dag at sonsorol.org
Tue Sep 29 20:22:30 BST 2009

SGE ships with a version of the tcsh shell called "qtcsh" (read 'man  
qtcsh') -- it's a shell environment that allows a certain subset of  
named commands to be intercepted and run automatically via SGE.

Switching people into the qtcsh shell might help if that is an option.  
It won't be 100% remote but you can make sure the heavyweight commands  
and applications are executed remotely.


On Sep 29, 2009, at 3:17 PM, rafaarco wrote:

> Hello everyone,
> First of all, sorry for posting this if it's already been answered
> somewhere else, but I wasn't able to find any satisfying answers.
> My question is the following one: Is there any way to force an
> interactive job submission (a forced qlogin) when users log into the
> head node of a cluster, so that sessions on the head node can be
> controlled by SGE? In other words, every time a user logged in, a new
> interactive job controlling the session would automatically be  
> created,
> in order to prevent users from overusing the resources on the head  
> one.
> I'm considering some alternatives such as adding the qlogin command at
> the end of .bashrc or .cshrc (although this could be easily bypassed  
> if
> a user wanted to), adding a qlogin at the end of /etc/profile
> and /etc/csh.login (I don't know if this could cause a conflict with
> commands in users' login files) or using the ForceCommand option
> included in the last versions of OpenSSH (so that it could be
> shell-independent).
> I also tried changing the user login shell to a Bash wrapper that was
> something like "qrsh /bin/bash", but it didn't work. No prompt was
> returned, although the session was started indeed.
> There might be some solutions, probably better than these. Maybe a
> feature of SGE to naturally do this that I overlooked. Perhaps someone
> has already implemented such a thing.
> Any suggestions or comments?
> Thanks in advance,
> Rafa
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=219675
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net 
> ].


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

More information about the gridengine-users mailing list