[ClusterLabs] how to sync data using cmap between cluster

Jan Friesse jfriesse at redhat.com
Fri May 26 02:36:57 EDT 2017


> ok, but why the node status(left, join) can be sync to other node in
> the cluster by CMAP? thanks!

It is not synced by cmap. Node status is essential property of totem 
protocol and it is just stored into local cmap mostly for 
diagnostics/monitoring. Also they are not so much in sync. You can try 
to create two node cluster, block traffic on one of the node and you 
will get node A which sees node B as a left and node B which see node A 
as left.

Honza

>
> On Thu, May 25, 2017 at 11:26 PM, Christine Caulfield
> <ccaulfie at redhat.com> wrote:
>> On 25/05/17 15:48, Rui Feng wrote:
>>> Hi,
>>>
>>>    I have a test based on corosync 2.3.4, and find the data stored by
>>> cmap( corosync-cmapctl -s test i8 1) which can't be sync to other
>>> node.
>>>    Could somebody give some comment or solution for it, thanks!
>>>
>>>
>>
>> cmap isn't replicated across the cluster. If you need data replication
>> then you'll have to use some other method.
>>
>> Chrissie
>>
>> _______________________________________________
>> Users mailing list: Users at 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 at 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
>





More information about the Users mailing list