On 11/01/2012 10:30 AM, Peter MacKinnon wrote:
On 10/30/2012 03:40 PM, Matthew Farrellee wrote:
On 10/30/2012 02:01 PM, Peter MacKinnon wrote:
It would be nice to incorporate a few additional attributes into the
Master daemon ad so that it could serve as a record of inventory for a
pool. A management console (like Cumin) could then use this information
to display host load average and current RAM/swap usage independent of a
configured startd and its attendant slot breakout ads and attributes.
# from /proc/meminfo
TotalMemory
FreeMemory
TotalSwap
FreeSwap
# from /proc/loadavg
LoadAverage
# from /proc/loadavg (threads)
TotalProcs
RunningProcs
Some of these have existing condor_sysapi generators like
sysapi_swap_space and sysapi_load_avg. DetectedMemory is already present
in the Master ad. The new free swap/memory attributes would need basic
calculations if I'm not mistaken.
Appreciate your feedback.
Thanks,
\Pete
Arguably these should be attributes on a MachineAd. Why go for the
MasterAd over the MachineAd?
Best,
matt
Ubiquity I suppose if we consider these attributes aspects of inventory
as opposed to matchmaking candidates. But point taken.
\Pete
Two more reasons come to mind -
. the startd reports on individual slots, not machines
. data must come from all machine, not all machine may run a startd
Best,
matt
|