From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Caulfield Date: Mon, 13 Aug 2007 08:08:42 +0100 Subject: [Cluster-devel] [Openais] [cman plugin] How to add service to openais? Someone could give some more details? In-Reply-To: <91b13c310708122357o4fab7168n926aee862240e1ca@mail.gmail.com> References: <91b13c310708122357o4fab7168n926aee862240e1ca@mail.gmail.com> Message-ID: <46C0037A.8010009@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ??? 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