On 22/08/12 16:55, Chris Burroughs wrote: > On 08/22/2012 10:19 AM, Daniel Pocock wrote: >> I've started a branch for sending UUID instead of hostname >> >> This necessitates change to the XDR packet format, but it is backwards >> compatible >> >> Nonetheless, it is not desirable to change the XDR format regularly, so >> it would be good to know if there are other XDR changes people would >> like to integrate for eventual release in 3.5.x? Then all such changes >> can be combined in one go. >> >> The UUID branch is described here: >> >> https://github.com/ganglia/monitor-core/wiki/UUIDSources >> > > > I'm a little confused how this is backwards compatible change. My > reading of the wiki page is that HOST/@NAME will be set the the UUID, > and the hostname itself will not be present. How will this not break > the UI and anything else consuming the gmetad looking for hostnames? > Regardless of compatibility, how are applications to maintain a > hostname<-->UUID mapping?
The XDR is compatible: - the new gmond can receive the XDR from the old gmond, so it can be used as an aggregator without upgrading all gmonds in the cluster at the same time The XML is compatible: - no new attributes - gmetad and gweb seem quite happy with any string in HOST/@NAME - RRD files are created using the UUID as a directory name If people have third party scripts that depend on HOST/@NAME being resolvable, then they could run into trouble, but see my next comment.... > Why not have a new HOST/@UUID field? > Actually, there will be an option for that in gmond.conf, so it can be deployed in either of two ways, depending upon what is needed by the admin: a) put UUID in HOST/@NAME (so that XML schema does not change) b) put UUID in some new attribute The current implementation is very basic though and only does (a) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers