Debian Clusters for Education and Research: The Missing Manual

Ganglia: Node Configuration

From Debian Clusters

Jump to: navigation, search

This is part three of a three-part tutorial on installing and configuring Ganglia on Debian. The full tutorial includes

Contents

Reminder

By this point, you should have run

apt-get install ganglia-monitor

on each of the nodes you're configuring to be monitored by Ganglia.

/etc/gmond.conf

The file responsible for connecting each node appropriate to the server hosting Ganglia is /etc/gmond.conf. This file needs to be edited appropriately for each node. This can be done individually, or one file can be created on one node and it can be scripted and copied out to each one of the nodes.

The following values need to be edited:

  • name - This is the name of the cluster this node is associated with. This will show up on the web page.
  • owner - Different owners will be used to separate different clusters into administrative domains. If you only have one cluster, it's not such a big deal.
  • mcast_if - If the node has multiple interfaces, the one to be used to connect to the host should be specified.
  • num_nodes - The number of nodes in the cluster.

Restarting Ganglia Monitoring

After making the changes, gmond needs to be restarted on the node. Do this with

/etc/init.d/ganglia-monitor restart

Restarting Ganglia Host

After making the changes on all the nodes, gmetad on the webserver needs to be restarted. Do this with

/etc/init.d/gmetad restart

You may need to wait around ten minutes to see your changes take affect.

Personal tools