Ashley,

I have found that this all depends on which node is being asked to do the reverse DNS lookup. It is usually the case that this is done by the single node that gmetad has decided to query, for example:

data_source "nodes" node001 node002 ...

If node001 was up, gmetad would query node001 first and ask about all the machines on that cluster. node001 would resolve all other hosts as FQDNs. However node001 probably would do a reverse lookup on its name and come back with just node001 instead of a FQDN.

If node001 went down however, gmetad would failover to node002, and node002 would reverse resolve node001's name as a FQDN. Hence the behavior you now see.

Ian

Ashley Wright wrote:

Hi,

I have noticed that sometimes my hosts on ganglia are called 'node001' and sometimes 'node001.ibm.grid.qut.edu.au'.

How does ganglia determine the name of the node? I was short names in all my configurations, and in my /etc/host file. However the reverse lookup for dns is the FQDN (as you would expect). 'hostname' also returns the FQDN.

What information does ganglia use, as sometimes I get the short name and sometime the FQDN.

Thanks
Ashley



Reply via email to