[Linux-cluster] cluster service development - question

Lon Hohberger lhh at redhat.com
Wed Oct 5 20:59:16 UTC 2005


On Wed, 2005-10-05 at 08:00 +0100, Patrick Caulfield wrote:
> > Here you go.  It's part of a rewrite of clustat which has "how to get
> > this stuff from ccsd" built right in.  I haven't committed this yet, but
> > will soon as part of a larger clustat rewrite.
> > 
> > ccs_member_list() returns cluster_member_list_t *.
> > 
> > build_member_list does that, but compares it against who is in the
> > configuration (and in this case, who is running rgmanager).  It's kind
> > of hackish the way I'm overloading the cm_state field with a bunch of
> > bitflags, but it works.
> > 
> 
> Just to point out that the next cman version (the userland daemon on head of
> CVS) will behave as you want - ie requesting the members list will retrieve all
> the nodes known to CCS.
> 

Nice =)

-- Lon




More information about the Linux-cluster mailing list