Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It seems you are using TCP/IP clustering, so that is good. Try the following (from the hazelcast book)</p> <p>If you are making use of iptables, the following rule can be added to allow for outbound traffic from ports 33000-31000:</p> <pre><code>iptables -A OUTPUT -p TCP --dport 33000:31000 -m state --state NEW -j ACCEPT </code></pre> <p>and to control incoming traffic from any address to port 5701:</p> <pre><code>iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 5701 -j ACCEPT </code></pre> <p>and to allow incoming multicast traffic:</p> <pre><code>iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT </code></pre> <p>Connectivity test If you are having troubles because machines won't join a cluster, you might check the network connectity between the 2 machines. You can use a tool called iperf for that. On one machine you execute: iperf -s -p 5701 This means that you are listening at port 5701. </p> <p>At the other machine you execute the following command:</p> <pre><code>iperf -c 192.168.1.107 -d -p 5701 </code></pre> <p>Where you replace '192.168.1.107' by the ip address of your first machine. If you run the command and you get output like this:</p> <pre><code>------------------------------------------------------------ Server listening on TCP port 5701 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 192.168.1.107, TCP port 5701 TCP window size: 59.4 KByte (default) ------------------------------------------------------------ [ 5] local 192.168.1.105 port 40524 connected with 192.168.1.107 port 5701 [ 4] local 192.168.1.105 port 5701 connected with 192.168.1.107 port 33641 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.2 sec 55.8 MBytes 45.7 Mbits/sec [ 5] 0.0-10.3 sec 6.25 MBytes 5.07 Mbits/sec </code></pre> <p>You know the 2 machines can connect to each other. However if you are seeing something like this:</p> <pre><code>Server listening on TCP port 5701 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ connect failed: No route to host </code></pre> <p>Then you know that you might have a network connection problem on your hands.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload