Page 1 of 1

strange cluster behaviour

Posted: 23 Jun 2016, 14:45
by paulposition
Hi all
I've got a problem with csf cluster of my 3 servers: only one of them can succesfully ping others.
This is my cluster config:
server01 (192.168.10.141):
CLUSTER_SENDTO = "192.168.10.141,192.168.10.154,192.168.10.155"
CLUSTER_RECVFROM = "192.168.10.141,192.168.10.154,192.168.10.155"
CLUSTER_MASTER = "192.168.10.155"
CLUSTER_NAT = "xx.xx.xx.155"

server02 (192.168.10.154):
CLUSTER_SENDTO = "192.168.10.141,192.168.10.154,192.168.10.155"
CLUSTER_RECVFROM = "192.168.10.141,192.168.10.154,192.168.10.155"
CLUSTER_MASTER = "192.168.10.155"
CLUSTER_NAT = "xx.xx.xx.155"

server03 (192.168.10.155):
CLUSTER_SENDTO = "192.168.10.141,192.168.10.154,192.168.10.155"
CLUSTER_RECVFROM = "192.168.10.141,192.168.10.154,192.168.10.155"
CLUSTER_MASTER = "192.168.10.155"
CLUSTER_NAT = "xx.xx.xx.155"

server01 cluster ping:
Sent to 192.168.10.141
Sent to 192.168.10.154
Sent to 192.168.10.155

server02 cluster ping:
Cluster error connecting to 192.168.10.141: Connection timed out
Failed to connect to 192.168.10.141
Sent to 192.168.10.154
Cluster error connecting to 192.168.10.155: Connection timed out
Failed to connect to 192.168.10.155

server03 cluster ping:
Cluster error connecting to 192.168.10.141: Connection timed out
Failed to connect to 192.168.10.141
Cluster error connecting to 192.168.10.154: Connection timed out
Failed to connect to 192.168.10.154
Sent to 192.168.10.155

All servers are in the same lan and can see eachother.
I don't know where to look for debug
Some ideas?

thanks in advance
Paolo

Re: strange cluster behaviour

Posted: 23 Jun 2016, 16:13
by paulposition
I found the problem, additional ips on server02 and 03, seems that csf try to out command on that virtual nics.
configuring CLUSTER_LOCALADDR solved my problem
p.