From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 550 invoked by alias); 5 Oct 2006 07:48:34 -0000 Received: (qmail 521 invoked by uid 9452); 5 Oct 2006 07:48:33 -0000 Date: Thu, 05 Oct 2006 07:48:00 -0000 Message-ID: <20061005074833.520.qmail@sourceware.org> From: pcaulfield@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/cman cman_tool/main.c daemon/ais.c dae ... Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00028.txt.bz2 List-Id: CVSROOT: /cvs/cluster Module name: cluster Changes by: pcaulfield@sourceware.org 2006-10-05 07:48:33 Modified files: cman/cman_tool : main.c cman/daemon : ais.c ais.h cnxman-private.h cnxman-socket.h commands.c cman/lib : libcman.c libcman.h Log message: Add some extra semantics to CMAN to cope with openAIS rejoins. Basically, this adds an extra state to a node: AISONLY which is only cleared when cman receives a valid TRANSITION message from the node. A TRANSITION message is deemed to be invalid if the join_time of the node has not been changed (this is the timestamp the daemon was started) and the node has since been down and is rejoining. cman_tool will show if this is the case for a cluster by displaying the DisallowedNodes flag in the "cman_tool status command". If there are disallowed nodes in the cluster then the "cman_tool expected" command is disabled until those nodes have been removed. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/main.c.diff?cvsroot=cluster&r1=1.48&r2=1.49 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/ais.c.diff?cvsroot=cluster&r1=1.41&r2=1.42 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/ais.h.diff?cvsroot=cluster&r1=1.10&r2=1.11 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/cnxman-private.h.diff?cvsroot=cluster&r1=1.24&r2=1.25 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/cnxman-socket.h.diff?cvsroot=cluster&r1=1.16&r2=1.17 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&r1=1.50&r2=1.51 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.c.diff?cvsroot=cluster&r1=1.27&r2=1.28 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.h.diff?cvsroot=cluster&r1=1.28&r2=1.29