Wikis - Page

(CSA) Support Tip: HA Concepts

0 Likes

Multicast/Unicast messaging and Jgroups/ Java Naming and Directory Interface (JNDI) are used for communications.

By default the standalone HA mode uses UDP multicast for intra-cluster communications. Servers started with the same multicast address will discover each other automatically and singleton services will be used only on one node.

If the network or server firewall does not allow to use multicast (more than one node returns "Number of cluster members: 1"), it is possible to use TCP unicast for intra-cluster communications. This require to enter host addresses of initial nodes during configuration.

On node1:

xxxx-xx-xx 09:32:10,226 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 107) ISPN000094: Received new cluster view: [csa_node1/server] (2) [csa_node2/server, csa_node1/server]

xxxx-xx-xx 09:32:11,589 INFO  [org.wildfly.clustering.server.singleton] (ServerService Thread Pool -- 107) JBAS010342: csa_node2/server elected as the singleton provider of the jboss.csa.ha.singleton service

On node 2:

xxxx-xx-xx 09:31:14,780 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (Incoming-       20,shared=tcp) ISPN000094: Received new cluster view: [csa_node2/server] (2) [csa_node2/server, csa_node1/server]

xxxx-xx-xx 09:31:16,706 INFO  [org.wildfly.clustering.server.singleton] (remote-thread-0) JBAS010342: csa_node2/server elected as the singleton provider of the jboss.csa.ha.singleton service

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended