--- On Fri, 5/15/09, Daniel Pocock <dan...@pocock.com.au> wrote:
> From: Daniel Pocock <dan...@pocock.com.au>
> Subject: [Ganglia-developers] DNS and host name issues and suggestions
> To: ganglia-developers@lists.sourceforge.net
> Date: Friday, May 15, 2009, 7:48 AM
>
>
> I've observed a few DNS related issues recently.
> Currently, gmetad uses
> the host names returned in the XML from gmond to create and
> locate RRDs
> for each host.
>
> Some of the problems and possible ideas:
>
> - capitalisation is inconsistent and can even change, RFC
> specifies that
> it is not important: maybe gmetad should convert everything
> it receives
> to lower case?
>
> - hosts can move amongst domains, or be reachable under
> multiple domains
> in some weird setups: maybe there needs to be an option to
> tell gmetad
> to drop the domain and just assume that host names are
> globally unique?
>
> - if DNS is unavailable when gmond comes up, it starts
> recording the
> received metrics using IP addresses instead of host names,
> and the IP
> addresses become `stuck' in gmond: maybe it needs to keep
> retrying the
> DNS name, rather than becoming stuck on the IP address?
>
> - maybe use UUIDs instead of hostnames? The UUID
> could be generated by
> `gmond -t' and stored in each gmond.conf. gmetad
> would create a
> directory for each UUID, and maybe a symlink from the
> hostname for
> convenience.
>
It seems like the host gmond sending the data needs be the one that uniquely
identifies itself. The gmond could, on startup, assign itself a unique system
id and store if off somewhere. Maybe a uuid? This id could then be included in
each message for identification purposes. This would handle cases where nodes
use dhcp and might come up with varying addresses over time.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers