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

Charu Chaubal Charu.Chaubal at Sun.COM
Thu Jul 22 16:03:25 BST 2004


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
> 

-- 
####################################################################
# Charu V. Chaubal              # Phone: (650) 786-7672 (x87672)   #
# Grid Computing Technologist   # Fax:   (650) 786-4591            #
# Sun Microsystems, Inc.        # Email: charu.chaubal at sun.com     #
####################################################################


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