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: http://oss.oracle.com/git/?p=ocfs2-tools.git;a=blob;f=ocfs2_controld/pace

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_SER

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. > > p

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 jus

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: erro

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 = -I

[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: p

[Ocfs2-users] nodes do not reconnect after network failure

2011-10-27 Thread info+ocfs
Hi, I use ocfs2 with a isci device on 4 servers (vmhost1 - vmhost4) and try to simulate a network problem with iptables. uname -a Linux vmhost3 2.6.39-gentoo-r3 #1 SMP Tue Sep 27 12:07:18 CEST 2011 i686 Intel(R) Xeon(R) CPU X5650 @ 2.67GHz GenuineIntel GNU/Linux ocfs2-tools 1.6.4 # grep -v '#\