* I'd be inclined to run such things as a global load sensor, which

>   mainly means modifying the main loop.  I think it's a bit neater to be
>>>>  started and stopped with the qmaster.
>>>>
>>>
>>> I need to carry state with a host. Specifically I need to know how long
>>> the host has been idle. Is there a way to get this info from gridengine?
>>>
>>>
>> I am wrong of course. Load sensor does run continuously. Will look
>> into that as well.
>>
>
> One other thing to consider is that I believe you can run a load on one
> host that reports a value for a *different* host.  You could, in theory,
> have something running on the qmaster (or elsewhere) to report on the
> nodes.  This could be useful for tracking how long a host is off (via
> periodic pings), or watching accounting logs to try and find "idle"
> time.
>
>
Ok, the script now runs as a load sensor. It also optionally reports idle
times for the nodes it manages. It uses complex 'idle', so it should be
created beforehand. Of course, the sensor should be configured to run on a
master node only.

This does look better than the system service, thanks for the idea.

The system service version is available under system_service branch.

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

Reply via email to