Am 19.04.2012 um 00:43 schrieb Earl Lazarus:

> I think the solution is as follows:
> 
> Once my kickoff script confirms that my server is running, I invoke:
> 
> qconf -Me <config_file>

> However my script will first have to grab the existing host  config file 
> (does that reside on the qmaster node?) for the host it is executing on, run 
> it thru sed and change the state of my custom resource from  false to true 
> (or whatever is the proper values for booleans) and save it as a file that is 
> passed to the above command.  

There is also a command to make it a one-liner without parsing. But the user in 
question needs manager rights in SGE, and can define anything he likes in SGE 
this way. A load sensor is the better way.

-- Reuti


> If only this command didn't require a full replacement file, I wouldn't need 
> to read the config file across the network just to change one line.  It would 
> have been nice if I could change single resource values with 
> <resource>=<value>.
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to