stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Re: Information received in Health stat topic
Date Sat, 23 Nov 2013 03:56:26 GMT
Hi Luca,


On Sat, Nov 23, 2013 at 6:55 AM, Luca Martini <lmartini@cisco.com> wrote:

> Reka,
> I believe that we need health checking to be a separate function from the
> load monitoring. We need to detect crashes and restarts. This function can
> be handled by the same agent, but the architecture need to allow it to be
> separate.
>

Yes, the idea is to have separate modules for each functionality (load
monitoring, health status.. etc.) that Agent does.


> Luca
>
>
> Reka Thirunavukkarasu <reka@wso2.com> wrote:
>>
>> Hi Manula,
>>
>> As part of sending the health of an VM to CEP, are we sending the health
>> of the process like whether it is up or not to CEP? This is obviously a
>> fault handling scenario.
>>
>> @Lahiru
>>
>> Do we have a plan on how to handle this particular scenario? If we are to
>> send periodic updates from VM on it's process status like port up or not,
>> then we need to generalize the protocol to check the port rather than just
>> checking the http or https port's status only.
>>
>> Thanks,
>> Reka
>>
>> On Fri, Nov 22, 2013 at 2:52 AM, Lahiru Sandaruwan <lahirus@wso2.com>wrote:
>>
>>>
>>>
>>>
>>> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
>>> manulac@wso2.com> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> Thanks for the update. We can find used memory / total memory from the
>>>> health checker module and send those values to CEP. From CEP side we can
>>>> find avarage, gradient and second derivative of memory consumption.
>>>>
>>>
>>> Great, that would do.
>>>
>>> Thanks.
>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <lahirus@wso2.com>wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>>>> manulac@wso2.com> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> What do you mean by combine the Total memory and Used memory ?
>>>>>>
>>>>>
>>>>> It is Used Memory as a fraction of Total memory. We better use the
>>>>> percentage as it will give some nice numbers...
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>>>>> manulac@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <lahirus@wso2.com
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Manula,
>>>>>>>>
>>>>>>>> Sorry for my late feedback.
>>>>>>>>
>>>>>>>> Is it possible to combine the Total memory and Used memory
and send
>>>>>>>> the "Memory consumption" average, gradient, and SD from CEP
side.
>>>>>>>>
>>>>>>>> Because what Autoscaler is interested in is that.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte
<
>>>>>>>> manulac@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Lahiru,
>>>>>>>>>
>>>>>>>>> Yes, those values are same like average, gradient, and
second
>>>>>>>>> derivative.
>>>>>>>>>
>>>>>>>>> Events are,
>>>>>>>>>
>>>>>>>>> average-total-memory
>>>>>>>>> average-load-average
>>>>>>>>> average-used-memory
>>>>>>>>>
>>>>>>>>> gradient-total-memory
>>>>>>>>> gradient-load-average
>>>>>>>>> gradient-used-memory
>>>>>>>>>
>>>>>>>>> second-derivative-total-memory-stats
>>>>>>>>> second-derivative-used-memory-stats
>>>>>>>>> second-derivative-load-average-stats
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Manula,
>>>>>>>>>>
>>>>>>>>>> Can you please share the events that would be emitted
from Event
>>>>>>>>>> Processing Engine to health stat topic?
>>>>>>>>>> I'm aware that LB statistic average, gradient, and
second
>>>>>>>>>> derivative are there.
>>>>>>>>>>
>>>>>>>>>> What about CPU load and memory consumption, will
they be same
>>>>>>>>>> values like average, gradient, and second derivative?
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> Lahiru Sandaruwan
>>>>>>>>>> Software Engineer,
>>>>>>>>>> Platform Technologies,
>>>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>
>>>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>>>> linked-in:
>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Regards,
>>>>>>>>> Manula Chathurika Thantriwatte
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>
>>>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>>>> phone : +94 772492511
>>>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> Lahiru Sandaruwan
>>>>>> Software Engineer,
>>>>>> Platform Technologies,
>>>>>> WSO2 Inc., http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>> twitter: http://twitter.com/lahirus
>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : manulac@wso2.com / manula@apache.org
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>>
>>
> --
> Sent from my Aphone with K-9 Mail. Please excuse my brevity.
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Mime
View raw message