Myself and SajithR had a chat on this. What needs to be done are as follows:

   1. Create profiles relevant to CEP full HA deployment, referring the
   available profiles [1]
   2. Use the data picked from those hierafiles (using hiera lookups) in
   CEP configuration templates [2]

Also, would need to test the full HA deployment created with these changes
as well.

Can the CEP team send a PR with these changes to the wso2 puppet modules
repository?

[1].
https://github.com/wso2/puppet-modules/tree/master/hieradata/dev/wso2/wso2cep/4.0.0
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fwso2%2Fpuppet-modules%2Ftree%2Fmaster%2Fhieradata%2Fdev%2Fwso2%2Fwso2cep%2F4.0.0&sa=D&sntz=1&usg=AFQjCNEXnJRx9xcu_kopkp1x_eBYttZLnw>

[2].
https://github.com/wso2/puppet-modules/tree/master/modules/wso2cep/templates/4.0.0

On Mon, Jun 6, 2016 at 11:34 AM, Isuru Haththotuwa <[email protected]> wrote:

> Hi Sajith,
>
> On Mon, Jun 6, 2016 at 11:18 AM, Isuru Haththotuwa <[email protected]>
> wrote:
>
>> Hi Sajith,
>>
>> Sorry for the delay in merging this. This was sent at a time where some
>> re-factoring was in progress for hieradata and puppet modules. As a result
>> now there is a platform directory (kubernetes, etc.) under the
>> puppet-modules/hieradata/dev/wso2/<product>/<version> directory. We might
>> need to incorporate this change to the PR. Also, at the moment, we do not
>> have a grouping by pattern of the hiera files as well. Lets have a
>> discussion on this before we proceed further to create a new PR.
>>
> My mistake, this has already been merged, but have been changed because of
> the puppet and hiera model changes that took place in the last release.
> Would it be possible to add the required profiles for HA deployment in a
> new PR?
>
>>
>> On Sat, Jun 4, 2016 at 5:07 PM, Sajith Ravindra <[email protected]> wrote:
>>
>>> Hi Imesh/Isuru,
>>>
>>> I submitted the pull request[1] sometime back and it has implemented all
>>> 3 patterns of CEP (standalone, HA and distributed). Please let us know if
>>> we can provide any further assistance on this. It would be great if we can
>>> get the distributed deployment scripts also in wso2 repo because manually
>>> doing the distributed deployments requires some effort compared to other
>>> two patterns.
>>>
>>>
>>> [1] -
>>> https://github.com/wso2/puppet-modules/commit/85e652d086d5b48971b3425ec12562c13c9d4a9b
>>>
>>> Thanks
>>> *,Sajith Ravindra*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 77 2273550
>>> blog: http://sajithr.blogspot.com/
>>> <http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
>>>
>>> On Sat, Jun 4, 2016 at 10:21 AM, Isuru Haththotuwa <[email protected]>
>>> wrote:
>>>
>>>> Hi Sajith,
>>>>
>>>> On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Sajith,
>>>>>
>>>>> On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> It seems we have still not added the capability to deploy CEP in
>>>>>> storm based distributed mode using the puppet scripts in [1].
>>>>>>
>>>>>
>>>>> ​Yes, currently Storm based distributed deployment automation for CEP
>>>>> is not there in [1]. If CEP team can contribute to that, that would be
>>>>> great!
>>>>>
>>>> Adding to what Imesh said, we currently only have two profiles defined
>>>> for CEP, presenter+mgt and worker. Would need to improve as we go on.
>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>> Am i missing something here? or are we still in the process of merging
>>>>>> the changes? Is there anything that needs to be done from CEP team to get
>>>>>> distributed deployment related changes merged to [1]?
>>>>>>
>>>>>>
>>>>>> [1] - https://github.com/wso2/puppet-modules
>>>>>>
>>>>>> Thanks
>>>>>> *,Sajith Ravindra*
>>>>>> Senior Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> mobile: +94 77 2273550
>>>>>> blog: http://sajithr.blogspot.com/
>>>>>> <http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Imesh Gunaratne*
>>>>> Software Architect
>>>>> WSO2 Inc: http://wso2.com
>>>>> T: +94 11 214 5345 M: +94 77 374 2057
>>>>> W: https://medium.com/@imesh TW: @imesh
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> +94 716 358 048* <http://wso2.com/>*
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to