[ClusterLabs] corosync-2.3.5 with ipv6 and multicast

Jan Friesse jfriesse at redhat.com
Wed Mar 30 09:43:03 UTC 2016


> Hi,
> Thanks for your confirmation, and I 've two questions:
>
> On 03/30/2016 05:11 PM, Jan Friesse wrote:
>>
>>> Hi, Honza
>>>        I want to use corosync-2.3.5 with ipv6 and multicast, and I see
>>> that I must specify nodeid in nodelist,
>>> but I also see  nodeid in totem from totemconfig.c. Are they the same?
>>
>> For given node it's same. Generally it's recommended to use nodelist
>> nodeid. It's better simply because you can then copy config file to
>> other nodes without changes.
>>
>> Also if you specify both, warning is logged and nodelist nodeid is used.
>>
>>> Can I specify the nodeid in totem
>>> instead of the on in nodelist.
>>
>> You can but as long as you don't have really good reason (really
>> dynamic cluster without knowledge of nodes beforehand) it's better to
>> use node list.
>>
> If I use node list with multicast, should I add all nodes to the node
> list? And if so, what's the difference between unicast and multicast in

It's better to add all nodes to node list (even it's probably going to 
work (somehow) without them).

> this case except the sock addr?

Multicast should be more effective. I'm unsure what you mean by sock 
addr. If you mean mcastaddr, it's not needed if you set cluster_name and 
completely remove interface section (AFAIK pcs generated config use this 
style).

Regards,
   Honza

>
>> Regards,
>>   Honza
>>
>>>
>>> Thanks
>>> Bin Liu
>>>
>>> _______________________________________________
>>> Users mailing list: Users at clusterlabs.org
>>> http://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://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://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