2 Replies Latest reply on Sep 19, 2016 9:08 AM by Illia Khokholkov

    [ModeShape 5.x] Verifying communication among cluster members

    Illia Khokholkov Newbie

      Is there a way to verify whether the communication among the members of the cluster is healthy? For instance, there are 4 VMs each hosting a single JVM representing a member of the ModeShape cluster. I want to know whether each member is aware of others and that a message sent from one member gets propagated to others. So far, I have found methods [1] and [2] that look promising, but those are not publicly exposed [3] to the consuming applications. The reason I am looking for this kind of health check is because I want to incorporate it into the existing suite of health checks that can easily flag whether something wrong is happening. Any help is appreciated.

       

      [1] https://github.com/ModeShape/modeshape/blob/modeshape-5.1.0.Final/modeshape-jcr/src/main/java/org/modeshape/jcr/clustering/ClusteringService.java#L199

      [2] https://github.com/ModeShape/modeshape/blob/modeshape-5.1.0.Final/modeshape-jcr/src/main/java/org/modeshape/jcr/clustering/ClusteringService.java#L227

      [3] https://github.com/ModeShape/modeshape/blob/modeshape-5.1.0.Final/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrRepository.java#L1394