On Thu, Jan 31, 2008 at 03:20:04PM -0800, Doug Nordwall wrote: > For reference, here is a current HOST line of XML > > <HOST NAME="mybox.local" IP="10.1.1.1" REPORTED="1201820930" TN="7" > TMAX="20" DMAX="0" LOCATION="unspecified" GMOND_STARTED="1200935314"> > > We're looking at making some patches to ganglia to do one of the > following things: > > 1) replace the _value_ with the value of the job_id, and modifying the > code so that you can update the location. This would also include the > option to keep the location as it is written currently, or spoof it > with a job_id (or arbitrary value)
presume you mean here overriding the LOCATION _value_ and being able to update it (something that will get interesting when you try to make that value persistent between restarts). that would allow you to have a "job view" of the cluster just like location allows for a "physical view", but as you said its easily done through metrics which can contain any kind of value you need and have already a procedure to be updated; but if you really need to have that functionality I don't really think it would be a problem getting it integrated (except for the added complexity of the code) and the fact that the utility of the code might not justify the added complexity (specially if you then want to make the hosts migrate between clusters and then have to also deal with dynamically adjusted cluster information which will get tricky when using unicast) > 2) add a new field to the HOST entry called job_id and allow it to be > updated without restarting ganglia. no. location shouldn't be allowed as an attribute of the HOST either, but was probably added there because it was presumed to be static enough and could be useful metadata for the frontend to help make a "cluster view" which reflected the physical layout. BTW there are several other metadata information which could be tagged to hosts for different other services (like tag numbers, serial numbers, model numbers), but all those should be better be done through metrics which are designed for extensibility. Carlo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

