[GE users] How delete unused host

Andreas Haas Andreas.Haas at Sun.COM
Tue Jan 10 14:39:12 GMT 2006


Hi Marcel,

On Fri, 6 Jan 2006, Marcel Mohr wrote:

> Hello
>
> I'm a new user of SGE in a small (8Computer) Cluster environment, with
> network booting clients. It
> works, but as I try to be perfect (;-) ) there are some small things, that
> could be improved.
>
> Main concern
> I cant get a host out of the queue. The host is not existing anymore, if i
> try do delete the host i get
> "Host object "david001.ltsp" is still
> referenced in cluster queue "s"."
> Even with a restart it is still there.

this is due to host specific cluster queue settings. Before you can
remove a host from a hostgroup used a cluster queue it is required
you purge host specific settings in order to prevent configuration
trash remain in Grid Engine set-ups.

Luckily since 6.0u4 there is a qconf -purge switch that allows you
to remove host specific cluster queue settings in a very convenient
fashion. Since -purge option wasn't orderly documented before 6.0u7
it might be necessary to use

   http://gridengine.sunsource.net/issues/show_bug.cgi?id=1453

as preliminary documentation.

> Besides i got some other questions:
> 1.) Is it possible to increase the column size for some values (esp.
> JobName and Queue) in qstat and qmon ?

Unfortunately no - with qmon. With qstat we do have a workaround to
adjust queue names (see "SGE_LONG_QNAMES" in qstat(1)), but AFAICT
not for the job name. We dream since very long time of having a flexible
means to allow admins provide default output formats for the users, but
haven't found time to work on this until now :-(

> 2.) The host with qmaster running is a NFS Server for all exec hosts. Not
> only therefore i want this one, to be the last computer, on which jobs
> should be run.

Good idea.

> What would be the easiest way to achieve this. I tried to reduce cpu
> scaling, but that didn't solve it.

For specifing fix dispatch order the cluster queue sequence number
(see "seq_no" in queue_conf(5)) is used. In your case you must override
the sequence number for your masterhost

      :
   seq_no                0,[masterhost=1]
      :

if you specify the scheduler shall primarily do queue sorting sequence based
in sched_conf(5)

      :
   queue_sort_method     seqno
      :

you can be sure sequence numbers are considered irrespective of the current
host load.

Regards,
Andreas

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