[Openais] Dynamic load of lcrso

Steven Dake sdake at redhat.com
Tue Aug 19 10:37:44 PDT 2008


On Tue, 2008-08-19 at 15:42 +0200, Fabien Thomas wrote:
> In the past i've always used static version of the plugins.
> 
> Now it is broken and i want to use the dynamic version but i'm stuck  
> with a very simple problem:
> how do you configure the module that need to be loaded?
> 
> for example if i want to use ckpt service in addition to the new  
> default service :)
> 
> Fabien
> _______________________________________________ Openais mailing list Openais at lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais

Fabien,

The way this is done is through configuration of the object database.
To have openais load the ckpt service (as well as the other services)
and start corosync, do the following:

export
COROSYNC_DEFAULT_CONFIG_IFACE="openaisserviceenable:openaisparser"
/usr/sbin/corosync


What that does is tell corosync to load two plugins relating to
configuration.  The first plugin (openaisserviceenable) turns on all of
the default plugin services.  The openaisparser plugin then
reads /etc/ais/openais.conf and configures the object database
accordingly.

Regards
-steve



More information about the Openais mailing list