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

Beadles, Jeff jeff_beadles at mentorg.com
Thu Jul 22 16:44:34 BST 2004


Thanks Charu.

After running;
$ $SGE_ROOT/inst_sge -ux -host bigblue5

It does all of the same things I was doing, but if I run:

$  qconf -sq all.q | grep bigblue5
                      [bigblue5=np_load_avg=1.1],[fred=np_load_avg=1.1], \
                      [jim=BATCH INTERACTIVE],[bigblue5=BATCH \
                      [jim=TRUE],[fred=TRUE],[bigblue5=TRUE], \
                      [bigblue5=8],[geo=2],[amy=2]
                      [bigblue5=it],[zak=it],[henry=it], \
                      [bigblue5=unlimited],[zak=unlimited], \

It's still seeing entries for load_thresholds, qtype, rerun, slots, owner_list, & calendar.

That's what I am trying to cleanup.  Any other suggestions?

FYI, using qmon isn't an option for me.  I need a non-gui way to do this, that can be scripted.

	-Jeff


-----Original Message-----
From: Charu Chaubal [mailto:Charu.Chaubal at Sun.COM] 
Sent: Thursday, July 22, 2004 8:03 AM
To: users at gridengine.sunsource.net
Subject: Re: [GE users] How to delete a host from v6?

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

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