[Pacemaker] Pacemaker cluster with different operating systems

Osman Findik Osman.Findik at telenity.com
Thu Mar 7 03:13:11 EST 2013


Hi Alexandr,
I also tried that path but could not get progress. Since the existing packages on RHEL 5.5 are too old, I have to update many packages.
And then I even need to update source of pacemaker because of "./configure" and "make" problems.
Below are the steps I did for source compilation on RHEL 5.5.
After 7. Step I compiled and installed everything but got an error while starting pacemaker. ("libltdl.so.7")
I passed that error with step 8. I do not know if this is right way to go!
Finally, I got this error and gave up: "error: crm_abort: crm_glib_handler: Forked child 20672 to record non-fatal assert at logging.c:62 : g_hash_table_size: assertion `hash_table != NULL' failed"

Is there any other straight-forward way of compiling latest sources on RHEL 5.5? If someone already succeeded, I would like to learn the main steps.

Thanks,

Pacemaker source build steps: ("http://clusterlabs.org/wiki/SourceInstall")
-----------------------------
1)
-Open "autoconf-2.69.tar.gz" package. (Downloaded from "http://ftp.gnu.org/gnu/autoconf/")
-Run "./configure", "make" and "make install" commands.

2)
-Open "automake-1.13.tar.gz" package. (Downloaded from "http://ftp.gnu.org/gnu/automake/")
-Run "./configure", "make" and "make install" commands.

3)
-Open "libtool-2.4.tar.gz" package. (Downloaded from "http://ftp.gnu.org/gnu/libtool/")
-Run "./configure", "make" and "make install" commands.

4)
-Open "pkg-config-0.28.tar.gz" package. (Downloaded from "http://pkgconfig.freedesktop.org/releases/")
-Run "./configure --with-internal-glib", "make" and "make install" commands.

5)
"libqb" installation
-Run "./autogen.sh && ./configure --prefix=$PREFIX ", "./configure ac_cv_func_epoll_create1=no ac_cv_func_epoll_create=no", "make" and "make install" commands.

6)
"corosync" installation
-Run "./autogen.sh && ./configure --prefix=$PREFIX ", "make" and "make install" commands.

7)
"pacemaker" installation.
-Change "AM_CONFIG_HEADER" -> "AC_CONFIG_HEADERS" in "configure.ac" file.
-Remove "-Werror" near CFLAGS in "configure.ac" file.
-"g_timeout_add_seconds" -> "g_timeout_add" in "mcp/pacemaker.c"
-Run "./autogen.sh && ./configure --prefix=$PREFIX", "make" and "make install" commands.
-Run "ldconfig -v" command.

8)
cd "/usr/lib".
Run "ln -s libltdl.so.3.1.4 libltdl.so.7".

From: Alexandr A. Alexandrov [mailto:shurrman at gmail.com]
Sent: 07 Mart 2013 Perşembe 10:02
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] Pacemaker cluster with different operating systems

Hi!



Before giving details of the errors, my question is do you think a hybrid setup with different OSs (RHEL 5.x and RHEL 6.x) is possible?

Building from latest sources on both servers should also resolv this, I suppose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130307/5106eddf/attachment-0003.html>


More information about the Pacemaker mailing list