Page 1 of 1

Cluster master does not sync to slaves

Posted: 28 Jul 2023, 10:45
by cyonch
I have 3 servers, the master-server knows of the slaves, the slaves do not know about each other, but they do know about the master.

When i send a "csf -cd xxx.xxx.xxx.xxx" from one of the slaves, the master-server blocks the IP but does not sync it on the other slave.
How do i configure my servers, so that if i send a "csf -cd" from one slave to the master, the master then syncs it to the other slaves aswell?

Thanks in Advance.

Re: Cluster master does not sync to slaves

Posted: 19 Aug 2023, 09:49
by marcele
This is what works well for us. You have to tell the slaves to send to one another so the cluster config is the same across all of the slaves:

MASTER: 192.168.1.2
SLAVE1: 192.168.1.3
SLAVE2: 192.168.1.4

CLUSTER_SEND_TO: 192.168.1.3,192.168.1.4
CLUSTER_RECEIVE_FROM: 192.168.1.2,192.168.1.3,192.168.1.4
CLUSTER_MASTER: 192.168.1.2

The cluster master is hosting the support website so that's why we leave it out of CLUSTER_SEND_TO as we still want clients to be able to access support if they get blocked on one of the other servers.