Page 1 of 1

CSF cluster

Posted: 05 Nov 2014, 23:15
by rpr
Hi,

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"
Server 2 (192.168.1.2)

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
What did I do wrong?

Re: CSF cluster

Posted: 12 Oct 2015, 23:33
by zmjwong
i've found that the most common issue is that LFD doesn't restart as expected.
you can do a /etc/init.d/lfd restart or csf -ra on newer versions.