I have 3 servers which I want to put into a csf cluster. I tested it with 2 servers but got errors.
This is how I install & configured csf cluster:
I just downloaded and installed csf using a tutorial
Then I added these changes to the default config:
Server 1 (192.168.1.1)
Code: Select all
TESTING = "0"
CLUSTER_SENDTO = "192.168.1.2"
CLUSTER_RECVFROM = "192.168.1.2"
CLUSTER_MASTER = "192.168.1.1"
CLUSTER_PORT = "7777"
CLUSTER_KEY = "01234567890123456789012345678901234567890123456789012345"
CLUSTER_BLOCK = "1"
Code: Select all
TESTING = "0"
CLUSTER_SENDTO = "192.168.1.1"
CLUSTER_RECVFROM = "192.168.1.1"
CLUSTER_MASTER = "192.168.1.1"
CLUSTER_PORT = "7777"
CLUSTER_KEY = "01234567890123456789012345678901234567890123456789012345"
CLUSTER_BLOCK = "1"
Then when I test the cluster using csf --cping on server 2 I get:
Code: Select all
Cluster error connecting to 192.168.1.1: Connection refused
Failed to connect to 192.168.1.1