On Mon, Jun 17, 2013 at 4:46 PM, Supun Malinga <[email protected]> wrote:

>
>
>
> On Mon, Jun 17, 2013 at 4:14 PM, Dharshana Warusavitharana <
> [email protected]> wrote:
>
>> Hi All,
>>
>> Are we still depending on KeepAlived. Keepalived apprach is good but need
>> to add a substitute for curl. I thing wget is much appropriate than curl.
>>
>
> Yeah.
>
> Had a chat with Chamith.
>
> We can use,
>  *wget --server-response http://localhost:8280/services/EchoProxy  2>&1*
>
> Updated script would be,
> #!/bin/bash
> CODE=`wget --server-response http://localhost:8280/services/EchoProxy2>&1 | 
> awk '/^  HTTP/{print $2}'`;
> [ ${CODE} == "200" ] && exit 0 || exit 1
>
> This gives the correct response codes.
> let's get this updated in docs :).
>
> Nirmal, So I'm still curious about the original question. :)
>

Well, probably we've removed those unnecessary deployers, but I'm not sure.

Anyway, I don't think anyone would want to hot deploy/update this proxy,
rather IMO we should pack this proxy with the distribution, if we are to go
along this path.

But, we better think through a bit.

>
> thanks,
>
>>
>> Thank You,
>> Dharshana
>>
>>
>> On Mon, Jun 17, 2013 at 3:54 PM, Sanjeewa Malalgoda <[email protected]>wrote:
>>
>>>
>>>
>>> On Mon, Jun 17, 2013 at 3:49 PM, Supun Malinga <[email protected]> wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Mon, Jun 17, 2013 at 3:44 PM, Chamith Kumarage <[email protected]>wrote:
>>>>
>>>>>  I agree that dispatching requests in the ELB isn't the proper way,
>>>>> even though it does what you want. How about introducing a proper HB
>>>>> service to
>>>>>  the ELB, which guarantees it's functionality without depending on 3rd
>>>>> party components?
>>>>>
>>>>
>>>> +1 from me.
>>>> We can include that to the ELB auto-scaling config section too.
>>>>
>>> +1.
>>>
>>>>
>>>> thanks,
>>>>
>>>>
>>>>>
>>>>>
>>>>> On 06/17/2013 01:42 AM, Supun Malinga wrote:
>>>>>
>>>>> Chmith's blog says the same,
>>>>> http://gonesimple.org/2012/09/24/automatic-fail-over-for-wso2-elb/
>>>>>
>>>>>  Reasons mentioned are acceptable IMO.
>>>>>
>>>>>
>>>>> On Mon, Jun 17, 2013 at 2:09 PM, Samisa Abeysinghe <[email protected]>wrote:
>>>>>
>>>>>> HBing the ELB via a service seems incorrect. May be we should PT via
>>>>>> ESB and HB
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 17, 2013 at 2:07 PM, Nirmal Fernando <[email protected]>wrote:
>>>>>>
>>>>>>> Oh.. ok! Chamith, is it the way this works?
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 17, 2013 at 2:02 PM, Supun Malinga <[email protected]>wrote:
>>>>>>>
>>>>>>>> Well.. this is for active-passive ELB config with keepalive. I'm
>>>>>>>> following [1]. For the health check it is recommended to deploy a dummy
>>>>>>>> echo proxy in the ELB.
>>>>>>>>
>>>>>>>>  [1] http://docs.wso2.org/wiki/display/ELB203/Automatic+Failover
>>>>>>>>
>>>>>>>>  thanks,
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 17, 2013 at 1:58 PM, Samisa Abeysinghe <[email protected]
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> UM yes, why should we deploying services to ELB. It is not an ESB,
>>>>>>>>> it is an ELB.
>>>>>>>>>
>>>>>>>>>  Should be treated as a "device" and not a service or running
>>>>>>>>> product instance
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Jun 17, 2013 at 12:13 PM, Nirmal Fernando <[email protected]
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>> Why are you adding proxy services to ELB??
>>>>>>>>>>
>>>>>>>>>> Sent via my mobile
>>>>>>>>>> -- Nirmal --
>>>>>>>>>>  On Jun 17, 2013 12:00 PM, "Supun Malinga" <[email protected]>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>>  Hi,
>>>>>>>>>>>
>>>>>>>>>>>  Added a proxy xml in proxy-service dir, it only worked after
>>>>>>>>>>> restarting.
>>>>>>>>>>> Is it intentional?.
>>>>>>>>>>>
>>>>>>>>>>>  thanks,
>>>>>>>>>>> --
>>>>>>>>>>>  Supun Malinga,
>>>>>>>>>>>
>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>> WSO2 Inc.
>>>>>>>>>>> http://wso2.com
>>>>>>>>>>> http://wso2.org
>>>>>>>>>>> email - [email protected] <[email protected]>
>>>>>>>>>>> mobile - 071 56 91 321 <071%2056%2091%20321>
>>>>>>>>>>>
>>>>>>>>>>>  _______________________________________________
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> [email protected]
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Dev mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>   --
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Samisa...
>>>>>>>>>
>>>>>>>>> Samisa Abeysinghe
>>>>>>>>> VP Engineering
>>>>>>>>>  WSO2 Inc.
>>>>>>>>> http://wso2.com
>>>>>>>>> http://wso2.org
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  --
>>>>>>>> Supun Malinga,
>>>>>>>>
>>>>>>>> Senior Software Engineer,
>>>>>>>> WSO2 Inc.
>>>>>>>> http://wso2.com
>>>>>>>> http://wso2.org
>>>>>>>> email - [email protected] <[email protected]>
>>>>>>>> mobile - 071 56 91 321
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>>
>>>>>>> Thanks & regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>>>>> Mobile: +94715779733
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>  --
>>>>>>
>>>>>> Thanks,
>>>>>> Samisa...
>>>>>>
>>>>>> Samisa Abeysinghe
>>>>>> VP Engineering
>>>>>> WSO2 Inc.
>>>>>> http://wso2.com
>>>>>> http://wso2.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  --
>>>>> Supun Malinga,
>>>>>
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc.
>>>>> http://wso2.com
>>>>> http://wso2.org
>>>>> email - [email protected] <[email protected]>
>>>>> mobile - 071 56 91 321
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Supun Malinga,
>>>>
>>>> Senior Software Engineer,
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>> email - [email protected] <[email protected]>
>>>> mobile - 071 56 91 321
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *
>>> *
>>> *Sanjeewa Malalgoda*
>>> WSO2 Inc.
>>> Mobile : +94713068779
>>>
>>>  <http://sanjeewamalalgoda.blogspot.com/>blog
>>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Dharshana Warusavitharana
>> Senior Software Engineer , Test Automation
>> WSO2 Inc. http://wso2.com
>> email : [email protected] <[email protected]>
>> cell : +94772202595
>> blog : http://dharshanaw.blogspot.com
>>
>> lean . enterprise . middleware
>>
>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - [email protected] <[email protected]>
> mobile - 071 56 91 321
>
> --
> You received this message because you are subscribed to the Google Groups
> "WSO2 Documentation" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit
> https://groups.google.com/a/wso2.com/groups/opt_out.
>
>
>



-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to