[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Linux-cluster] CMAN cluster event notification broken? (fwd)
- From: "Ashutosh Rajekar" <arajekar max-t com>
- To: "Patrick Caulfield" <pcaulfie redhat com>
- Cc: linux clustering <linux-cluster redhat com>
- Subject: Re: [Linux-cluster] CMAN cluster event notification broken? (fwd)
- Date: Fri, 16 Mar 2007 14:37:29 -0400 (EDT)
>
> 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]