[GE users] How to delete a host from v6?

Alexandre Barras Alexandre.Barras at cerfacs.fr
Thu Jul 22 16:05:44 BST 2004


    [ 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. ]

for administration, I use qmon
very convenient!

Charu Chaubal wrote:

> Hi Jeff,
>
> In GE 6, 'inst_sge' has a set of remove options now.  I think if you 
> run 'inst_sge -h' you'll get the full list of options, and in there 
> you'll see those for removal of hosts.
>
> Regards,
>     Charu
>
> Beadles, Jeff wrote:
>
>> I'm trying to delete a host from our v6 grid, and can't seem to 
>> remove all references to it.
>>
>> Right now, I am using;
>>
>> $ qconf -ds $host
>> $ qconf -dh $host
>> $ qconf -de $host
>> $ qconf -dconf $host
>> $ qconf -shgrp @allhosts | sed -e "s/ $host //" -e "s/ $host\$//" > 
>> /tmp/delete.$$
>> $ qconf -Mhgrp /tmp/delete.$$
>> $ rm -f /tmp/delete.$$
>>
>> The problem though, is when I run "qconf -sq all.q", it still shows 
>> the complex entries for the deleted host.
>>
>> Is there a scripted way to remove these, without manually editing the 
>> all.q definition via qconf -mq?
>>
>> Also, is there a cleaner way to remove a host from a hostgroup list 
>> than the kludge I'm using?
>>
>> Thanks,
>>     -Jeff
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>

-- 
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	     Alexandre Barras - Computing Support Group
        CERFACS, 42 Av. Coriolis, F-31057 TOULOUSE Cedex 1, FRANCE
        Tel.: (+33) [0]5 61 19 30 75   Fax: (+33) [0]5 61 19 30 00

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




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