From 92cfad42030889d52911814faa717bebbd4dd22f Mon Sep 17 00:00:00 2001 From: Florian Haas Date: Thu, 29 Dec 2011 20:58:01 +0100 Subject: Add OCF-compliant resource agent for Ceph daemons Add a wrapper around the ceph init script that makes MDS, OSD and MON configurable as Open Cluster Framework (OCF) compliant cluster resources. Allows Ceph daemons to tie in with cluster resource managers that support OCF, such as Pacemaker (http://www.clusterlabs.org). Disabled by default, configure --with-ocf to enable. Signed-off-by: Florian Haas --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 60f998c7f41..e334a245d5d 100644 --- a/configure.ac +++ b/configure.ac @@ -277,6 +277,12 @@ AM_CONDITIONAL(WITH_LIBATOMIC, [test "$HAVE_ATOMIC_OPS" = "1"]) # [], # [with_newsyn=no]) +AC_ARG_WITH([ocf], + [AS_HELP_STRING([--with-ocf], [build OCF-compliant cluster resource agent])], + , + [with_ocf=no]) +AM_CONDITIONAL(WITH_OCF, [ test "$with_ocf" = "yes" ]) + # Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC @@ -375,6 +381,8 @@ AM_PATH_PYTHON([2.4], AC_CONFIG_HEADERS([src/acconfig.h]) AC_CONFIG_FILES([Makefile src/Makefile + src/ocf/Makefile + src/ocf/ceph man/Makefile ceph.spec]) AC_OUTPUT -- cgit v1.2.1