[ClusterLabs] Corosync OCFS2
David Ellingsworth
david at desource.org
Wed Nov 8 18:16:22 CET 2017
I'm trying to set up a 2 node cluster using OCFS2 with a Pacemaker and
Corosync stack on Debian. I attempted to ocf:heartbeat:o2cb to satisfy
the o2cb requirement of OCFS2, but found that the required daemon
o2cb_controld.pcmk is not available for Debian because it was dependent
on OpenAIS which is no longer part of Corosync. I've reviewed the
relevant code for this daemon, but I am not familiar with the Corosync
or OpenAIS APIs in order to make the necessary conversion. The relevant
code is less than 200 lines long and can be found here:
https://oss.oracle.com/git/gitweb.cgi?p=ocfs2-tools.git;a=blob;f=ocfs2_controld/pacemaker.c;h=18f776a748ca4d39f06c9bad84c7faf5fe0c6910;hb=HEAD
Can someone take a look at this code and tell me if it can be converted
to Corosync, and if so point me in the direction of how to begin? Is
Corosync CPG the replacement for OpenAIS?
I'm able to get OCFS2 working with lsb:o2cb, but OCFS2 fails the
ping_pong test provided with ctdb which is my ultimate goal here. From
my understanding, o2cb must use o2cb_controld.pcmk in order for OCFS2 to
function correctly in regards to ctdb. I obviously haven't been able to
test this configuration due to the current OpenAIS requirement of
o2cb_controld.pcmk.
Thanks,
David Ellingsworth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20171108/3f519fbf/attachment.html>
More information about the Users
mailing list