Re: [ClusterLabs] Sync Apache config files
Thank you all. Done with csync2. Frank > Am 14.03.2017 um 01:33 schrieb Victor José Acosta Domínguez >: > > You have many options to do that: > - lsyncd+csync2/rsync > - cron+rsync > - glusterfs replicated f's > > Lsyncd + csync2 is a good option if you need near to real time replication > > Cron + rsync is a good option for scheduled replication > > Glusterfs is good for real time replication > For 2+ nodes > > Regards > > > > El mar. 13, 2017 3:30 PM, "Dimitri Maziuk" escribió: > On 03/13/2017 12:38 PM, Frank Fiene wrote: > > Hmm, Puppet is also a good idea. Thanks. > > > > I haven’t tried because we have not so many Linux servers. Just a handful. > > It depends on how much data there is and what the update model is. For > larger datasets zfs incremental snapshots work best IME, although on our > two-node active/passive pairs I haven't had any problems with DRBD > either -- as long as it's not exported via nfs on centos > 7/corosync/pacemaker. > > -- > Dimitri Maziuk > Programmer/sysadmin > BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu > > > ___ > Users mailing list: Users@clusterlabs.org > http://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > > ___ > Users mailing list: Users@clusterlabs.org > http://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org Viele Grüße! i.A. Frank Fiene -- Frank Fiene IT-Security Manager VEKA Group Fon: +49 2526 29-6200 Fax: +49 2526 29-16-6200 mailto: ffi...@veka.com http://www.veka.com PGP-ID: 62112A51 PGP-Fingerprint: 7E12 D61B 40F0 212D 5A55 765D 2A3B B29B 6211 2A51 Threema: VZK5NDWW VEKA AG Dieselstr. 8 48324 Sendenhorst Deutschland/Germany Vorstand/Executive Board: Andreas Hartleif (Vorsitzender/CEO), Dr. Andreas W. Hillebrand, Bonifatius Eichwald, Elke Hartleif, Dr. Werner Schuler, Vorsitzender des Aufsichtsrates/Chairman of Supervisory Board: Ulrich Weimer HRB 8282 AG Münster/District Court of Münster ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] Sync Apache config files
You have many options to do that: - lsyncd+csync2/rsync - cron+rsync - glusterfs replicated f's Lsyncd + csync2 is a good option if you need near to real time replication Cron + rsync is a good option for scheduled replication Glusterfs is good for real time replication For 2+ nodes Regards El mar. 13, 2017 3:30 PM, "Dimitri Maziuk"escribió: > On 03/13/2017 12:38 PM, Frank Fiene wrote: > > Hmm, Puppet is also a good idea. Thanks. > > > > I haven’t tried because we have not so many Linux servers. Just a > handful. > > It depends on how much data there is and what the update model is. For > larger datasets zfs incremental snapshots work best IME, although on our > two-node active/passive pairs I haven't had any problems with DRBD > either -- as long as it's not exported via nfs on centos > 7/corosync/pacemaker. > > -- > Dimitri Maziuk > Programmer/sysadmin > BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu > > > ___ > Users mailing list: Users@clusterlabs.org > http://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > > ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] Sync Apache config files
On 03/13/2017 12:38 PM, Frank Fiene wrote: > Hmm, Puppet is also a good idea. Thanks. > > I haven’t tried because we have not so many Linux servers. Just a handful. It depends on how much data there is and what the update model is. For larger datasets zfs incremental snapshots work best IME, although on our two-node active/passive pairs I haven't had any problems with DRBD either -- as long as it's not exported via nfs on centos 7/corosync/pacemaker. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu signature.asc Description: OpenPGP digital signature ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] Sync Apache config files
Hmm, Puppet is also a good idea. Thanks. I haven’t tried because we have not so many Linux servers. Just a handful. Cheers -- Frank Fiene IT-Security Manager VEKA Group Fon: +49 2526 29-6200 Fax: +49 2526 29-16-6200 mailto: ffi...@veka.com http://www.veka.com PGP-ID: 62112A51 PGP-Fingerprint: 7E12 D61B 40F0 212D 5A55 765D 2A3B B29B 6211 2A51 Threema: VZK5NDWW VEKA AG Dieselstr. 8 48324 Sendenhorst Deutschland/Germany Vorstand/Executive Board: Andreas Hartleif (Vorsitzender/CEO), Dr. Andreas W. Hillebrand, Bonifatius Eichwald, Elke Hartleif, Dr. Werner Schuler, Vorsitzender des Aufsichtsrates/Chairman of Supervisory Board: Ulrich Weimer HRB 8282 AG Münster/District Court of Münster > Am 13.03.2017 um 18:15 schrieb Dimitri Maziuk: > > On 03/13/2017 06:02 AM, Frank Fiene wrote: >> Hi, >> >> one short beginner question: >> >> Is it possible to sync for instance Apache sites-available directory > across all cluster members without DRBD etc? > > Short beginner answer: yes. > >> Can pcsd do this? > > No. > > There's any number of ways to do it but pcs is not one of them. > Automation solutions like chef or puppet can do it (saltstack has an > event-reactor system that can make it transparent, don't know about > others), you could put it on zfs and clone snapshots, syncthing, rsync, > and so on. > -- > Dimitri Maziuk > Programmer/sysadmin > BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu > > ___ > Users mailing list: Users@clusterlabs.org > http://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] Sync Apache config files
On 03/13/2017 06:02 AM, Frank Fiene wrote: > Hi, > > one short beginner question: > > Is it possible to sync for instance Apache sites-available directory across all cluster members without DRBD etc? Short beginner answer: yes. > Can pcsd do this? No. There's any number of ways to do it but pcs is not one of them. Automation solutions like chef or puppet can do it (saltstack has an event-reactor system that can make it transparent, don't know about others), you could put it on zfs and clone snapshots, syncthing, rsync, and so on. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu signature.asc Description: OpenPGP digital signature ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] Sync Apache config files
Hi, As far as I know pcsd has no such functionality. This is possible using Cluster Sync tool csync2 http://oss.linbit.com/csync2/. On 13/03/17 13:02, Frank Fiene wrote: Hi, one short beginner question: Is it possible to sync for instance Apache sites-available directory across all cluster members without DRBD etc? Can pcsd do this? Kind Regards! Frank — Frank Fiene IT-Security Manager VEKA Group Fon: +49 2526 29-6200 Fax: +49 2526 29-16-6200 mailto: ffi...@veka.com http://www.veka.com PGP-ID: 62112A51 PGP-Fingerprint: 7E12 D61B 40F0 212D 5A55 765D 2A3B B29B 6211 2A51 Threema: VZK5NDWW VEKA AG Dieselstr. 8 48324 Sendenhorst Deutschland/Germany Vorstand/Executive Board: Andreas Hartleif (Vorsitzender/CEO), Dr. Andreas W. Hillebrand, Bonifatius Eichwald, Elke Hartleif, Dr. Werner Schuler, Vorsitzender des Aufsichtsrates/Chairman of Supervisory Board: Ulrich Weimer HRB 8282 AG Münster/District Court of Münster ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org -- Regards Denis Gribkov smime.p7s Description: S/MIME Cryptographic Signature ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org