[Openais] [PATCH] Add options to cfg service

Christine Caulfield ccaulfie at redhat.com
Wed Oct 29 04:57:40 PDT 2008


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

-- 

Chrissie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync-cfg.patch
Type: text/x-patch
Size: 29804 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20081029/f3cf0c5b/attachment-0001.bin 


More information about the Openais mailing list