[Linux-cluster] CMAN cluster event notification broken? (fwd)
Ashutosh Rajekar
arajekar at max-t.com
Fri Mar 16 18:37:29 UTC 2007
>
> Mikhail A Zelikov wrote:
>> I have a 2-node cluster, and I wrote a simple program that registers for
>> cluster events using:
>> cman_start_notification and cman_start_recv_data. If a node dies
>> (manual
>> reboot/shutdown) then I receive CMAN_REASON_PORTCLOSED event and then NO
>> CMAN_REASON_STATECHANGE (as I woudl expect). I receive
>> CMAN_REASON_STATECHANGE once the node is booted again. If I do not
>> register for data then I do not receive CMAN_REASON_PORTCLOSED as
>> expected.
>> Is the notification mechanism broken?
>
> It used to be broken for the last node in the cluster. It should be fixed
> in U3.
I just rebuilt RPMs from the source RPMs of RHEL5 released a few days ago
from
(ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/cman-2.0.60-1.el5.src.rpm)
cman_start_notification() still seems broken, it doesn't even trigger the
callback registered with cman_start_notification().
In addition to that, monitoring the fd returned by cman_get_fd() through
select returns no events when I force other nodes to close their
applications. Is application level notification broken or unsupported in
this release?
Thanks in advance,
Ashutosh
More information about the Linux-cluster
mailing list