[GE users] qconf -purge syntax

templedf daniel.templeton at oracle.com
Tue Oct 12 21:46:35 BST 2010


Try:

qconf -purge queue \* <queue>@<host>

Note that the first "queue" is literal.

Daniel

On 10/12/10 1:38 PM, hjmangalam wrote:
> I've run into the dreaded:
>
> $ qconf -de MYHOST
> Host object "MYHOST" is still referenced in cluster queue "AGGRO".
>
> It's no longer actually referenced in the queue and the hostgroup
> @AGGRO which defines the hosts for the Qs no longer contains it.
>
> ie 'qconf -shgrp @AGGRO | grep MYHOST' returns nothing
>
> the jobs that were running have been explicitly deleted and no longer
> show up in a 'qstat'.
>
> the only place where it still shows up in in the qmon window:
> [qmon ->  Cluster Queue Control ->  Hosts] where the hosts are listed
> but provide no info to SGE (they've been physically removed).
>
> The SGE wiki and qconf man page refer to the 'qconf -purge' command as
> being useful in this kind of case but the syntax is confusing.
>
> Dan T's HOWTO contains the admonition:
> /Chuck Norris uses qconf -purge/
>
> but fails to provide an example (because Chuck Norris don't need no
> stinkin examples).
>
> And the qconf man page is similarly laconic in in its dearth of
> examples.
>
> I thought that you would use it like:
>
> qconf -purge queue '*' AGGRO at MYHOST
>
> but that returns:
> Attribute name ("*") and/or value ("MYHOST") not found
>
> Very happy to get some suggestions..
>
> TIA
> Harry
>
>
>

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=286688

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list