Re: Does Corosync support to use unicast for nodes heartbaet?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Emre,
cool. And yes, new enough release is needed. I would also recommend you
to update to newest release (1.4.6/2.3.2) because there are multiple
fixed bugs.

Regards,
  Honza

Emre He napsal(a):
> Hi all,
> 
> after i upgrade Corosync to version 1.4.1, it succeed.
> 
> thanks,
> Emre
> 
> 
> 2013/10/11 Emre He <emre.he@xxxxxxxxx>
> 
>> Hi Jan,
>>
>> I tried to setup 1 cluster with 3 nodes to test the
>> unicast(udpu)configuration:
>>
>> totem {
>>     version: 2
>>     token: 3000
>>     token_retransmits_before_loss_const: 10
>>     secauth: off
>>     threads: 0
>>     interface {
>>                 member {
>>                         memberaddr: 10.x.x.1
>>                 }
>>                 member {
>>                         memberaddr: 10.x.x.2
>>                 }
>>                 member {
>>                         memberaddr: 172.x.x.1
>>                 }
>>         ringnumber: 0
>>         bindnetaddr: <node ip>
>>         mcastaddr: 226.94.1.1
>>         mcastport: 5405
>>         ttl: 100
>>     }
>>     transport: udpu
>> }
>>
>> basically i followed below example for "udpu":
>>
>> https://github.com/fghaas/corosync/blob/master/conf/corosync.conf.example.udpu
>>
>> but it failed because Corosync need to add "mcastaddr" attribute.
>>
>> Aafter add "mcastaddr" with value " 226.94.1.1", the nodes which in the
>> sam subnetwork: 10.x.x.1, 10.x.x.2 can show up in the "crm status", but the
>> node 172.x.x.1 cannot join this cluster.
>> btw: i tried to set ttl to 1 and 100, all failed.
>>
>> any clue about it?
>>
>> thanks,
>> Emre
>>
>>
>> 2013/10/7 Jan Friesse <jfriesse@xxxxxxxxxx>
>>
>>> Emre,
>>> different subnets works without any problem as long as you set proper
>>> ttl (man corosync.conf / ttl).
>>>
>>> Heartbeat is integral part of totem protocol so there is nothing like
>>> separated heartbeat and transport protocol. Just use transport key
>>> (udp/udpu).
>>>
>>> Regards,
>>>   Honza
>>>
>>> Emre He napsal(a):
>>>> Hi,
>>>>
>>>> i want to know if Corosync support unicast for cluster nodes heartbeat
>>> in
>>>> different sub-network? i google and found some pages said we can use
>>> below
>>>> configuration for unicast:
>>>>
>>> https://github.com/fghaas/corosync/blob/master/conf/corosync.conf.example.udpu
>>>>
>>>> but i cannot find any info about heartbeat styles: unicast or multicast
>>> or
>>>> broadcast on Corosync official wiki pages, where could i find this
>>> official
>>>> info?
>>>>
>>>> thanks,
>>>> Emre
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> discuss mailing list
>>>> discuss@xxxxxxxxxxxx
>>>> http://lists.corosync.org/mailman/listinfo/discuss
>>>>
>>>
>>>
>>
> 

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux