[Openais] first time install of corosync, openais and pacemaker on ubuntu 9.04

Frank DiMeo Frank.DiMeo at bigbandnet.com
Fri Nov 6 14:41:23 PST 2009


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:fdinitto at redhat.com]
> Sent: Friday, November 06, 2009 4:00 PM
> To: Frank DiMeo
> Cc: mike.peachey at jennic.com; openais at lists.linux-foundation.org
> 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:fdinitto at redhat.com]
> >> Sent: Friday, November 06, 2009 3:34 PM
> >> To: mike.peachey at jennic.com
> >> Cc: Frank DiMeo; openais at lists.linux-foundation.org
> >> 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


More information about the Openais mailing list