[GE users] Setting complex attributes from CLI per host

bomb20 Harvey.Richardson at zeenty.com
Wed Sep 16 12:34:56 BST 2009


jonathan_zink wrote:
> Use case:
> A particular application temporarily needs to be restricted from 2 hosts.

Fastest way but against the spirit of Grid Engine I guess:

  -l h=!host1&!host2

in the script or suitably quoted on the command line.

> Of course, I can use
> qconf -me grid153
> to edit the complex attributes for a host, but I would rather not do that a few hundred times.

I have scripts that do that (only choice before the newer qconf options came out)
by setting EDITOR to ed and using appropriate input to do the update.

Harvey

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

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



More information about the gridengine-users mailing list