On Wednesday 25 September 2002 11:17 am, Jason A. Smith wrote: > > > > > Being able to do this from a single src rpm would simplify things, > > > especially when it comes to configuration. Since I am thinking about > > > this, how is the new "location" item used? Is that a configuration > > > option that has to go on each node's local gmond.conf file or can it be > > > configured in a single place, like gmetad's config file to do something > > > like equate hostname with location? > > > > it is a configuration option in /etc/gmond.conf. there is no way now to > > get the location from the hostname but i guess it wouldn't be too painful > > to add in the future if there is a demand. > > > > -matt > > It would probably be nice to have in the future. I am just thinking in > terms of configuration and administration of a large cluster. It is > easier to keep each node as identical as possible in a homogeneous > cluster. Having a different gmond config files for each node makes > things a little more difficult for software installation. Having it in > one central config file, like gmetad might be easier.
The problem from getting the location from the hostname is that we would have to impose a regular syntax on them, ie all hostnames must conform to a certain format. I believe this to be unreasonable, although if we could come to an agreement it would be fantastic. We could make a single hostname->location map somewhere if that would be easier. For our Rocks system, it is easy to generate host-specific config files, so even for big clusters administration is not a problem. But I would be open to new ideas... Federico. > > ~Jason
