* [Cluster-devel] Error when compiling dlm from cman @ 2011-10-26 1:47 Nick Khamis 2011-10-26 2:59 ` Bob Peterson 2011-10-26 3:25 ` Fabio M. Di Nitto 0 siblings, 2 replies; 15+ messages in thread From: Nick Khamis @ 2011-10-26 1:47 UTC (permalink / raw) To: cluster-devel.redhat.com Hello Everyone, I am attempting to provide ocfs2 dlm and fencing support for our pacemaker cluster. I recieve an error when configuring using: ./configure --prefix=/usr/local --without_cman --corosyncincdir=/usr/include/corocync --corosynclibdir=/usr/var/lib/corosync openaisincdir=/usr/include/openais --corosyncbin=/usr/sbin/corosync gcc -o dlm_controld action.o cpg.o crc.o deadlock.o main.o netlink.o plock.o group.o config.o member_cman.o logging.o ../lib/libgroup.a -L/usr/local/src/cluster-3.1.7/common/liblogthread -llogthread -L/usr/local/src/cluster-3.1.7/config/libs/libccsconfdb -L/usr/local/src/cluster-3.1.7/cman/lib -lccs -lcman -L/usr/local/src/cluster-3.1.7/dlm/libdlm -L/usr/local/src/cluster-3.1.7/fence/libfenced -ldlm -lfenced -L/usr/local/lib/openais -lSaCkpt -L/usr/var/lib/corosync -lcpg -lconfdb -lpthread -L../lib -lgroup -L/usr/local/lib /usr/bin/ld: cannot find -lcman collect2: ld returned 1 exit status make[2]: *** [dlm_controld] Error 1 make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/group/dlm_controld' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/group' make: *** [group] Error 2 Cancelling out group (--without_group), I get the following error: In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field cpg_ringid has incomplete type make[2]: *** [config.o] Error 1 make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' make: *** [fence] Error 2 Cancelling out fence (-without_fence), I get the following error: /usr/bin/ld: cannot find -lcman collect2: ld returned 1 exit status make[3]: *** [msgtest] Error 1 make[3]: Leaving directory `/usr/local/src/cluster-3.1.7/rgmanager/src/clulib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/rgmanager/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/rgmanager' Make is successful without group, fence, and rgmanager. I did not try to install untill getting some more light. I know the distribution I am using may have some implementation of libdlm however, I was asked to try using the latest version provided by cman. Thanks in Advance, Nick. ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 1:47 [Cluster-devel] Error when compiling dlm from cman Nick Khamis @ 2011-10-26 2:59 ` Bob Peterson 2011-10-26 3:25 ` Fabio M. Di Nitto 1 sibling, 0 replies; 15+ messages in thread From: Bob Peterson @ 2011-10-26 2:59 UTC (permalink / raw) To: cluster-devel.redhat.com ----- Original Message ----- | Hello Everyone, | | I am attempting to provide ocfs2 dlm and fencing support for our | pacemaker cluster. I recieve an error when configuring using: (snip) | /usr/bin/ld: cannot find -lcman Hi Nick, Sounds like the clusterlib-devel package is missing from your system. Regards, Bob Peterson Red Hat File Systems ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 1:47 [Cluster-devel] Error when compiling dlm from cman Nick Khamis 2011-10-26 2:59 ` Bob Peterson @ 2011-10-26 3:25 ` Fabio M. Di Nitto [not found] ` <CAGWRaZZPDoXRcTUjSgWBWVXZQeDU-btkcpOgqwX7uw=MdqnOmQ@mail.gmail.com> 1 sibling, 1 reply; 15+ messages in thread From: Fabio M. Di Nitto @ 2011-10-26 3:25 UTC (permalink / raw) To: cluster-devel.redhat.com On 10/26/2011 03:47 AM, Nick Khamis wrote: > Hello Everyone, > > I am attempting to provide ocfs2 dlm and fencing support for our > pacemaker cluster. I recieve an error when configuring using: > > ./configure --prefix=/usr/local --without_cman You need to drop --without_cman. Those flags have to be used carefully. --without_cman means: do not build the local copy of cman (shipped with the tarball) but rather use the system version. The daemons, even if compiled for pcmk, still need libcman to build, link and load, even if it might not be used at runtime. Fabio ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <CAGWRaZZPDoXRcTUjSgWBWVXZQeDU-btkcpOgqwX7uw=MdqnOmQ@mail.gmail.com>]
* [Cluster-devel] Error when compiling dlm from cman [not found] ` <CAGWRaZZPDoXRcTUjSgWBWVXZQeDU-btkcpOgqwX7uw=MdqnOmQ@mail.gmail.com> @ 2011-10-26 18:09 ` Fabio M. Di Nitto 2011-10-26 18:12 ` Nick Khamis 0 siblings, 1 reply; 15+ messages in thread From: Fabio M. Di Nitto @ 2011-10-26 18:09 UTC (permalink / raw) To: cluster-devel.redhat.com (please keep cluster-devel in the CC list, it might be helpful for other people too) On 10/26/2011 3:00 PM, Nick Khamis wrote: > Hello Gents, > > Thank you so much for your responses! There use to be > "--enable-pacemaker" "--disable-cman" > flags. These have since been dropped. So just build everything in > Cluster 3 even for the pcmk stack? Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of cman support for pacemaker. > > Any idea on the following fence error: > > /src/cluster-3.1.7/fence/fenced/config.c > In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: > /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field > cpg_ringid has incomplete type > make[2]: *** [config.o] Error 1 > make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' > make: *** [fence] Error 2 > > I am prototyping on a debian VM, and will be using fence_virt. For > production, we will move to > RH and obviously a STONITH device. > > Thanks in Advance, > > Nick from Toronto. You need a newer version of corosync. I don?t recall exactly what version introduces the cpg_ringid, but you are better off taking 1.4.2. Fabio ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:09 ` Fabio M. Di Nitto @ 2011-10-26 18:12 ` Nick Khamis 2011-10-26 18:14 ` Fabio M. Di Nitto 2011-10-26 18:17 ` Nick Khamis 0 siblings, 2 replies; 15+ messages in thread From: Nick Khamis @ 2011-10-26 18:12 UTC (permalink / raw) To: cluster-devel.redhat.com Fabio, I appologize for that. It was unintentional. If you notice, I said "Hello Gents". I will upgrade to 1.4.2, and keep everyone posted. Thanks Again, Nick. On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: > (please keep cluster-devel in the CC list, it might be helpful for other > people too) > > On 10/26/2011 3:00 PM, Nick Khamis wrote: >> Hello Gents, >> >> Thank you so much for your responses! There use to be >> "--enable-pacemaker" "--disable-cman" >> flags. These have since been dropped. So just build everything in >> Cluster 3 even for the pcmk stack? > > Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of > cman support for pacemaker. > >> >> Any idea on the following fence error: >> >> /src/cluster-3.1.7/fence/fenced/config.c >> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >> cpg_ringid has incomplete type >> make[2]: *** [config.o] Error 1 >> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >> make: *** [fence] Error 2 >> >> I am prototyping on a debian VM, and will be using fence_virt. For >> production, we will move to >> RH and obviously a STONITH device. >> >> Thanks in Advance, >> >> Nick from Toronto. > > You need a newer version of corosync. I don?t recall exactly what > version introduces the cpg_ringid, but you are better off taking 1.4.2. > > Fabio > ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:12 ` Nick Khamis @ 2011-10-26 18:14 ` Fabio M. Di Nitto 2011-10-26 18:17 ` Nick Khamis 1 sibling, 0 replies; 15+ messages in thread From: Fabio M. Di Nitto @ 2011-10-26 18:14 UTC (permalink / raw) To: cluster-devel.redhat.com On 10/26/2011 8:12 PM, Nick Khamis wrote: > Fabio, > > I appologize for that. It was unintentional. If you notice, I said > "Hello Gents". I will upgrade to 1.4.2, and > keep everyone posted. > That?s exactly what triggered the check my side.. :) I am aware to be oversize, but nobody ever called me "Gents" :P (just kidding of course ;) Fabio > Thanks Again, > > Nick. > > On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >> (please keep cluster-devel in the CC list, it might be helpful for other >> people too) >> >> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>> Hello Gents, >>> >>> Thank you so much for your responses! There use to be >>> "--enable-pacemaker" "--disable-cman" >>> flags. These have since been dropped. So just build everything in >>> Cluster 3 even for the pcmk stack? >> >> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >> cman support for pacemaker. >> >>> >>> Any idea on the following fence error: >>> >>> /src/cluster-3.1.7/fence/fenced/config.c >>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>> cpg_ringid has incomplete type >>> make[2]: *** [config.o] Error 1 >>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>> make[1]: *** [all] Error 2 >>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>> make: *** [fence] Error 2 >>> >>> I am prototyping on a debian VM, and will be using fence_virt. For >>> production, we will move to >>> RH and obviously a STONITH device. >>> >>> Thanks in Advance, >>> >>> Nick from Toronto. >> >> You need a newer version of corosync. I don?t recall exactly what >> version introduces the cpg_ringid, but you are better off taking 1.4.2. >> >> Fabio >> ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:12 ` Nick Khamis 2011-10-26 18:14 ` Fabio M. Di Nitto @ 2011-10-26 18:17 ` Nick Khamis 2011-10-26 18:19 ` Fabio M. Di Nitto 1 sibling, 1 reply; 15+ messages in thread From: Nick Khamis @ 2011-10-26 18:17 UTC (permalink / raw) To: cluster-devel.redhat.com I forgot to ask: >> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >> cman support for pacemaker. Does that mean that dlm + fence is provided by cman directly, and thus deprecating libdlm? I just want to make sure I am on the right page. I would like to provide dlm and fence capabilities for our pcmk cluster. Thanks Again, Nick On Wed, Oct 26, 2011 at 2:12 PM, Nick Khamis <symack@gmail.com> wrote: > Fabio, > > I appologize for that. It was unintentional. If you notice, I said > "Hello Gents". I will upgrade to 1.4.2, and > keep everyone posted. > > Thanks Again, > > Nick. > > On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >> (please keep cluster-devel in the CC list, it might be helpful for other >> people too) >> >> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>> Hello Gents, >>> >>> Thank you so much for your responses! There use to be >>> "--enable-pacemaker" "--disable-cman" >>> flags. These have since been dropped. So just build everything in >>> Cluster 3 even for the pcmk stack? >> >> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >> cman support for pacemaker. >> >>> >>> Any idea on the following fence error: >>> >>> /src/cluster-3.1.7/fence/fenced/config.c >>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>> cpg_ringid has incomplete type >>> make[2]: *** [config.o] Error 1 >>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>> make[1]: *** [all] Error 2 >>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>> make: *** [fence] Error 2 >>> >>> I am prototyping on a debian VM, and will be using fence_virt. For >>> production, we will move to >>> RH and obviously a STONITH device. >>> >>> Thanks in Advance, >>> >>> Nick from Toronto. >> >> You need a newer version of corosync. I don?t recall exactly what >> version introduces the cpg_ringid, but you are better off taking 1.4.2. >> >> Fabio >> > ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:17 ` Nick Khamis @ 2011-10-26 18:19 ` Fabio M. Di Nitto 2011-10-26 18:29 ` Nick Khamis 0 siblings, 1 reply; 15+ messages in thread From: Fabio M. Di Nitto @ 2011-10-26 18:19 UTC (permalink / raw) To: cluster-devel.redhat.com On 10/26/2011 8:17 PM, Nick Khamis wrote: > I forgot to ask: > >>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>> cman support for pacemaker. > > Does that mean that dlm + fence is provided by cman directly, and thus > deprecating libdlm? no. libdlm is still required. > > I just want to make sure I am on the right page. I would like to > provide dlm and fence > capabilities for our pcmk cluster. > It means that pacemaker can use cman to obtain cluster view and quorum info. So you basically configure cman and then run pacemaker instead of rgmanager. > Thanks Again, > > Nick > > On Wed, Oct 26, 2011 at 2:12 PM, Nick Khamis <symack@gmail.com> wrote: >> Fabio, >> >> I appologize for that. It was unintentional. If you notice, I said >> "Hello Gents". I will upgrade to 1.4.2, and >> keep everyone posted. >> >> Thanks Again, >> >> Nick. >> >> On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>> (please keep cluster-devel in the CC list, it might be helpful for other >>> people too) >>> >>> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>>> Hello Gents, >>>> >>>> Thank you so much for your responses! There use to be >>>> "--enable-pacemaker" "--disable-cman" >>>> flags. These have since been dropped. So just build everything in >>>> Cluster 3 even for the pcmk stack? >>> >>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>> cman support for pacemaker. >>> >>>> >>>> Any idea on the following fence error: >>>> >>>> /src/cluster-3.1.7/fence/fenced/config.c >>>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>>> cpg_ringid has incomplete type >>>> make[2]: *** [config.o] Error 1 >>>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>>> make[1]: *** [all] Error 2 >>>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>>> make: *** [fence] Error 2 >>>> >>>> I am prototyping on a debian VM, and will be using fence_virt. For >>>> production, we will move to >>>> RH and obviously a STONITH device. >>>> >>>> Thanks in Advance, >>>> >>>> Nick from Toronto. >>> >>> You need a newer version of corosync. I don?t recall exactly what >>> version introduces the cpg_ringid, but you are better off taking 1.4.2. >>> >>> Fabio >>> >> ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:19 ` Fabio M. Di Nitto @ 2011-10-26 18:29 ` Nick Khamis 2011-10-26 18:34 ` Nick Khamis 2011-10-26 18:34 ` Fabio M. Di Nitto 0 siblings, 2 replies; 15+ messages in thread From: Nick Khamis @ 2011-10-26 18:29 UTC (permalink / raw) To: cluster-devel.redhat.com Hello Fabio, Thank's again for your response. >> It means that pacemaker can use cman to obtain cluster view and quorum >> info. So you basically configure cman and then run pacemaker instead of >> rgmanage Sounds like something that we can use when the cluster is up and running. As for dlm, I checked out the latest version from git://git.fedorahosted.org/dlm.git. Is it sufficient just to run make && make install? Did not see and configure script. Thanks Again, Nick. On Wed, Oct 26, 2011 at 2:19 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: > On 10/26/2011 8:17 PM, Nick Khamis wrote: >> I forgot to ask: >> >>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>> cman support for pacemaker. >> >> Does that mean that dlm + fence is provided by cman directly, and thus >> deprecating libdlm? > > no. libdlm is still required. > >> >> I just want to make sure I am on the right page. I would like to >> provide dlm and fence >> capabilities for our pcmk cluster. >> > > It means that pacemaker can use cman to obtain cluster view and quorum > info. So you basically configure cman and then run pacemaker instead of > rgmanager. > >> Thanks Again, >> >> Nick >> >> On Wed, Oct 26, 2011 at 2:12 PM, Nick Khamis <symack@gmail.com> wrote: >>> Fabio, >>> >>> I appologize for that. It was unintentional. If you notice, I said >>> "Hello Gents". I will upgrade to 1.4.2, and >>> keep everyone posted. >>> >>> Thanks Again, >>> >>> Nick. >>> >>> On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>>> (please keep cluster-devel in the CC list, it might be helpful for other >>>> people too) >>>> >>>> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>>>> Hello Gents, >>>>> >>>>> Thank you so much for your responses! There use to be >>>>> "--enable-pacemaker" "--disable-cman" >>>>> flags. These have since been dropped. So just build everything in >>>>> Cluster 3 even for the pcmk stack? >>>> >>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>> cman support for pacemaker. >>>> >>>>> >>>>> Any idea on the following fence error: >>>>> >>>>> /src/cluster-3.1.7/fence/fenced/config.c >>>>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>>>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>>>> cpg_ringid has incomplete type >>>>> make[2]: *** [config.o] Error 1 >>>>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>>>> make[1]: *** [all] Error 2 >>>>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>>>> make: *** [fence] Error 2 >>>>> >>>>> I am prototyping on a debian VM, and will be using fence_virt. For >>>>> production, we will move to >>>>> RH and obviously a STONITH device. >>>>> >>>>> Thanks in Advance, >>>>> >>>>> Nick from Toronto. >>>> >>>> You need a newer version of corosync. I don?t recall exactly what >>>> version introduces the cpg_ringid, but you are better off taking 1.4.2. >>>> >>>> Fabio >>>> >>> > > ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:29 ` Nick Khamis @ 2011-10-26 18:34 ` Nick Khamis 2011-10-26 18:36 ` Fabio M. Di Nitto 2011-10-26 18:34 ` Fabio M. Di Nitto 1 sibling, 1 reply; 15+ messages in thread From: Nick Khamis @ 2011-10-26 18:34 UTC (permalink / raw) To: cluster-devel.redhat.com The question is, does the unstable standalone of dlm require cman? There use to be a LibLogThread depedency. Thanks in Advace, Nick. On Wed, Oct 26, 2011 at 2:29 PM, Nick Khamis <symack@gmail.com> wrote: > Hello Fabio, > > Thank's again for your response. > >>> It means that pacemaker can use cman to obtain cluster view and quorum >>> info. So you basically configure cman and then run pacemaker instead of >>> rgmanage > > Sounds like something that we can use when the cluster is up and > running. As for dlm, > I checked out the latest version from > git://git.fedorahosted.org/dlm.git. Is it sufficient > just to run make && make install? Did not see and configure script. > > Thanks Again, > > Nick. > > > On Wed, Oct 26, 2011 at 2:19 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >> On 10/26/2011 8:17 PM, Nick Khamis wrote: >>> I forgot to ask: >>> >>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>> cman support for pacemaker. >>> >>> Does that mean that dlm + fence is provided by cman directly, and thus >>> deprecating libdlm? >> >> no. libdlm is still required. >> >>> >>> I just want to make sure I am on the right page. I would like to >>> provide dlm and fence >>> capabilities for our pcmk cluster. >>> >> >> It means that pacemaker can use cman to obtain cluster view and quorum >> info. So you basically configure cman and then run pacemaker instead of >> rgmanager. >> >>> Thanks Again, >>> >>> Nick >>> >>> On Wed, Oct 26, 2011 at 2:12 PM, Nick Khamis <symack@gmail.com> wrote: >>>> Fabio, >>>> >>>> I appologize for that. It was unintentional. If you notice, I said >>>> "Hello Gents". I will upgrade to 1.4.2, and >>>> keep everyone posted. >>>> >>>> Thanks Again, >>>> >>>> Nick. >>>> >>>> On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>>>> (please keep cluster-devel in the CC list, it might be helpful for other >>>>> people too) >>>>> >>>>> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>>>>> Hello Gents, >>>>>> >>>>>> Thank you so much for your responses! There use to be >>>>>> "--enable-pacemaker" "--disable-cman" >>>>>> flags. These have since been dropped. So just build everything in >>>>>> Cluster 3 even for the pcmk stack? >>>>> >>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>> cman support for pacemaker. >>>>> >>>>>> >>>>>> Any idea on the following fence error: >>>>>> >>>>>> /src/cluster-3.1.7/fence/fenced/config.c >>>>>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>>>>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>>>>> cpg_ringid has incomplete type >>>>>> make[2]: *** [config.o] Error 1 >>>>>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>>>>> make[1]: *** [all] Error 2 >>>>>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>>>>> make: *** [fence] Error 2 >>>>>> >>>>>> I am prototyping on a debian VM, and will be using fence_virt. For >>>>>> production, we will move to >>>>>> RH and obviously a STONITH device. >>>>>> >>>>>> Thanks in Advance, >>>>>> >>>>>> Nick from Toronto. >>>>> >>>>> You need a newer version of corosync. I don?t recall exactly what >>>>> version introduces the cpg_ringid, but you are better off taking 1.4.2. >>>>> >>>>> Fabio >>>>> >>>> >> >> > ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:34 ` Nick Khamis @ 2011-10-26 18:36 ` Fabio M. Di Nitto 2011-10-26 18:38 ` Nick Khamis 0 siblings, 1 reply; 15+ messages in thread From: Fabio M. Di Nitto @ 2011-10-26 18:36 UTC (permalink / raw) To: cluster-devel.redhat.com On 10/26/2011 8:34 PM, Nick Khamis wrote: > The question is, does the unstable standalone of dlm require cman? No it doesn?t, but as I wrote in the other email, it?s too "unstable". It?s under heavy development and has received little to none testing. > There use to be > a LibLogThread depedency. That?s probably a leftover in the Makefiles because as far as I remember the new dlm doesn?t use liblogthread. If it does, you can just grab it from cluster.git STABLE31 branch. Fabio > > Thanks in Advace, > > Nick. > > On Wed, Oct 26, 2011 at 2:29 PM, Nick Khamis <symack@gmail.com> wrote: >> Hello Fabio, >> >> Thank's again for your response. >> >>>> It means that pacemaker can use cman to obtain cluster view and quorum >>>> info. So you basically configure cman and then run pacemaker instead of >>>> rgmanage >> >> Sounds like something that we can use when the cluster is up and >> running. As for dlm, >> I checked out the latest version from >> git://git.fedorahosted.org/dlm.git. Is it sufficient >> just to run make && make install? Did not see and configure script. >> >> Thanks Again, >> >> Nick. >> >> >> On Wed, Oct 26, 2011 at 2:19 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>> On 10/26/2011 8:17 PM, Nick Khamis wrote: >>>> I forgot to ask: >>>> >>>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>>> cman support for pacemaker. >>>> >>>> Does that mean that dlm + fence is provided by cman directly, and thus >>>> deprecating libdlm? >>> >>> no. libdlm is still required. >>> >>>> >>>> I just want to make sure I am on the right page. I would like to >>>> provide dlm and fence >>>> capabilities for our pcmk cluster. >>>> >>> >>> It means that pacemaker can use cman to obtain cluster view and quorum >>> info. So you basically configure cman and then run pacemaker instead of >>> rgmanager. >>> >>>> Thanks Again, >>>> >>>> Nick >>>> >>>> On Wed, Oct 26, 2011 at 2:12 PM, Nick Khamis <symack@gmail.com> wrote: >>>>> Fabio, >>>>> >>>>> I appologize for that. It was unintentional. If you notice, I said >>>>> "Hello Gents". I will upgrade to 1.4.2, and >>>>> keep everyone posted. >>>>> >>>>> Thanks Again, >>>>> >>>>> Nick. >>>>> >>>>> On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>>>>> (please keep cluster-devel in the CC list, it might be helpful for other >>>>>> people too) >>>>>> >>>>>> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>>>>>> Hello Gents, >>>>>>> >>>>>>> Thank you so much for your responses! There use to be >>>>>>> "--enable-pacemaker" "--disable-cman" >>>>>>> flags. These have since been dropped. So just build everything in >>>>>>> Cluster 3 even for the pcmk stack? >>>>>> >>>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>>> cman support for pacemaker. >>>>>> >>>>>>> >>>>>>> Any idea on the following fence error: >>>>>>> >>>>>>> /src/cluster-3.1.7/fence/fenced/config.c >>>>>>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>>>>>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>>>>>> cpg_ringid has incomplete type >>>>>>> make[2]: *** [config.o] Error 1 >>>>>>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>>>>>> make[1]: *** [all] Error 2 >>>>>>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>>>>>> make: *** [fence] Error 2 >>>>>>> >>>>>>> I am prototyping on a debian VM, and will be using fence_virt. For >>>>>>> production, we will move to >>>>>>> RH and obviously a STONITH device. >>>>>>> >>>>>>> Thanks in Advance, >>>>>>> >>>>>>> Nick from Toronto. >>>>>> >>>>>> You need a newer version of corosync. I don?t recall exactly what >>>>>> version introduces the cpg_ringid, but you are better off taking 1.4.2. >>>>>> >>>>>> Fabio >>>>>> >>>>> >>> >>> >> ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:36 ` Fabio M. Di Nitto @ 2011-10-26 18:38 ` Nick Khamis 2011-10-26 18:41 ` Fabio M. Di Nitto 0 siblings, 1 reply; 15+ messages in thread From: Nick Khamis @ 2011-10-26 18:38 UTC (permalink / raw) To: cluster-devel.redhat.com I will stick with the stable version. Upgrading corosync to 1.4.2, and see if that helps my error. Just a note, on the cluster site it say "requires corosync 1.4.1 (or higher) and openais 1.1.4 (or higher) " Cheers, Nick. On Wed, Oct 26, 2011 at 2:36 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: > On 10/26/2011 8:34 PM, Nick Khamis wrote: >> The question is, does the unstable standalone of dlm require cman? > > No it doesn?t, but as I wrote in the other email, it?s too "unstable". > It?s under heavy development and has received little to none testing. > >> There use to be >> a LibLogThread depedency. > > That?s probably a leftover in the Makefiles because as far as I remember > the new dlm doesn?t use liblogthread. If it does, you can just grab it > from cluster.git STABLE31 branch. > > Fabio > > >> >> Thanks in Advace, >> >> Nick. >> >> On Wed, Oct 26, 2011 at 2:29 PM, Nick Khamis <symack@gmail.com> wrote: >>> Hello Fabio, >>> >>> Thank's again for your response. >>> >>>>> It means that pacemaker can use cman to obtain cluster view and quorum >>>>> info. So you basically configure cman and then run pacemaker instead of >>>>> rgmanage >>> >>> Sounds like something that we can use when the cluster is up and >>> running. As for dlm, >>> I checked out the latest version from >>> git://git.fedorahosted.org/dlm.git. Is it sufficient >>> just to run make && make install? Did not see and configure script. >>> >>> Thanks Again, >>> >>> Nick. >>> >>> >>> On Wed, Oct 26, 2011 at 2:19 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>>> On 10/26/2011 8:17 PM, Nick Khamis wrote: >>>>> I forgot to ask: >>>>> >>>>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>>>> cman support for pacemaker. >>>>> >>>>> Does that mean that dlm + fence is provided by cman directly, and thus >>>>> deprecating libdlm? >>>> >>>> no. libdlm is still required. >>>> >>>>> >>>>> I just want to make sure I am on the right page. I would like to >>>>> provide dlm and fence >>>>> capabilities for our pcmk cluster. >>>>> >>>> >>>> It means that pacemaker can use cman to obtain cluster view and quorum >>>> info. So you basically configure cman and then run pacemaker instead of >>>> rgmanager. >>>> >>>>> Thanks Again, >>>>> >>>>> Nick >>>>> >>>>> On Wed, Oct 26, 2011 at 2:12 PM, Nick Khamis <symack@gmail.com> wrote: >>>>>> Fabio, >>>>>> >>>>>> I appologize for that. It was unintentional. If you notice, I said >>>>>> "Hello Gents". I will upgrade to 1.4.2, and >>>>>> keep everyone posted. >>>>>> >>>>>> Thanks Again, >>>>>> >>>>>> Nick. >>>>>> >>>>>> On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>>>>>> (please keep cluster-devel in the CC list, it might be helpful for other >>>>>>> people too) >>>>>>> >>>>>>> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>>>>>>> Hello Gents, >>>>>>>> >>>>>>>> Thank you so much for your responses! There use to be >>>>>>>> "--enable-pacemaker" "--disable-cman" >>>>>>>> flags. These have since been dropped. So just build everything in >>>>>>>> Cluster 3 even for the pcmk stack? >>>>>>> >>>>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>>>> cman support for pacemaker. >>>>>>> >>>>>>>> >>>>>>>> Any idea on the following fence error: >>>>>>>> >>>>>>>> /src/cluster-3.1.7/fence/fenced/config.c >>>>>>>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>>>>>>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>>>>>>> cpg_ringid has incomplete type >>>>>>>> make[2]: *** [config.o] Error 1 >>>>>>>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>>>>>>> make[1]: *** [all] Error 2 >>>>>>>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>>>>>>> make: *** [fence] Error 2 >>>>>>>> >>>>>>>> I am prototyping on a debian VM, and will be using fence_virt. For >>>>>>>> production, we will move to >>>>>>>> RH and obviously a STONITH device. >>>>>>>> >>>>>>>> Thanks in Advance, >>>>>>>> >>>>>>>> Nick from Toronto. >>>>>>> >>>>>>> You need a newer version of corosync. I don?t recall exactly what >>>>>>> version introduces the cpg_ringid, but you are better off taking 1.4.2. >>>>>>> >>>>>>> Fabio >>>>>>> >>>>>> >>>> >>>> >>> > > ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:38 ` Nick Khamis @ 2011-10-26 18:41 ` Fabio M. Di Nitto 2011-10-26 20:46 ` Nick Khamis 0 siblings, 1 reply; 15+ messages in thread From: Fabio M. Di Nitto @ 2011-10-26 18:41 UTC (permalink / raw) To: cluster-devel.redhat.com On 10/26/2011 8:38 PM, Nick Khamis wrote: > I will stick with the stable version. Upgrading corosync to 1.4.2, and > see if that helps my error. > Just a note, on the cluster site it say "requires corosync 1.4.1 (or > higher) and openais 1.1.4 (or higher) " Yes, when 3.1.7 has been released, corosync 1.4.2 didn?t exist :) I generally update those requirements on a release base. Fabio > > Cheers, > > Nick. > > On Wed, Oct 26, 2011 at 2:36 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >> On 10/26/2011 8:34 PM, Nick Khamis wrote: >>> The question is, does the unstable standalone of dlm require cman? >> >> No it doesn?t, but as I wrote in the other email, it?s too "unstable". >> It?s under heavy development and has received little to none testing. >> >>> There use to be >>> a LibLogThread depedency. >> >> That?s probably a leftover in the Makefiles because as far as I remember >> the new dlm doesn?t use liblogthread. If it does, you can just grab it >> from cluster.git STABLE31 branch. >> >> Fabio >> >> >>> >>> Thanks in Advace, >>> >>> Nick. >>> >>> On Wed, Oct 26, 2011 at 2:29 PM, Nick Khamis <symack@gmail.com> wrote: >>>> Hello Fabio, >>>> >>>> Thank's again for your response. >>>> >>>>>> It means that pacemaker can use cman to obtain cluster view and quorum >>>>>> info. So you basically configure cman and then run pacemaker instead of >>>>>> rgmanage >>>> >>>> Sounds like something that we can use when the cluster is up and >>>> running. As for dlm, >>>> I checked out the latest version from >>>> git://git.fedorahosted.org/dlm.git. Is it sufficient >>>> just to run make && make install? Did not see and configure script. >>>> >>>> Thanks Again, >>>> >>>> Nick. >>>> >>>> >>>> On Wed, Oct 26, 2011 at 2:19 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>>>> On 10/26/2011 8:17 PM, Nick Khamis wrote: >>>>>> I forgot to ask: >>>>>> >>>>>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>>>>> cman support for pacemaker. >>>>>> >>>>>> Does that mean that dlm + fence is provided by cman directly, and thus >>>>>> deprecating libdlm? >>>>> >>>>> no. libdlm is still required. >>>>> >>>>>> >>>>>> I just want to make sure I am on the right page. I would like to >>>>>> provide dlm and fence >>>>>> capabilities for our pcmk cluster. >>>>>> >>>>> >>>>> It means that pacemaker can use cman to obtain cluster view and quorum >>>>> info. So you basically configure cman and then run pacemaker instead of >>>>> rgmanager. >>>>> >>>>>> Thanks Again, >>>>>> >>>>>> Nick >>>>>> >>>>>> On Wed, Oct 26, 2011 at 2:12 PM, Nick Khamis <symack@gmail.com> wrote: >>>>>>> Fabio, >>>>>>> >>>>>>> I appologize for that. It was unintentional. If you notice, I said >>>>>>> "Hello Gents". I will upgrade to 1.4.2, and >>>>>>> keep everyone posted. >>>>>>> >>>>>>> Thanks Again, >>>>>>> >>>>>>> Nick. >>>>>>> >>>>>>> On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>>>>>>> (please keep cluster-devel in the CC list, it might be helpful for other >>>>>>>> people too) >>>>>>>> >>>>>>>> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>>>>>>>> Hello Gents, >>>>>>>>> >>>>>>>>> Thank you so much for your responses! There use to be >>>>>>>>> "--enable-pacemaker" "--disable-cman" >>>>>>>>> flags. These have since been dropped. So just build everything in >>>>>>>>> Cluster 3 even for the pcmk stack? >>>>>>>> >>>>>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>>>>> cman support for pacemaker. >>>>>>>> >>>>>>>>> >>>>>>>>> Any idea on the following fence error: >>>>>>>>> >>>>>>>>> /src/cluster-3.1.7/fence/fenced/config.c >>>>>>>>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>>>>>>>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>>>>>>>> cpg_ringid has incomplete type >>>>>>>>> make[2]: *** [config.o] Error 1 >>>>>>>>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>>>>>>>> make[1]: *** [all] Error 2 >>>>>>>>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>>>>>>>> make: *** [fence] Error 2 >>>>>>>>> >>>>>>>>> I am prototyping on a debian VM, and will be using fence_virt. For >>>>>>>>> production, we will move to >>>>>>>>> RH and obviously a STONITH device. >>>>>>>>> >>>>>>>>> Thanks in Advance, >>>>>>>>> >>>>>>>>> Nick from Toronto. >>>>>>>> >>>>>>>> You need a newer version of corosync. I don?t recall exactly what >>>>>>>> version introduces the cpg_ringid, but you are better off taking 1.4.2. >>>>>>>> >>>>>>>> Fabio >>>>>>>> >>>>>>> >>>>> >>>>> >>>> >> >> ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:41 ` Fabio M. Di Nitto @ 2011-10-26 20:46 ` Nick Khamis 0 siblings, 0 replies; 15+ messages in thread From: Nick Khamis @ 2011-10-26 20:46 UTC (permalink / raw) To: cluster-devel.redhat.com Just an update. On Debian Suqeeze, I was able to compile and install Cluster3 without rgmanager on Corosync 1.4.2: ./configure --prefix=/usr/local --without_rgmanager --corosyncincdir=/usr/include/corocync --corosynclibdir=/usr/var/lib/corosync openaisincdir=/usr/include/openais --corosyncbin=/usr/sbin/corosync I hope getting dlm and fence will be just as easy. Nick. ^ permalink raw reply [flat|nested] 15+ messages in thread
* [Cluster-devel] Error when compiling dlm from cman 2011-10-26 18:29 ` Nick Khamis 2011-10-26 18:34 ` Nick Khamis @ 2011-10-26 18:34 ` Fabio M. Di Nitto 1 sibling, 0 replies; 15+ messages in thread From: Fabio M. Di Nitto @ 2011-10-26 18:34 UTC (permalink / raw) To: cluster-devel.redhat.com On 10/26/2011 8:29 PM, Nick Khamis wrote: > Hello Fabio, > > Thank's again for your response. > >>> It means that pacemaker can use cman to obtain cluster view and quorum >>> info. So you basically configure cman and then run pacemaker instead of >>> rgmanage > > Sounds like something that we can use when the cluster is up and > running. Yes that?s correct. You do a cman cluster, with cman/fencing/dlm configured and then use packemaker on top. As for dlm, > I checked out the latest version from > git://git.fedorahosted.org/dlm.git. Is it sufficient > just to run make && make install? Did not see and configure script. You seriously don?t want to use that version of dlm.git yet. It?s the development tree for the next generation cluster and it?s undergoing a lot of changes at the moment. As you might notice there are no release tags in the tree. Fabio > > Thanks Again, > > Nick. > > > On Wed, Oct 26, 2011 at 2:19 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >> On 10/26/2011 8:17 PM, Nick Khamis wrote: >>> I forgot to ask: >>> >>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>> cman support for pacemaker. >>> >>> Does that mean that dlm + fence is provided by cman directly, and thus >>> deprecating libdlm? >> >> no. libdlm is still required. >> >>> >>> I just want to make sure I am on the right page. I would like to >>> provide dlm and fence >>> capabilities for our pcmk cluster. >>> >> >> It means that pacemaker can use cman to obtain cluster view and quorum >> info. So you basically configure cman and then run pacemaker instead of >> rgmanager. >> >>> Thanks Again, >>> >>> Nick >>> >>> On Wed, Oct 26, 2011 at 2:12 PM, Nick Khamis <symack@gmail.com> wrote: >>>> Fabio, >>>> >>>> I appologize for that. It was unintentional. If you notice, I said >>>> "Hello Gents". I will upgrade to 1.4.2, and >>>> keep everyone posted. >>>> >>>> Thanks Again, >>>> >>>> Nick. >>>> >>>> On Wed, Oct 26, 2011 at 2:09 PM, Fabio M. Di Nitto <fdinitto@redhat.com> wrote: >>>>> (please keep cluster-devel in the CC list, it might be helpful for other >>>>> people too) >>>>> >>>>> On 10/26/2011 3:00 PM, Nick Khamis wrote: >>>>>> Hello Gents, >>>>>> >>>>>> Thank you so much for your responses! There use to be >>>>>> "--enable-pacemaker" "--disable-cman" >>>>>> flags. These have since been dropped. So just build everything in >>>>>> Cluster 3 even for the pcmk stack? >>>>> >>>>> Yes that is correct. dlm_controld.pcmk has been obsoleted in favour of >>>>> cman support for pacemaker. >>>>> >>>>>> >>>>>> Any idea on the following fence error: >>>>>> >>>>>> /src/cluster-3.1.7/fence/fenced/config.c >>>>>> In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1: >>>>>> /usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field >>>>>> cpg_ringid has incomplete type >>>>>> make[2]: *** [config.o] Error 1 >>>>>> make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced' >>>>>> make[1]: *** [all] Error 2 >>>>>> make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence' >>>>>> make: *** [fence] Error 2 >>>>>> >>>>>> I am prototyping on a debian VM, and will be using fence_virt. For >>>>>> production, we will move to >>>>>> RH and obviously a STONITH device. >>>>>> >>>>>> Thanks in Advance, >>>>>> >>>>>> Nick from Toronto. >>>>> >>>>> You need a newer version of corosync. I don?t recall exactly what >>>>> version introduces the cpg_ringid, but you are better off taking 1.4.2. >>>>> >>>>> Fabio >>>>> >>>> >> >> ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2011-10-26 20:46 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 1:47 [Cluster-devel] Error when compiling dlm from cman Nick Khamis
2011-10-26 2:59 ` Bob Peterson
2011-10-26 3:25 ` Fabio M. Di Nitto
[not found] ` <CAGWRaZZPDoXRcTUjSgWBWVXZQeDU-btkcpOgqwX7uw=MdqnOmQ@mail.gmail.com>
2011-10-26 18:09 ` Fabio M. Di Nitto
2011-10-26 18:12 ` Nick Khamis
2011-10-26 18:14 ` Fabio M. Di Nitto
2011-10-26 18:17 ` Nick Khamis
2011-10-26 18:19 ` Fabio M. Di Nitto
2011-10-26 18:29 ` Nick Khamis
2011-10-26 18:34 ` Nick Khamis
2011-10-26 18:36 ` Fabio M. Di Nitto
2011-10-26 18:38 ` Nick Khamis
2011-10-26 18:41 ` Fabio M. Di Nitto
2011-10-26 20:46 ` Nick Khamis
2011-10-26 18:34 ` Fabio M. Di Nitto
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).