All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Caulfield <pcaulfie@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [Openais] [cman plugin] How to add service to openais? Someone could give some more details?
Date: Mon, 13 Aug 2007 08:08:42 +0100	[thread overview]
Message-ID: <46C0037A.8010009@redhat.com> (raw)
In-Reply-To: <91b13c310708122357o4fab7168n926aee862240e1ca@mail.gmail.com>

??? wrote:
> here http://www.openais.org/doku.php?id=dev:adding_services said:
>
> The default service list is specified in service.c:default_services.
> If creating an external plugin, there are configuration parameters
> which may be used to add your plugin into the openais scanning of
> plugins.
>
> I'm using the cluster project's cman as an openais plugin, but both
> these two hadn't give details about howto add a plugin, I mean I add
> cman plugin to openais, but it didn't take effect, so the following
> is: how to configure it?

The cman plugin gets activated by openais because it is always started using
cman_tool. The magic is simply to set the environment variable

OPENAIS_DEFAULT_CONFIG_IFACE=cmanconfig

before starting openais

That causes the cman configuration service to be loaded instead of the one that
reads openais.conf

Patrick



      reply	other threads:[~2007-08-13  7:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13  6:57 [Cluster-devel] [Openais] [cman plugin] How to add service to openais? Someone could give some more details? 程任全
2007-08-13  7:08 ` Patrick Caulfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46C0037A.8010009@redhat.com \
    --to=pcaulfie@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.