My setting is as below:

#
# tcp_keepalive_intvl: The time (in seconds) between individual keepalive
# probes.
# Optional
DTM_TCP_KEEPALIVE_INTVL=1

#
# tcp_keepalive_probes: The  maximum number of keepalive probes TCP should
# send before dropping the connection.
# Optional
DTM_TCP_KEEPALIVE_PROBES=2

SO it needs two second for controller detect that payload has been shutdown? 
But in my test, this time is less than 2 second.

Thanks.

Ted 

-----Original Message-----
From: Hans Feldt [mailto:[email protected]] 
Sent: Monday, January 05, 2015 5:44 PM
To: Yao Cheng LIANG; praveen malviya; [email protected]
Subject: Re: [users] error detection time



On 01/05/2015 10:40 AM, Yao Cheng LIANG wrote:
> Thanks. But what I mean is not shutting down the controller node, but the 
> payload node? I think following step should go through:
> 1. payload shutdown
> 2. controller detected the lost of communication with this node?
> 3. Controller set another payload active?

Yes something like that, detection still based on link supervision (as 
described below)

>
> I guess in step 2, should be CLM server in the controller node detects loss 
> of communication and raises an event to AMF?

Sort of yes

>
> Thanks.
>
> Ted
>
> -----Original Message-----
> From: Hans Feldt [mailto:[email protected]]
> Sent: Monday, January 05, 2015 5:21 PM
> To: praveen malviya; Yao Cheng LIANG; 
> [email protected]
> Subject: Re: [users] error detection time
>
>
> On 01/05/2015 06:40 AM, praveen malviya wrote:
>>
>>
>> On 03-Jan-15 6:53 PM, Yao Cheng LIANG wrote:
>>> All,
>>>
>>> If I have two applications running on two payload with 1+1 
>>> protection, if I run “service opensaf stop” on active node, for how 
>>> long controller node will controller node detect this and initiate a 
>>> failover?
>
> The shutdown time for the active controller + controller link supervision 
> timeout (in TIPC mode:
> link tolerance timeout, in TCP mode: the keep alive configuration from 
> dtmd.conf)
>
> Ideally the AMF node of the active controller should be locked and MW AMF SI 
> swapped _before_ shutting the active controller down.
>
>>>
>> When opensaf shutdown is initiated, first assignments will be 
>> removed. After this all components will be cleaned up. when all 
>> components are cleaned up successfully, opensaf stop will complete and then 
>> active controller will initiate failover.
>>
>> Thanks, Praveen
>>> Thanks.
>>>
>>> Ted
>>>
>>> Sent from Windows Mail
>>>
>>> --------------------------------------------------------------------
>>> -
>>> --------- Dive into the World of Parallel Programming! The Go 
>>> Parallel Website, sponsored by Intel and developed in partnership 
>>> with Slashdot Media, is your hub for all things parallel software 
>>> development, from weekly thought leadership blogs to news, videos, 
>>> case studies, tutorials and more. Take a look and join the 
>>> conversation now. http://goparallel.sourceforge.net 
>>> _______________________________________________ Opensaf-users 
>>> mailing list [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/opensaf-users
>>>
>>
>> ---------------------------------------------------------------------
>> -
>> -------- Dive into the World of Parallel Programming! The Go Parallel 
>> Website, sponsored by Intel and developed in partnership with 
>> Slashdot Media, is your hub for all things parallel software 
>> development, from weekly thought leadership blogs to news, videos, 
>> case studies, tutorials and more. Take a look and join the conversation now.
>> http://goparallel.sourceforge.net
>> _______________________________________________ Opensaf-users mailing 
>> list [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensaf-users
>>
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to