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

Beadles, Jeff jeff_beadles at mentorg.com
Thu Jul 22 15:36:47 BST 2004

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?


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