No subject


Mon Aug 20 03:04:49 CEST 2012


> Maybe I could contribute somehow to the documentation for such a setup, a=
s I consider it to be a very common when one would use a private network fo=
r the heartbeat in a cluster. Don't really see a way to do that.
>
> Thanks again, really appreciate it.
> Vadim
>
> On Oct 22, 2012, at 10:34 PM, Michi Mutsuzaki wrote:
>
>> Hi Vadim,
>>
>> You can use IP addresses instead of hostnames in the config file. I
>> have a config file that looks like this:
>>
>> group mycluster
>> {
>>    host node1 at 10.34.109.122;
>>    host node2 at 10.34.95.104;
>>    host node3 at 10.34.92.114;
>>    key /etc/csync2.key_mycluster;
>>    include /mycluster;
>> }
>>
>> Note that node{1,2,3} are not DNS hostnames, but arbitrary names that
>> just need to be unique within the cluster. Then, you need to start the
>> servers using -N option:
>>
>> $ csync2 -i -N node1 # on 10.34.109.122
>> $ csync2 -i -N node2 # on 10.34.95.104
>> $ csync2 -i -N node3 # on 10.34.92.114
>>
>> Let me know if this solves your problem.
>>
>> Thanks!
>> --Michi
>>
>> On Mon, Oct 22, 2012 at 11:33 AM, Vadim Comanescu <vadim984 at gmail.com> w=
rote:
>>> Hello,
>>>
>>> I managed to compile and install csync2-1.34 on solaris for my latest p=
roject for synchronizing files in a heartbeat/pacemaker cluster.
>>> Now i'm faced with a very interesting situation, where the hostnames th=
at need to be synchronized are not resolved by dns since the communication =
between them is done through a separate network dedicated for the heartbeat=
. The problem I have that each time a node would join the cluster i would h=
ave to modify the hosts file on each node of the cluster so that csync2 wou=
ld be able to propagate the changed files to the new node.
>>> I would like to know what would be the main reason that all the definit=
ions of a host in the cfg file are made using its hostname and not the host=
's IP? Would it be possible for it to use the IP's?
>>>
>>> Vadim
>>> _______________________________________________
>>> Csync2 mailing list
>>> Csync2 at lists.linbit.com
>>> http://lists.linbit.com/mailman/listinfo/csync2
>


More information about the Csync2 mailing list