[GE users] How to get all exec node names from a single exec host not defined as a submission host?

Ionel GARDAIS ionel.gardais at tech-advantage.com
Thu Feb 8 09:45:51 GMT 2007


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Andreas.Haas at Sun.COM wrote:
> On Wed, 7 Feb 2007, Gon?alo Borges wrote:
>
>>
>> Hi All,
>>
>> I'm trying to implement a function which runs on every exec host and
>> needs to know the names of all other exec hosts belonging to the
>> cluster.
>> The problem is that the exec host were the function runs is not
>> defined as a submission host.
>> Is there a simple way to do this in SGE?
>
> Sounds as if you were asking for
>
>  # qconf -as global
>
> right now you must write a script based on qconf -as <host_name> and
> iterate through all your hosts.
I understand Goncalo's request as something more like
$ qconf -sel

so he can get the list of all execution hosts and iterate inside a 'for'
loop.
Maybe "qconf -sel | grep -v `hostname`" to exclude the currently
executing host.

Ionel

-- 
Ionel GARDAIS
System-Network Engineer




    [ Part 2: "Attached Text" ]

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

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