wiki:GPFS_ganglia

1. Introduction

Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids.



2. Installation

2.1 Install ganglia

$ sudo su
$ aptitude install librrd2-dev rrdtool

( download form http://ganglia.sourceforge.net )
$ tar zxvf ganglia-3.0.7.tar.gz
$ cd ganglia/
$ ./configure --with-gmeatd; make ; make install

[Config startup script]
$ cp gmetad/gmetad.init /etc/init.d/gmetad
$ cp gmond/gmond.init /etc/init.d/gmond
$ sudo update-rc.d gmond defaults
$ sudo update-rc.d gmetad defaults

[Generate config File]
$ gmond -t > /etc/gmond.conf
$ cp gmetad/gmetad.conf /etc/gmetad.conf
$ vim /etc/gmond.conf
$ vim /etc/gmetad.conf

[Create rrdtool directory]
$ mkdir /var/lib/ganglia/rrds -p
$ chown -R nobody /var/lib/ganglia/rrds

$ gmond 
$ ps -aux | grep gmond
$ telent localhost 8649

$ gmetad
$ telent localhost 8651


2.2 Install Apache

$ aptitude install php5-gd apache2 libapache2-mod-php5 php5
$ cd ganglia-3.0.7
$ cp -r web/ /var/www/ganalia



3. Test ganglia



4. Reference



5. Problem

  • route problem
     $ route add -host 239.2.11.71 dev eth2  <-- ganglia default broadcast
    



Last modified 16 years ago Last modified on Mar 13, 2008, 4:27:29 PM

Attachments (2)

Download all attachments as: .zip