2 Replies Latest reply on Apr 13, 2005 9:20 AM by sidazad

    Notification when a node is connected to the network

    sidazad

      Hi,
      I have a service that listens to cluster membership events. It also uses a channel to which all memers of the group subscribe. Now suppose the network cable is unplugged from 1 of the nodes, the rest of the cluster receives cluster membership notifications with a dead member.
      Now if I reconnect this host to the network, is there a way of knowing that this node has rejoined the cluster on this node itself. I know that the other cluster members will get a membership changed, but this node doesn't get such an event.
      Thanks, Sid.

        • 1. Re: Notification when a node is connected to the network
          belaban

          No, the node should get the *same* view notification.

          • 2. Re: Notification when a node is connected to the network
            sidazad

            Hi, I don't seem to be getting the cluster membership event on the node I took away from the network. Below is a summary of exactly what I did:
            A Singleton service subscribes to the HAMembershipListener.
            JBoss version 3.2.3

            (1. Started JBoss on Host A, service is Master here.

            (2. Started JBoss on Host B, service is not Master here.

            (3. Confirm that Host A and B are on the same cluster (received Membership changed event on Host B with Delta 1)

            (4. Pulled the network cable from host B. The service on Host A received a membership changed event. The service on Host B did not.

            (5. Reconnected the network cable. The service on Host A received a membership changed event.. The service on Host B did not.

            (6. Host B received the trace:

            09:08:57,666 INFO [STDOUT]
            -------------------------------------------------------
            GMS: address is NY731-4W-324a:4844 (additional data: 17 bytes)
            -------------------------------------------------------
            09:08:57,666 ERROR [up] corr == null
            09:08:57,666 ERROR [up] corr == null

            Thats all that happenned. Is this the expected behavior?

            Thanks, Sid.