Hi Nuwan,

It is not actually Spark clustering, you need to do the CEP related
clustering [1] when you are using TM in clustered mode.

Read more on TM articles [2] and [3].

[1] - https://docs.wso2.com/display/CLUSTER44x/Clustering+CEP+4.0.0
[2] -
https://wso2.com/library/articles/2016/10/article-scalable-traffic-manager-deployment-patterns-for-wso2-api-manager-part-1/
[3] -
https://wso2.com/library/articles/2016/10/article-scalable-traffic-manager-deployment-patterns-for-wso2-api-manager-part-2/

Thank you!

On Fri, Nov 24, 2017 at 5:29 PM, Tharindu Dharmarathna <[email protected]>
wrote:

> Hi Nuwan,
>
> I think pubudu get missed understanding as Analytics nodes. We do not need
> to have spark clustering in TM .
>
> On Fri, Nov 24, 2017 at 11:28 AM, Nuwan Silva <[email protected]> wrote:
>
>> Thanks for the info but, do we need to configure spark cluster
>> configurations for traffic manager? If so why?
>>
>> On Fri, Nov 24, 2017 at 10:57 AM, Samitha Chathuranga <[email protected]>
>> wrote:
>>
>>> I'm not sure whether we are using dep-sync now since in APIM docker
>>>> patterns we removed depsync and added rsync.[1]
>>>>
>>> Using rsync [1] is completely external configuration with wso2 product
>>> configs, hence different to the usage of svn-dep-sync. But if you follow up
>>> with svn dep sync, required templates are already added to the template
>>> files and so you have to add only the required hiera data. Anyway now we
>>> recommend rsync over svn, so better to go with rsync.
>>>
>>> [1] - https://docs.wso2.com/display/AM210/Configuring+rsync+for+De
>>> ployment+Synchronization
>>>
>>> On Fri, Nov 24, 2017 at 10:36 AM, Prasanna Dangalla <[email protected]>
>>> wrote:
>>>
>>>>
>>>> On Fri, Nov 24, 2017 at 10:08 AM, Anuruddha Liyanarachchi <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Nuwan,
>>>>>
>>>>> As per the current patterns, there is no HA in traffic manager. The
>>>>> approach you have taken should work. However, you will need to configure
>>>>> dep-sync between two nodes if you are deploying custom policies.
>>>>>
>>>> I'm not sure whether we are using dep-sync now since in APIM docker
>>>> patterns we removed depsync and added rsync.[1]
>>>>
>>>> [1] - https://github.com/wso2/docker-apim/blob/v2.1.0/docker-compo
>>>> se/pattern-4/gateway-worker-2/worker-manager-rsync.sh
>>>>
>>>>>
>>>>> On Fri, Nov 24, 2017 at 9:54 AM, Nuwan Silva <[email protected]> wrote:
>>>>>
>>>>>> Hi Team,
>>>>>>
>>>>>> While deploying the puppet-apim [1] I had an issue where there was no
>>>>>> pattern for deploying Traffic Manager as an HA deployment. I added the
>>>>>> following snippet to achieve HA in the cluster. Do we have another way of
>>>>>> doing this? Please advise.
>>>>>>
>>>>>> wso2::clustering:
>>>>>>   enabled: true
>>>>>>   domain: tm.am.wso2.domain
>>>>>>   sub_domain: mgt
>>>>>>   local_member_host: "%{::ipaddress}"
>>>>>>   local_member_port: 4000
>>>>>> # WKA membership scheme
>>>>>>   membership_scheme: wka
>>>>>>   wka:
>>>>>>     members:
>>>>>>       -
>>>>>>         hostname: 192.168.48.33
>>>>>>         port: 4000
>>>>>>       -
>>>>>>         hostname: 192.168.48.34
>>>>>>         port: 4000
>>>>>>
>>>>>>
>>>>>> [1] https://github.com/wso2/puppet-apim
>>>>>> [2] https://github.com/wso2/puppet-apim/issues/47
>>>>>>
>>>>>> Cheers,
>>>>>> NuwanS.
>>>>>> --
>>>>>>
>>>>>>
>>>>>> *Nuwan Silva*
>>>>>> *Associate Technical Lead*
>>>>>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>>>>>
>>>>>> WSO2 Inc.
>>>>>> lean . enterprise . middleware.
>>>>>> http://www.wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <[email protected]>[email protected]
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Samitha Chathuranga
>>> Software Engineer, WSO2 Inc.
>>> lean.enterprise.middleware
>>> Mobile: +94715123761
>>>
>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>
>>
>>
>>
>> --
>>
>>
>> *Nuwan Silva*
>> *Associate Technical Lead*
>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>
>> WSO2 Inc.
>> lean . enterprise . middleware.
>> http://www.wso2.com
>>
>
>
>
> --
>
> *Tharindu Dharmarathna*Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <+94%2077%20910%209091>*
>



-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Senior Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to