csf cluster config issues
Posted: 16 Mar 2020, 17:56
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.
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
If i try from 0.0.0.3 i get
Any ideas
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"
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]
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: []