[GE users] how to rename exe-hosts

Reuti reuti at staff.uni-marburg.de
Fri Oct 20 11:11:28 BST 2006

Am 20.10.2006 um 08:35 schrieb k.radacki:

> Hi,
> can smbd advise me what is the easiest way to rename bunch of  
> execution hosts.
> Of course, I do not mean vi @  /etc/sysconfig/network file, but  
> what steps should
> I perform on both exe-hosts and q-master that queue will work  
> afterwards  :-)

Think of them a new machines, then it would be just a loop to add  
them to SGE:

for i in `seq -w 1 20`; do qconf -ah node$i; done

qconf -ahgrp @tester

for i in `seq -w 1 20`; do qconf -aattr hostgroup hostlist  node$i  
@tester; done

Then you add the @tester to your queues and you are done. If you  
switch on the execd, they will become automatically an exec host in SGE.

-- 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