[Openais] [PATCH] Add options to cfg service
Christine Caulfield
ccaulfie at redhat.com
Fri Oct 31 06:23:06 PDT 2008
Committed revision 1683.
with the fixes note below.
Chrissie
Steven Dake wrote:
> Call api->fatal_error instead of exit.
>
> make sure comments that are one liners use the format
> /*
> * comment
> */
>
> then good for commit
>
> regards
> -steve
>
> On Wed, 2008-10-29 at 11:57 +0000, Christine Caulfield wrote:
>> This patch adds two extra features to the CFG service in corosync, these
>> are taken (conceptually at least) from cman.
>>
>> 1. corosync_cfg_killnode() this will tell a remote node to exit.
>> 2. corosync_cfg_tryshutdown() this will do a semi-controlled shutdown in
>> that it will consult any interested attached daemons if they are willing
>> to let corosync be shut down. If they all agree then the rest of the
>> cluster will be informed before the node dies.
>>
>> I have simply called exit(100) in this patch, there might (I hope) be a
>> better way of shutting down corosync!
>>
>> Oh, and I apologise for the whitespace changes on some of the existing lines
More information about the Openais
mailing list