[Csync2] Problems with config
Lorenzo Milesi
maxxer at ufficyo.com
Fri Nov 9 13:18:43 CET 2012
Hi
I've created this config:
# please see the REAMDE file how to configure csync2
group gv {
host gvsrv01 gvsrv02;
key /etc/csync2.key;
include /etc/hosts;
include /etc/exports;
include /etc/ldap.*;
include /etc/pam.d;
include /etc/apt;
include /etc/drbd.d;
include /etc/apache2;
include /etc/dnsmasq.d;
include /etc/corosync;
include /etc/cups;
include /etc/hylafax;
include /etc/mysql;
include /etc/samba;
exclude *~;
backup-directory /var/backups/csync2;
backup-generations 3;
}
gvsrv02 is actually the "master" holding latest config files.
on gvsrv01 i removed and reinstalled drbd, so I wanted to update config, but if I run csync -xv on gvsrv02 the file /etc/drbd.d/global_common.conf IS NOT updated. Full debug attached.
Match (+): /etc/drbd.d on /etc/drbd.d
Checking /etc/drbd.d.
SQL: SELECT checktxt FROM file WHERE filename = '/etc/drbd.d'
SQL Query finished.
Checking /etc/drbd.d/* ..
Match (+): /etc/drbd.d on /etc/drbd.d/global_common.conf
Checking /etc/drbd.d/global_common.conf.
SQL: SELECT checktxt FROM file WHERE filename = '/etc/drbd.d/global_common.conf'
SQL Query finished.
Match (+): /etc/drbd.d on /etc/drbd.d/drbddati.res
Checking /etc/drbd.d/drbddati.res.
SQL: SELECT checktxt FROM file WHERE filename = '/etc/drbd.d/drbddati.res'
SQL Query finished.
Don't check at all: /etc/drbd.conf
Also, why is it scanning the WHOLE filesystem from /, even if config has specific files to sync?
thanks
--
Lorenzo Milesi - lorenzo.milesi at yetopen.it
GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: csynclog.gz
Type: application/x-gzip
Size: 8132 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20121109/e117715b/attachment.bin>
More information about the Csync2
mailing list