csf cluster config issues

Post Reply
solidblueliquid
Junior Member
Posts: 8
Joined: 12 Nov 2018, 09:46

csf cluster config issues

Post by solidblueliquid »

Hi Everyone,

I'm trying to configure CSF to cluster 3 servers, I want server 1 to be the master and then the other two servers to share information.

Code: Select all

###############################################################################
# lfd Clustering. This allows the configuration of an lfd cluster environment
# where a group of servers can share blocks and configuration option changes.
# Included are CLI and UI options to send requests to the cluster.
#
# See the readme.txt file for more information and details on setup and
# security risks.
#
# Set this to a comma separated list of cluster member IP addresses to send
# requests to. Alternatively, it can be set to the full path of a file that
# will read in one IP per line, e.g.:
# "/etc/csf/cluster_sendto.txt"
CLUSTER_SENDTO = "0.0.0.1,0.0.0.2,0.0.0.3"

# Set this to a comma separated list of cluster member IP addresses to receive
# requests from. Alternatively, it can be set to the full path of a file that
# will read in one IP per line, e.g.:
# "/etc/csf/cluster_recvfrom.txt"
CLUSTER_RECVFROM = "0.0.0.1,0.0.0.2,0.0.0.3"

# IP address of the master node in the cluster allowed to send CLUSTER_CONFIG
# changes
CLUSTER_MASTER = "0.0.0.1"

# If this is a NAT server, set this to the public IP address of this server
CLUSTER_NAT = ""

# If a cluster member should send requests on an IP other than the default IP,
# set it here
CLUSTER_LOCALADDR = ""

# Cluster communication port (must be the same on all member servers). There
# is no need to open this port in the firewall as csf will automatically add
# in and out bound rules to allow communication between cluster members
CLUSTER_PORT = "7777"

# This is a secret key used to encrypt cluster communications using the
# Blowfish algorithm. It should be between 8 and 56 characters long,
# preferably > 20 random characters
# 56 chars:    01234567890123456789012345678901234567890123456789012345
CLUSTER_KEY = "mykey"

i've changed the IP addresses fr protection and the cluster key but they are identical across the three servers... if i do a cluster ping from the master i get

Code: Select all

Sent request to 0.0.0.1, replied: [Received]
Cluster error connecting to 0.0.0.2: Connection refused
Failed to connect to 0.0.0.2
Sent request to 0.0.0.3, replied: [Received]
If i try from 0.0.0.3 i get

Code: Select all

Cluster error connecting to 0.0.0.1: Connection refused
Failed to connect to 0.0.0.1
Cluster error connecting to 0.0.0.2: Connection refused
Failed to connect to 0.0.0.2
Sent request to 0.0.0.3, replied: []
Any ideas

Post Reply