Web Front-end Configuration

To configure the web interface provided by Ganglia (you can also create your own), you need to install the ganglia-web package in master:

yum install ganglia-web

We have to add an alias in the Apache webserver to /usr/share/ganglia. Usually, this alias is ganglia so you can reach the web interface at http://192.168.16.1/ganglia, but you can choose any alias you like. To do this and to add some permissions to access this particular location, edit the configuration file /etc/httpd/conf.d/ganglia.conf:

Alias /ganglia /usr/share/ganglia

<Location /ganglia>
  Require all granted
</Location>

To apply this configuration, restart the httpd service:

[root@master ~]# systemctl restart httpd

You should now be able to see your cluster stats in your web browser. It is recommended to create a SOCKS proxy with SSH. To do this, add -D [port number] to your ssh root@master[1-10] command. You have to configure your browser to use the SOCKS proxy. See the video for more information.