-
-
Notifications
You must be signed in to change notification settings - Fork 30
Description
I remember this being fussy the last time I set up a CSF cluster, but unfortunately, I didn't think to document how I fixed it and I'm running into the cluster members not communicating.
Context:
I have a group of servers (well, proxmox vms) set up as follow:
38.143.59.195 | azalin.toud.pw
38.143.59.196 | ezra.toud.pw
38.143.59.197 | nwsync.toud.pw
38.143.59.198 | www.toud.pw
38.143.59.199 | wiki.toud.pw
38.143.59.200 | git.toud.pw
38.143.59.201 | chat.toud.pw
38.143.59.202 | forums.toud.pw
The forums get the most web traffic, particularly for bots, so I set it as the master.
My configuration on all nodes is as follows:
CLUSTER_SENDTO = "38.143.59.194,38.143.59.195,38.143.59.196,38.143.59.197,38.143.59.198,38.143.59.199,38.143.59.200,38.143.59.201"
CLUSTER_RECVFROM = "38.143.59.194,38.143.59.195,38.143.59.196,38.143.59.197,38.143.59.198,38.143.59.199,38.143.59.200,38.143.59.201"
CLUSTER_MASTER = "38.143.59.202"
CLUSTER_NAT = ""
CLUSTER_LOCALADDR = ""
CLUSTER_PORT = "7777"
(this is from the 202 master, it obviously isn't sending to itself)
I ensured the cluster_key is identical though I have not included it for security reasons
I can ping the servers normally, so the routes are reachable:
root@nwsync:~# ping 38.143.59.202
PING 38.143.59.202 (38.143.59.202) 56(84) bytes of data.
64 bytes from 38.143.59.202: icmp_seq=1 ttl=64 time=0.391 ms
64 bytes from 38.143.59.202: icmp_seq=2 ttl=64 time=0.268 ms
64 bytes from 38.143.59.202: icmp_seq=3 ttl=64 time=0.477 ms
However cluster ping fails:
Cluster error connecting to 38.143.59.202: Connection refused
Failed to connect to 38.143.59.202
Thinking perhaps the port was not being opened properly by CSF, I added 7777 to the list of ports on ipv4 and 6, in and out, but that didn't seem to change anything.
I tried setting NAT and LOCALADDR to the local address but that didn't affect anything either.
Any idea what might be up?
- May
Metadata
Metadata
Assignees
Labels
Projects
Status