Proposal to extend
Ganglia with additional POWER5/6 metrics for AIX 5L and Linux on POWER
The current AIX and Linux implementation is not aware of the IBM
POWER5/6
processor specifics. This is a proposal to extend Ganglia (currently at
version 3.0.3) with such metrics. Details about these metrics can be
found in the documentation further below.
If you have any comments regarding this web page please contact me at: michael@perzl.org
Documentation
of the new proposed POWER5/6 metrics on AIX 5L and Linux on POWER:
Changed source files of
Ganglia v3.0.3 to make it aware of new POWER5/6
processor capabilities:
The following list of Ganglia source files had to be adapted for these
new POWER5/6 processor aware metrics for AIX 5L and Linux on POWER. A
tar.gz file of all changed files as well as a context diff of all
changed files can be found further below.
- configure
- some minor change to get around the -Wall stuff
on AIX which the
IBM compilers don't understand
- configure.in
- some minor change to get around the -Wall stuff
on AIX which the
IBM compilers don't understand
- gmond/gmond.c
- adapted to incorporate the new proposed POWER5/6 metrics
- gmond/gmond.init.SuSE
- some minor change to make the scripts work on SLES 9, SLES10,
openSUSE 10.0 and 10.1
- gmetad/gmetad.init.SuSE
- some minor change to make the scripts work on SLES 9, SLES10,
openSUSE 10.0 and 10.1
- lib/apr_net.c
- some changes (defines) required for AIX v4.3.3
- lib/libgmond.c
- adapted to incorporate the new proposed POWER5/6 metrics
- lib/protocol.h
- normally not necessary as it should be generated by rpcgen from
lib/protocol.x,
however, the AIX rpcgen produced errors, thus it is included here.
- lib/protocol.x
- adapted to incorporate the new proposed POWER5/6 metrics
- lib/protocol_xdr.c
- normally not necessary as it should be generated by rpcgen from
lib/protocol.x,
however, the AIX rpcgen produced errors, thus it is
included here.
- srclib/libmetrics/libmetrics.h
- adapted to incorporate the new proposed POWER5/6 metrics
- srclib/libmetrics/aix/metrics.c
- this contains the new proposed POWER5/6 metrics for AIX, nearly
everything rewritten
- srclib/libmetrics/linux/metrics.c
- this contains the new proposed POWER5/6 metrics for Linux
- srclib/libmetrics/tests/test-metrics.c
- adapted to incorporate the new proposed POWER5/6 metrics
Here is a tar.gz file of all
files
mentioned above: ganglia-3.0.3-power5-changes.tar.gz
The unified context diff against
Ganglia 3.0.3 can be downloaded here: ganglia-3.0.3-power5-contextdiff.gz
The use of this context diff is intended as follows (on AIX or Linux):
gunzip
ganglia-3.0.3-power5-contextdiff.gz
gunzip ganglia-3.0.3.tar.gz
tar xvf ganglia-3.0.3.tar
cd ganglia-3.0.3
patch -s -p1 <
../ganglia-3.0.3-power5-contextdiff
Building
Ganglia v3.0.3 RPMs on AIX
Building easy to install Ganglia RPM files is not as difficult as it
may seem. This is a short description of my compile environment and how
I generate the RPM files.
init script for gmond on AIX: gmond.aix.init
init script for gmetad on AIX: gmetad.aix.init
AIX SPEC file for Ganglia v3.0.3: ganglia-3.0.3.spec