[PATCH] pmda: handle new ctdb_statistics format

Martin Schwenke martin at meltin.net
Mon May 27 00:38:50 MDT 2013


On Mon, 27 May 2013 00:05:26 +0200, Michael Adam <obnox at samba.org>
wrote:

> We can try to ensure it gets built in the ctdb build,
> but it has dependencies, so we would need to protect it
> with configure checks, and without installing libpcp-pmda3-dev
> and some other packages it would not get built.

The install_pmda Makefile target was completely broken.

Amitay and I just hacked up the build/packaging config for this:

* CTDB pmda support is no longer built unless you configure with
  --enable-pmda

* A ctdb-pcp-pmda RPM is build if you do:

    ./packaging/RPM/makerpms.sh --with pmda

  The default is not to build this.

The defaults are "no" because we want to avoid unexpected build
failures.  We have tested on RHEL with the EPEL pcp-libs-devel and will
make sure it is installed on our local test build system, where we
build and test every night.

Should be pushed soon...

At some stage we should also push our autotest scripts as part of either
CTDB or autocluster...

peace & happiness,
martin


More information about the samba-technical mailing list