Re: The heartbeat interval of corosync

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

 



On 12/03/2011 04:19 AM, cfk@xxxxxxxxxxx wrote:
> Dear all,
> 
>  
> 
> I use corosync 1.3.0 and pacemaker 1.0.10 as my HA usage.
> 
>  
> 
> It is my observation on wireshark that corosync do heartbeat task by
> sending UDP communication message each 190 ms.
> 
>  
> 
> I don’t see any configurable variable name target to this value in
> /etc/corosync/corosync.conf.
> 
>  
> 
> What shall I do if I want to change the interval?
> 
>  
> 
> Respectfully,
> 

The healthchecking parameter is "token".  Within token time period, if a
token is lost, a new configuration will form.

Since token is UDP and UDP is unreliable, we retransmit it several times
(token_retransmit).

This value is autogenerated by taking (token /
token_retransmits_before_loss_const) * 0.9 (if I recall correctly).
This is the 190 msec retransmit you see.

man corosync.conf for more details.

Regards
-steve


>  
> 
> Chia-Feng Kangs
> 
> CCMA/ ITRI/ TW
> 
> 本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,
> 並請銷毀此信件。
> This email may contain confidential information. Please do not use or
> disclose it in any way and delete it if you are not the intended recipient.
> 
> 
> _______________________________________________
> 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