Unless you plan on using the dlm and/or ocfs2... I'd simplify your life and just remove the openais related packages for now.
You can still follow the instructions from: http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-install-enable.html#s-install-enable-ais But just substitute the corosync.conf file whenever openais.conf is mentioned. On Mon, Nov 9, 2009 at 7:38 PM, Frank DiMeo <[email protected]> wrote: > Yes, the pacemaker.lcrso file is in the correct place. > > Here's the current status: > > 1) I was confused as to which configuration file to use when using both > corosync and openais together. I thought that the > /etc/ais/openais/openais.conf file would override the > /etc/corosync/corosync.conf file, but it seems that it's the other way > around. Even when you use /etc/init.d/openais to start, the > /etc/corosync/corosync.conf file is used. > > 2) The /etc/init.d/openais script calls out openaisserviceenable, but the > code (openais 1.1.2) is built to load something called > openaisserviceenablestable. When I change the /etc/init.d/openais to call > out openaissserviceenable, then it loads that module correctly. Maybe I have > an old or outdated /etc/init.d/openais?? > > 3) The /etc/init.d/openais script calls out openaisparser, but I don't find > any registration for that module in the code, so it fails to start. Also, > there is no openaisparser.lcscro file. > > 4) If I remove the remove openasiparser from the /etc/init.d/openais script, > then /etc/init.d/openais start fails and says: "couldn't find totem handle" > > 5) If I remove the references to both openaisserviceenablestable and > openasiparser from /etc/init.d/openais, then everything starts normally, and > pacemaker seems to load (according to /tmp/corosync.log > > -Frank > >> -----Original Message----- >> From: Andrew Beekhof [mailto:[email protected]] >> Sent: Monday, November 09, 2009 10:09 AM >> To: Frank DiMeo >> Cc: Fabio M. Di Nitto; [email protected] >> Subject: Re: [Openais] first time install of corosync, openais and >> pacemaker on ubuntu 9.04 >> >> On Mon, Nov 9, 2009 at 2:22 PM, Frank DiMeo <[email protected]> >> wrote: >> > >> > notr...@ubuntu:~/openais/corosync-1.1.2$ crm_verify --version >> > crm_verify 1.0.6 for OpenAIS (Build: >> 828b3329a64c9e40e7646000c29b490ba85a38bb) >> >> Ok, so it was built correctly. >> Does pacemaker.lcrso exist in the right place? >> >> > >> > Written by Andrew Beekhof >> > notr...@ubuntu:~/openais/corosync-1.1.2$ >> > >> >> -----Original Message----- >> >> From: Andrew Beekhof [mailto:[email protected]] >> >> Sent: Sunday, November 08, 2009 1:42 PM >> >> To: Frank DiMeo >> >> Cc: Fabio M. Di Nitto; [email protected] >> >> Subject: Re: [Openais] first time install of corosync, openais and >> >> pacemaker on ubuntu 9.04 >> >> >> >> What did crm_verify --version say? >> >> It should include the list of supported stacks. >> >> Is pacemaker.lcrso in that directory too? >> >> >> >> On Fri, Nov 6, 2009 at 11:41 PM, Frank DiMeo >> <[email protected]> >> >> wrote: >> >> > I put some debug code into corosync/exec/main.c and >> >> corosync/exec/lcr_ifact.c. It's definitely looking in the right place >> for >> >> the lcrso files, but even though it finds the file, cannot find an >> >> instance for openaisserviceenable in lcr_component_instance(). It >> finds >> >> one for objdb and coroparse (if I remove the "openaisserviceenable" in >> >> /etc/init.d/openais). It looks like there's supposed to be an entry >> for >> >> each of the components in the lcr_component_instance_database in order >> for >> >> an instance to be found, but I don't see anywhere that that database is >> >> written to, other than to initialize it to NULL. >> >> > >> >> > Any ideas? >> >> > >> >> > -Frank >> >> > >> >> >> -----Original Message----- >> >> >> From: Fabio M. Di Nitto [mailto:[email protected]] >> >> >> Sent: Friday, November 06, 2009 4:00 PM >> >> >> To: Frank DiMeo >> >> >> Cc: [email protected]; [email protected] >> >> >> Subject: Re: [Openais] first time install of corosync, openais and >> >> >> pacemaker on ubuntu 9.04 >> >> >> >> >> >> Frank DiMeo wrote: >> >> >> > >> >> >> >> -----Original Message----- >> >> >> >> From: Fabio M. Di Nitto [mailto:[email protected]] >> >> >> >> Sent: Friday, November 06, 2009 3:34 PM >> >> >> >> To: [email protected] >> >> >> >> Cc: Frank DiMeo; [email protected] >> >> >> >> Subject: Re: [Openais] first time install of corosync, openais >> and >> >> >> >> pacemaker on ubuntu 9.04 >> >> >> >> >> >> >> >> Mike Peachey wrote: >> >> >> >>> Frank DiMeo wrote: >> >> >> >>>> All, >> >> >> >>>> >> >> >> >>>> I'm just getting started with open source HA and have built and >> >> >> >>>> installed corosync (1.1.0) and openais (1.1.0) on a ubuntu 9.04 >> >> >> distro. >> >> >> >>>> >> >> >> >>>> I then followed the instructions at >> >> >> >>>> http://www.clusterlabs.org/wiki/DebianCorosync to build and >> >> install: >> >> >> >>>> cluster-glue, agents and pacemaker. >> >> >> >>>> >> >> >> >>>> I intend to try using corosync, openais, and pacemaker, so my >> >> >> question >> >> >> >>>> is: do I really need to have built and installed the cluster- >> glue >> >> and >> >> >> >>>> agents? In my reading, it seems like heartbeat and openais are >> >> now >> >> >> >> peer >> >> >> >>>> entities, so I'm not sure what the heartbeat components do in a >> >> >> system >> >> >> >>>> made up of corosync, openais, and pacemaker. >> >> >> >>>> >> >> >> >>>> Any advice? >> >> >> >>> Pacemaker depends on corosync. >> >> >> >>> OpenAIS is optional, but recommended, >> >> >> >>> Corosync and OpenAIS depend on Cluster Resource Agents. >> >> >> >> Neither corosync or openais depend on cluster resource agents. >> >> >> >> >> >> >> >> Openais Depends on corosync. >> >> >> >> >> >> >> >> That´s all. >> >> >> >> >> >> >> >> Fabio >> >> >> > >> >> >> > Ok, so...in a Pacemaker/corosync/openais environment, I don't need >> >> >> "Cluster Resource Agents" at all? >> >> >> > >> >> >> >> >> >> Yes you still do. >> >> >> >> >> >> Fabio >> >> > _______________________________________________ >> >> > Openais mailing list >> >> > [email protected] >> >> > https://lists.linux-foundation.org/mailman/listinfo/openais >> >> > >> > > _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
