Re: [Ocfs2-users] Error building ocfs2-tools

2011-11-02 Thread Tim Serong
Hi Nick, It might not be obvious, but IMO this probably belongs back on the Pacemaker list (CC'd). On 11/03/2011 02:40 AM, Nick Khamis wrote: Hello Sunil and Tim, Thank you so much for your responses. I have applied the patch, and recompiled ocfs2-tools. When spinning the pcmk stack, I am

Re: [Ocfs2-users] Error building ocfs2-tools

2011-10-28 Thread Sunil Mushran
On 10/27/2011 07:10 PM, Tim Serong wrote: Damn. It was in Pacemaker's include/crm/ais.h, back before June 27 last year(!), when it was moved to Pacemaker's configure.ac: https://github.com/ClusterLabs/pacemaker/commit/8e939b0ad779c65d445e2fa150df1cc046428a93#include/crm/ais.h This means it

Re: [Ocfs2-users] Error building ocfs2-tools

2011-10-28 Thread Tim Serong
On 29/10/11 04:10, Sunil Mushran wrote: On 10/27/2011 07:10 PM, Tim Serong wrote: Damn. It was in Pacemaker's include/crm/ais.h, back before June 27 last year(!), when it was moved to Pacemaker's configure.ac:

[Ocfs2-users] Error building ocfs2-tools

2011-10-27 Thread Nick Khamis
Hello Everyone, I am building ocfs2-tools from source. Modified /ocfs2_controld/Makefile to point to the correct pacemaker 1.1.6 headers: PCMK_INCLUDES = -I/usr/include/pacemaker -I/usr/include/heartbeat -I/usr/include/libxml2 $(GLIB_CFLAGS) However, for some reason I am getting: setup_stack:

Re: [Ocfs2-users] Error building ocfs2-tools

2011-10-27 Thread Sunil Mushran
ocfs2-tools-1.4.4 is too old. Build 1.6.4. The source tarball is on oss.oracle.com. On 10/27/2011 12:45 PM, Nick Khamis wrote: Hello Everyone, I am building ocfs2-tools from source. Modified /ocfs2_controld/Makefile to point to the correct pacemaker 1.1.6 headers: PCMK_INCLUDES =

Re: [Ocfs2-users] Error building ocfs2-tools

2011-10-27 Thread Nick Khamis
Hello Sunil, Thank you so much for your response. I just downloaded 1.6. And had to add the following to pacemaker.c: #define PCMK_SERVICE_ID 9 line 158: log_error(Connection to our AIS plugin (%d) failed, PCMK_SERVICE_ID); to avoid. pacemaker.c: In function setup_stack: pacemaker.c:158:

Re: [Ocfs2-users] Error building ocfs2-tools

2011-10-27 Thread Sunil Mushran
I don't remember that resource. If it did exist, it would have existed in pacemaker. ocfs2-tools does not carry any pacemaker bits. It carries bits that allows it to work with pacemaker cman. On 10/27/2011 02:27 PM, Nick Khamis wrote: Hello Sunil, Thank you so much for your response. I just

Re: [Ocfs2-users] Error building ocfs2-tools

2011-10-27 Thread Tim Serong
On 28/10/11 08:27, Nick Khamis wrote: Hello Sunil, Thank you so much for your response. I just downloaded 1.6. And had to add the following to pacemaker.c: #define PCMK_SERVICE_ID 9 line 158: log_error(Connection to our AIS plugin (%d) failed, PCMK_SERVICE_ID); to avoid. pacemaker.c:

Re: [Ocfs2-users] Error building ocfs2-tools

2011-10-27 Thread Sunil Mushran
On 10/27/2011 05:26 PM, Tim Serong wrote: That ought to work... But where did PCMK_SERVICE_ID come from in that context? AFAICT it's always been CRM_SERVICE there. See current head: http://oss.oracle.com/git/?p=ocfs2-tools.git;a=blob;f=ocfs2_controld/pacemaker.c;hb=HEAD#l158 CRM_SERVICE

Re: [Ocfs2-users] Error building ocfs2-tools

2011-10-27 Thread Tim Serong
On 28/10/11 11:38, Sunil Mushran wrote: On 10/27/2011 05:26 PM, Tim Serong wrote: That ought to work... But where did PCMK_SERVICE_ID come from in that context? AFAICT it's always been CRM_SERVICE there. See current head: