Setup of Ganglia monitoring in GRNET

CentOS

  • Add epel repository for RHEL5:
  $ rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  • yum install ganglia ganglia-gmond (in the client nodes)
  • yum install ganglia ganglia-gmond ganglia-gmetad ganglia-web (in the frontend)
  • Disable selinux using system-config-securitylevel-tui (you may need to reboot the frontend for the changes to take effect)
  • Properly setup gmond.conf in all nodes. Disable multicast. In /etc/gmond.conf you must change the section for send/receive channels. In the case of GRNET the master is 62.217.120.147
/* Feel free to specify as many udp_send_channels as you like.  Gmond used to only support having a single channel */
udp_send_channel {
   /*  mcast_join = 239.2.11.71 */
   host= 62.217.120.147
   port = 8649
   ttl = 1
}
 
/* You can specify as many udp_recv_channels as you like as well. */ 
udp_recv_channel {
    /*  mcast_join = 239.2.11.71 */
    port = 8649
    /*  bind = 239.2.11.71 */
}

Start the services:

  • In client nodes:
   /etc/init.d/gmond start
  • In the frontend:
   
   /etc/init.d/gmond start
   /etc/init.d/gmetad start
   /etc/init.d/httpd start

Ubuntu

The master node configured in CentOS previously has been used to monitor also the physical nodes running Ubuntu 10.04. Since the default version of ganglia coming with Ubuntu is 3.1.2 it cannot properly send monitoring information to the master node that runs version 3.0.7. For this reason we have to build from sources:

$ wget
http://sourceforge.net/projects/ganglia/files/ganglia%20monitoring%20core/3.0.7%20%28Fossett%29/ganglia-3.0.7.tar.gz/download

$ aptitude install autoconf build-essential
  • gmond.conf is identical with the one from CentOS nodes.
  • We may need to add ganglia users: useradd ganglia
  • Start gmond
  • Since there are no start/stop scripts we have to do a killall to the relevant processes for full restart
  • Bookmark at
  • Bookmark "Setup of Ganglia monitoring in GRNET" at del.icio.us
  • Bookmark "Setup of Ganglia monitoring in GRNET" at Digg
  • Bookmark "Setup of Ganglia monitoring in GRNET" at Reddit
  • Bookmark "Setup of Ganglia monitoring in GRNET" at Google
  • Bookmark "Setup of Ganglia monitoring in GRNET" at StumbleUpon
  • Bookmark "Setup of Ganglia monitoring in GRNET" at Facebook
  • Bookmark "Setup of Ganglia monitoring in GRNET" at Twitter