Cluster - All settings

Post Reply
NesooseN
Junior Member
Posts: 4
Joined: 10 Dec 2016, 17:38

Cluster - All settings

Post by NesooseN »

Hi, can anybody clarify me will Cluster setup copy all settings from master server, or it is only for blocked/allowed IPs. Because I have large amount of servers and setup manual of CSF for every server and changing something is really slow ?
Rocketman
Junior Member
Posts: 2
Joined: 11 Dec 2016, 15:05

Re: Cluster - All settings

Post by Rocketman »

From what I understand it only shares the blocked/allowed IPs.

What I do is simply SSH to my master server and copy files across with sftp (Good for when adding a new server).

eg:
To copy:
cd /etc/csf/
sftp user@111.222.333.444 (Your user and IP)
get /etc/csf/csf.deny
get /etc/csf/csf.ignore
get /etc/csf/csf.pignore
get /etc/csf/csf.allow
get /etc/csf/csf.conf
quit

Maybe you will want extra config files but these work for me and at least sets it up the first time.

Keeping it all in sync is another matter. Maybe you could use Webmin or something to cluster the servers and keep things in sync - Having said that you could probably use webmin to sync ALL of your servers with your base settings by copying a 'local file' from the master server to all of your clustered servers!
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

Re: Cluster - All settings

Post by marcele »

LFD clustering fully supports sending configuration changes to other servers (if you allow it).

Code: Select all

csf -cc [name] [value]
Change configuration option [name] to [value] in a Cluster
Post Reply