Re: [Csync2] Query on Initializing the file table for csync2 database

2021-04-11 Thread Lars Ellenberg
On Wed, Feb 03, 2021 at 08:00:59AM +, Ganesh Jayaraman wrote: > Hi Team, > > This is Ganesh Jayaraman from Gigamon. We use csync2 for synchronising files > across group of hosts in a cluster. > > Members to the group will be added sequentially and we need to do the sync > whenever we add a

Re: [Csync2] How does Csync2 decide whether "Identification failed!" [Was: Again CSync2, VPN, strangeness...]

2020-06-25 Thread Lars Ellenberg
On Tue, Jun 23, 2020 at 01:07:54PM +0200, Marco Gaiarin wrote: > > > What i'm missing? Thanks. > > No, sorry, but there's something in the csync2 logic that realy i don't > understand. > > As stated in previous email, i was used to update some files via > csync2, using my portable PC at work.

Re: [Csync2] Dynamic master ip...

2020-03-23 Thread Lars Ellenberg
On Mon, Mar 23, 2020 at 11:57:11AM +0100, Marco Gaiarin wrote: > > In this time of Coronavirus, i've switched to 'smart working'. > > I've setup a set of csync2 config file to propagate some sets of config > files to a bunch of servers. Eg: > > host hermi...@hermione.sv.lnf.it; > >

Re: [Csync2] Official page moved to github?

2018-12-13 Thread Lars Ellenberg
Yes, we moved all public git repositories that used to be hosted on git.linbit.com over to github.com/LINBIT/ (and some more). And dropped the ugly "index" of their tarballs that used to be oss.linbit.com. Lars ___ Csync2 mailing list

Re: [Csync2] hot add/remove/maintenance host

2017-12-29 Thread Lars Ellenberg
On Wed, Dec 27, 2017 at 01:43:53PM -0800, E-Blokos wrote: > On 12/25/2017 5:34 AM, Lars Ellenberg wrote: > >On Sat, Dec 23, 2017 at 03:38:20AM -0800, E-Blokos wrote: > > > > > > is there any API/CLI command to put a host in maintenance/add/remove > > >

Re: [Csync2] hot add/remove/maintenance host

2017-12-25 Thread Lars Ellenberg
On Sat, Dec 23, 2017 at 03:38:20AM -0800, E-Blokos wrote: > Hello, > > is there any API/CLI command to put a host in maintenance/add/remove > as hot plug? I'm not sure I understand what you mean by that. But as every help text and man page says: Csync2 will refuse to do anything when a

Re: [Csync2] Issues with synced git clones

2017-12-25 Thread Lars Ellenberg
On Thu, Dec 21, 2017 at 02:43:58AM +0100, Dominik George wrote: > What happends is hard to describe, but it looks like the git index gets > broken. The effect is that all nodes in the cluster end up with a broken > state, namely with a lot of untracked files in the repository. Which should be

Re: [Csync2] Issues with synced git clones

2017-12-21 Thread Lars Ellenberg
On Thu, Dec 21, 2017 at 02:43:58AM +0100, Dominik George wrote: > Hi, > > we are having strange issues with syncing directories containing clones > of git repositories. We were using unison before, and it suspiciously > showed the same issues… > > What happends is hard to describe, but it looks

Re: [Csync2] csync_check_del broken under PostgreSQL

2017-10-31 Thread Lars Ellenberg
On Fri, Oct 27, 2017 at 11:00:14PM +0100, James Le Cuirot wrote: > On Mon, 23 Oct 2017 13:23:51 +0200 > Lars Ellenberg <lars.ellenb...@linbit.com> wrote: > > My locale and collation is entirely en_GB.UTF-8. > > afaik, = < > compare "collate charac

Re: [Csync2] Always marking file as dirty

2017-10-27 Thread Lars Ellenberg
he data base? Tried to run with "LC_ALL=C"? Or whatever else is necessary to tell your data base backend that this is supposed to be a "binary", case sensitive, collation? -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync

Re: [Csync2] csync_check_del broken under PostgreSQL

2017-10-23 Thread Lars Ellenberg
ith mysql or postgres, so it is very likely that there are a number of shortcomings burried in there, I'd expect "very long path names" to show problems as well, where "very long" may be simply "longer than the default supported unique key length on text

Re: [Csync2] 2-node masters and root-owned files

2017-08-15 Thread Lars Ellenberg
On Mon, Aug 14, 2017 at 07:00:23AM +0400, Vadim Abdulayev wrote: > Hello. When replying to digests, please change the subject appropriately. (Digest mode on a list that is so low volume as this one is not useful anyways, really.) > All command executed on node1. > > After resync i receive wrong

Re: [Csync2] 2-node masters and root-owned files

2017-08-08 Thread Lars Ellenberg
On Tue, Aug 08, 2017 at 11:04:49AM +1000, Aristedes Maniatis wrote: > On 8/8/17 10:06AM, Lars Ellenberg wrote: > > but in this case, until proven otherwise, > > I suspect you have some git command on the other node > > running as root, and updating the index file there. >

Re: [Csync2] 2-node masters and root-owned files

2017-08-07 Thread Lars Ellenberg
nection closed. > Finished with 0 errors. and to csync2 the sync looks as if it was ok. debug level logs and maybe even strace from the "receiving" side would be interesting. but in this case, until proven otherwise, I suspect you have some git command on the other node running as ro

Re: [Csync2] 3-node masters and root-owned files

2017-08-07 Thread Lars Ellenberg
On Wed, Aug 02, 2017 at 08:58:05PM -0500, Kevin Cackler wrote: > For those of you guys who are experiencing this issue: I noticed tonight, > after this happened yet again, that one of my files was owned by UID 1012 on > node3. The problem is that that uid does not exist on node3. That uid DOES >

Re: [Csync2] Issue with the auto-backup feature. A bug?

2016-05-02 Thread Lars Ellenberg
in some cases. This optional "debug" logging of csync2 is badly grown $swearword_of_choice; actually fixing that might take some time. -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync -- Pacemaker : R, Integration, Ops, Consulting

Re: [Csync2] ipv6 problems

2016-04-27 Thread Lars Ellenberg
On Wed, Apr 27, 2016 at 06:49:21PM +1000, Aristedes Maniatis wrote: > On 27/04/2016 11:45am, Aristedes Maniatis wrote: > > On 19/04/2016 9:14pm, Lars Ellenberg wrote: > >> I don't think so. > >> It's supposed to bind to something that is suitable for *both* IPv6 and

Re: [Csync2] [patch] document -N

2016-04-27 Thread Lars Ellenberg
On Wed, Apr 27, 2016 at 11:43:35AM +1000, Aristedes Maniatis wrote: > Lars Ellenberg wrote: > > > You do realize that there is a git beyond github? > > Yes. I and I know you are only joking. But there are big advantages IMO to > using github. Everyone expects you to be ther

Re: [Csync2] ipv6 problems

2016-04-20 Thread Lars Ellenberg
On Wed, Apr 20, 2016 at 04:28:26PM +1000, Aristedes Maniatis wrote: > On 19/04/2016 9:14pm, Lars Ellenberg wrote: > > You can tell it to bind to "-N your.node.name". > > If not specified, it will use the "any" address > > (pass a NULL node to getaddrinfo)

Re: [Csync2] Csync -M doesn't work as espected

2015-11-23 Thread Lars Ellenberg
notice: alice.demo# csync2 -cvr / Marking file as dirty: /csync2/demo/something ask it again: alice.demo# csync2 -M chary alice.demo bob.demo/csync2/demo/something works as expected (for me). What did you expect? -- : Lars Ellenberg : http://www.LINBIT.com | Your Way to High Ava

Re: [Csync2] Younger/older test tied

2015-11-02 Thread Lars Ellenberg
nger" would be changed to "younger", but if same time stamp, "first" (the guy who first called csync2 --update wins) maybe that should be made explicit, though, rather than implicitly by only changing less-than to less-than-or-equal. At least it deserves some chang

Re: [Csync2] Patchwork to running on musl libc and some cleanups

2015-10-12 Thread Lars Ellenberg
it here. Best place to send patches for csync2. Thanks, looks innocent enough ;-) > - xxprintf(":type=reg:size=%Ld", (long long)st->st_size); > + xxprintf(":type=reg:size=%lld", (long long)st->st_size); Cheers, -- : Lars Ellenberg :

Re: [Csync2] Logfile Issues

2015-09-28 Thread Lars Ellenberg
. > > Any help would be greatly appreciated. If you want csync2 to log what it does, you have to increase its "verbosity" (add -v...), and possibly tell it to use syslog. it usually should redirect to syslog anyways, if it detects that it has no tty. -- : Lars Ellenberg : http:

Re: [Csync2] prefix works except when file is specified

2014-07-10 Thread Lars Ellenberg
On Thu, Jul 10, 2014 at 01:53:20AM -0400, dlo wrote: Lars- I see it's not so far off, but definitely not a drop-in replacement (already ran into some problems). It worries me to make so many changes to a system that's been working so well for so long... is there really no hope for getting

[Csync2] How to contribute to csync2 [Was: Using Csync2 when hosts are not resolved by dns]

2012-10-27 Thread Lars Ellenberg
format-patch -k origin/master and then attaching the generated diffs to some email yourself. or by git send-email --dry-run --to csync2@lists.linbit.com origin/master (leave off the dry-run, if that in fact did what you intended) Thanks, Lars -- : Lars Ellenberg : LINBIT | Your Way