* [Cluster-devel] [Openais] [cman plugin] How to add service to openais? Someone could give some more details?
@ 2007-08-13 6:57 程任全
2007-08-13 7:08 ` Patrick Caulfield
0 siblings, 1 reply; 2+ messages in thread
From: 程任全 @ 2007-08-13 6:57 UTC (permalink / raw)
To: cluster-devel.redhat.com
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?
--
Denis Cheng
Linux Application Developer
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Cluster-devel] [Openais] [cman plugin] How to add service to openais? Someone could give some more details?
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
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Caulfield @ 2007-08-13 7:08 UTC (permalink / raw)
To: cluster-devel.redhat.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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-13 7:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.