Page 1 of 1

Cluster - All settings

Posted: 10 Dec 2016, 17:42
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 ?

Re: Cluster - All settings

Posted: 11 Dec 2016, 22:55
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!

Re: Cluster - All settings

Posted: 16 Dec 2016, 13:24
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