[GE users] qsh and qlogin setup

Reuti reuti at staff.uni-marburg.de
Mon Sep 3 10:12:19 BST 2007


Hi,

Am 03.09.2007 um 10:39 schrieb Iain Milne:

> We have a small cluster running SGE that we recently tweaked to get it
> working with qsh and qlogin. Although, this worked, the process I used
> doesn't scale well to a cluster with lots of nodes, so I'm looking for
> advice on how to streamline...
>
> I first ran: qconf -mconf and added the following lines to change the
> telnet/rlogin options to ssh:
>
>  rsh_daemon                   /usr/sbin/sshd -i
>  rlogin_daemon                /usr/sbin/sshd -i
>  rsh_command                  /usr/bin/ssh
>  rlogin_command               /usr/bin/ssh
>  qlogin_daemon                /usr/sbin/sshd -i
>  qlogin_command               /usr/nfs/sge_root/qlogin_wrapper
>
> /usr/nfs/sge_root/qlogin_wrapper contains:
>
>  #!/bin/sh
>  HOST=$1
>  PORT=$2
>  /usr/bin/ssh -X -p $PORT $HOST
>
> All fine so far, however, I then discovered that each node already
> contained entries for:
>  qlogin_daemon                /usr/sbin/in.telnetd
>  rlogin_daemon                /usr/sbin/in.rlogind
>
> The only way I could remove these entries was to manually run:
>  qconf -mconf <nodename>
> and delete the two lines. And again and again for each node we had.
>
> This was just about bearable for our small 21 node cluster, but we're
> about to tackle the same job on a 80+ node cluster.
>
> I'm sure there's a faster way? Help me find it please :-)

you can a) remove all the local configurations completely if they are  
the same anyway and you can stick with the global one (qconf -dconf  
<nodename>) or b) use http://gridengine.sunsource.net/howto/ 
scripting.html (last entry).

-- Reuti

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list