[Csync2] Re: Csync2 Digest, Vol 40, Issue 10

Prashant Ramhit prashant at bluebarracuda.com
Wed Jan 28 12:26:23 CET 2009


Hi Giedrius,

You can use 3 nodes.
And you must use the prefix declaration section where it defines the 
path of all the servers.

In the general section add
include %web_homedir%
include %data_homedir%

Ex.
prefix web_homedir
{
on node1: /opt/etc/httpd;
on node[23]: /etc/httpd;
}

Please read in the docs for more details.

Regards,
Prashant Ramhit



csync2-request at linbit.com wrote:
> Send Csync2 mailing list submissions to
> 	csync2 at lists.linbit.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.linbit.com/mailman/listinfo/csync2
> or, via email, send a message with subject or body 'help' to
> 	csync2-request at lists.linbit.com
>
> You can reach the person managing the list at
> 	csync2-owner at lists.linbit.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Csync2 digest..."
>
>
> Today's Topics:
>
>    1. csync2 question (Giedrius Augys)
>    2. Re: csync2 question (Giedrius Augys)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 28 Jan 2009 09:29:13 +0200
> From: Giedrius Augys <voipas at gmail.com>
> Subject: [Csync2] csync2 question
> To: csync2 at lists.linbit.com
> Message-ID:
> 	<72ec85430901272329p66b6cb4dp661b529fe52107cc at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
>   I'm newbie with csync2. So I want to ask, is it possible to that:
> I have three nodes: node1, node2, node3. node1 is master, others are slave.
> Now I want that files and directories would be synced like this:
>
> node1 -> node2
>     /opt/etc/httpd      -> /etc/httpd
>     /opt/var/lib/mysql -> /var/lib/mysql
>
> And..
> node1 -> node3
>     /opt/etc/httpd      -> /etc/httpd
>     /opt/var/lib/mysql -> /var/lib/mysql
>
> Of course I can do this, creating in node2 and node3 symbolic links:
>     /etc/httpd       -> /opt/etc/httpd
>     /var/lib/mysql  -> /opt/var/lib/mysql
>
> But maybe with csync2 I can do this without links??
> Thanks
>   




More information about the Csync2 mailing list