Ganglia installation on POWER

Ganglia is a monitoring tool that is quite easy to install and has some cool build-in funtions.

The configuration is easy and the benefit out of it is huge, as you can monitor by default about 20 different values. Especially for LPAR or SLPAR Ganglia has some addons like cpu_entiltlement and cpu_sharedpool that are interesting to be measured over a long period of time to balance the LPARs and/or move them to different hosts.

In the following I will explain how to install ganglia and add nodes to the cluster-configuration. Additionally I try to explain how to configure the grid view in an easy way:

First of all we need to know how Ganglia works and how it is designed.

Ganglia is really split into 2 pieces of sofwarte:

  • gmond
  • gmetad

Gmond is the monitoring daemon (Ganglia Monitoring Daemon) that will be installed on the nodes you want to monitor.
Gmetad is the server (Ganglia Metadata Daemon) that will process the measurments and create rrd files out of them.
As you see in the last sentence, Ganglia uses rrd to display the measured items. With some nice addon made by you have the ability to display 5minute intervals, if they are not compressed already by the rrd database.

Ganglia has 2 ways to set it up.

  1. First is with one grid and all lpars going in this grid. For this you just need to have the gmond on all nodes and gmetad on one “server lpar” you decide to use that will have installed apache2 + php.
  2. In a more complex scenario which you will probably find there are different lpars listed on many different hosts.

I will catch up with scenario 1 later in this howto. First we install the gmetad and apache instance on a lpar you decide. The lpar does not have to have much RAM or cpu, as the cpu-usage is not high. The only thing is that this lpar will run an apache server with php and some different tools installed to display rrd graphs.

When you have deciced which lpar you will use download those packages from the AIX Toolbox from the IBM Webpage (

All those components are needed by the gmetad application.
When you have installed those you should install the rpm package for gmetad. This will create in AIX 5.3 following files:

  • /etc/rc.d/init.d/gmetad
  • /etc/gmetad.conf

Seeing the following example we have a p550 with 5 lpars, and a p505 with 2 lpars.

p550 lpars are named p550l1 until p550l5.
p505 lpars are named p505l1 until p505l2.

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.