Installing Ganglia on RHEL
This is a quick follow-up to my earlier post about installing Ganglia from source on SLES. Here we will install Ganglia from precompiled RPMs on an RHEL server. The basic cluster setup for this example remains the same: two clusters: CLUSTER1 and CLUSTER2 with head nodes head_node1 and head_node2. Each compute node runs Ganglia monitoring agent (gmond) and sends data to its respective head node. The main Ganglia server connects to each head node and pulls the performance data.

If your soon-to-be Ganglia server is behind a firewall, you will need to edit YUM’s config file to add you Web proxy. Vi the /etc/yum.conf and add the following:
|
1 |
proxy=http://<fully-qualified DNS name of the Web proxy>:<port> |
You will also need to set the http_proxy for your shell:
|
1 |
export http_proxy=http://<fully-qualified DNS name of the Web proxy>:<port> |
Now you will need to add the EPEL repository to YUM. To do this, download and install the epel-release-
|
1 2 |
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm rpm -i epel-release-6-5.noarch.rpm |
The next step is to install all the Ganglia packages for your server. These include data collection agent (gmetad), the monitoring daemon (gmond) and the PHP-driven Web front end.
|
1 |
yum install ganglia ganglia-gmetad ganglia-web ganglia-gmond |
Once everything has been installed, you will need to edit the /etc/gmetad.conf as discussed in my previous post. You only need to activate the gmetad service. The gmond service is not needed on the Ganglia server in our configuration.
|
1 2 |
chkconfig gmetad on service gmetad restart |
You will also need to activate and start your Apache Web server:
|
1 2 |
chkconfig httpd on service httpd restart |
Now you should be able to access the Ganglia Web interface at http://
-
Efren
-
Sophia C
-
llb443
-
brincks26
-
nothin_nyce1
-
Brendan O
-
Kaylla
-
Scorch Delta-62
-
Travoiz
-
Pacman
-
stephen m
-
Jason M
