Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-06 Thread Sajith Ravindra
Hi Isuru,

Thanks for the update and for guidance. We will send the PR for the
distributed deployment to using this model.

Thanks
*,Sajith Ravindra*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273550
blog: http://sajithr.blogspot.com/


On Mon, Jun 6, 2016 at 12:05 PM, Isuru Haththotuwa  wrote:

> 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
> 
>
> [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 
> wrote:
>
>> Hi Sajith,
>>
>> On Mon, Jun 6, 2016 at 11:18 AM, Isuru Haththotuwa 
>> 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// 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 
>>> 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/
 

 On Sat, Jun 4, 2016 at 10:21 AM, Isuru Haththotuwa 
 wrote:

> Hi Sajith,
>
> On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne 
> wrote:
>
>> Hi Sajith,
>>
>> On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra 
>> 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/
>>> 
>>>
>>
>>
>>
>> --
>> *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* *
>
>

Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-06 Thread Isuru Haththotuwa
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


[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  wrote:

> Hi Sajith,
>
> On Mon, Jun 6, 2016 at 11:18 AM, Isuru Haththotuwa 
> 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// 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  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/
>>> 
>>>
>>> On Sat, Jun 4, 2016 at 10:21 AM, Isuru Haththotuwa 
>>> wrote:
>>>
 Hi Sajith,

 On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne 
 wrote:

> Hi Sajith,
>
> On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra 
> 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/
>> 
>>
>
>
>
> --
> *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* *



>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* *
>>
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* *
>
>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-06 Thread Isuru Haththotuwa
Hi Sajith,

On Mon, Jun 6, 2016 at 11:18 AM, Isuru Haththotuwa  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// 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  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/
>> 
>>
>> On Sat, Jun 4, 2016 at 10:21 AM, Isuru Haththotuwa 
>> wrote:
>>
>>> Hi Sajith,
>>>
>>> On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne  wrote:
>>>
 Hi Sajith,

 On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra 
 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/
> 
>



 --
 *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* *
>>>
>>>
>>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* *
>
>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-05 Thread Isuru Haththotuwa
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// 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.

On Sat, Jun 4, 2016 at 5:07 PM, Sajith Ravindra  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/
> 
>
> On Sat, Jun 4, 2016 at 10:21 AM, Isuru Haththotuwa 
> wrote:
>
>> Hi Sajith,
>>
>> On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne  wrote:
>>
>>> Hi Sajith,
>>>
>>> On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra 
>>> 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/
 

>>>
>>>
>>>
>>> --
>>> *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* *
>>
>>
>>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-04 Thread Sajith Ravindra
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/


On Sat, Jun 4, 2016 at 10:21 AM, Isuru Haththotuwa  wrote:

> Hi Sajith,
>
> On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne  wrote:
>
>> Hi Sajith,
>>
>> On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra 
>> 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/
>>> 
>>>
>>
>>
>>
>> --
>> *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* *
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-03 Thread Isuru Haththotuwa
Hi Sajith,

On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne  wrote:

> Hi Sajith,
>
> On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra  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/
>> 
>>
>
>
>
> --
> *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* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-03 Thread Imesh Gunaratne
Hi Sajith,

On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra  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!

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/
> 
>



-- 
*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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-03 Thread Sajith Ravindra
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]. 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/

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev