Re: [Dev] C-App synchronization in a Carbon cluster

2012-11-07 Thread Srinath Perera
Do we need a review? --Srinath On Tue, Nov 6, 2012 at 1:22 PM, Amila Suriarachchi am...@wso2.com wrote: On Tue, Nov 6, 2012 at 12:43 PM, Afkham Azeez az...@wso2.com wrote: On Mon, Nov 5, 2012 at 6:48 PM, Amila Suriarachchi am...@wso2.comwrote: Hi Srinath, On Mon, Jul 9, 2012 at 3:21

Re: [Dev] C-App synchronization in a Carbon cluster

2012-11-05 Thread Amila Suriarachchi
Hi Srinath, On Mon, Jul 9, 2012 at 3:21 PM, Srinath Perera srin...@wso2.com wrote: Hi Isuru, In a review we talked about possibility of not deploying artifacts inside the CApp back to repo, but deploying them by extracting them into a temp directory and invoking the respective deployers

Re: [Dev] C-App synchronization in a Carbon cluster

2012-11-05 Thread Amila Suriarachchi
hi Srinath, On Mon, Jul 9, 2012 at 3:21 PM, Srinath Perera srin...@wso2.com wrote: Hi Isuru, In a review we talked about possibility of not deploying artifacts inside the CApp back to repo, but deploying them by extracting them into a temp directory and invoking the respective deployers

Re: [Dev] C-App synchronization in a Carbon cluster

2012-11-05 Thread Kasun Gajasinghe
The relevant JIRA - https://wso2.org/jira/browse/CARBON-13078 On Mon, Nov 5, 2012 at 6:51 PM, Amila Suriarachchi am...@wso2.com wrote: hi Srinath, On Mon, Jul 9, 2012 at 3:21 PM, Srinath Perera srin...@wso2.com wrote: Hi Isuru, In a review we talked about possibility of not deploying

Re: [Dev] C-App synchronization in a Carbon cluster

2012-11-05 Thread Afkham Azeez
On Mon, Nov 5, 2012 at 6:48 PM, Amila Suriarachchi am...@wso2.com wrote: Hi Srinath, On Mon, Jul 9, 2012 at 3:21 PM, Srinath Perera srin...@wso2.com wrote: Hi Isuru, In a review we talked about possibility of not deploying artifacts inside the CApp back to repo, but deploying them by

Re: [Dev] C-App synchronization in a Carbon cluster

2012-11-05 Thread Amila Suriarachchi
On Tue, Nov 6, 2012 at 12:43 PM, Afkham Azeez az...@wso2.com wrote: On Mon, Nov 5, 2012 at 6:48 PM, Amila Suriarachchi am...@wso2.com wrote: Hi Srinath, On Mon, Jul 9, 2012 at 3:21 PM, Srinath Perera srin...@wso2.com wrote: Hi Isuru, In a review we talked about possibility of not

Re: [Dev] C-App synchronization in a Carbon cluster

2012-11-05 Thread Amila Suriarachchi
On Tue, Nov 6, 2012 at 12:43 PM, Afkham Azeez az...@wso2.com wrote: On Mon, Nov 5, 2012 at 6:48 PM, Amila Suriarachchi am...@wso2.com wrote: Hi Srinath, On Mon, Jul 9, 2012 at 3:21 PM, Srinath Perera srin...@wso2.com wrote: Hi Isuru, In a review we talked about possibility of not

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-28 Thread Harshana Martin
Hi Isuru, I believe this new C-App deploymement location can be derived using tenant? Otherwise the Dev Studio C-App deployment feature will be broken. Thanks and Regards, Harshana On Jul 28, 2012 8:14 PM, Isuru Suriarachchi is...@wso2.com wrote: On Sat, Jul 28, 2012 at 4:06 AM, Samisa

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-28 Thread Isuru Suriarachchi
On Sat, Jul 28, 2012 at 8:33 PM, Harshana Martin harsh...@wso2.com wrote: Hi Isuru, I believe this new C-App deploymement location can be derived using tenant? Yes.. It's CARBON_HOME/tmp/tenants/tenant_id/carbonapps/ Thanks, ~Isuru Otherwise the Dev Studio C-App deployment feature will be

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-28 Thread Kishanthan Thangarajah
On Sat, Jul 28, 2012 at 6:43 PM, Isuru Suriarachchi is...@wso2.com wrote: On Sat, Jul 28, 2012 at 4:06 AM, Samisa Abeysinghe sam...@wso2.comwrote: Charitha - good catch! Isuru, thanks for the quick fix!! AS folks, can we please do a preliminary verification of the fix done by Isuru,

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-26 Thread Afkham Azeez
On Thu, Jul 26, 2012 at 12:17 AM, Isuru Suriarachchi is...@wso2.com wrote: Oh.. I was planning to create different directories for different tenants inside repository/carbonapps. But looks like I've missed that. I'll fix it and let you know.. Tenants have their own temp directory right? If

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-26 Thread Isuru Suriarachchi
On Thu, Jul 26, 2012 at 2:55 PM, Afkham Azeez az...@wso2.com wrote: On Thu, Jul 26, 2012 at 12:17 AM, Isuru Suriarachchi is...@wso2.comwrote: Oh.. I was planning to create different directories for different tenants inside repository/carbonapps. But looks like I've missed that. I'll fix it

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-25 Thread Charitha Kankanamge
Hi, It seems we have not thought about MT aspects of this model. Now, the carbonapps directory is taken out from repository/deployment/server and the all CApps will be stored in common carbonapps directory regardless of the tenant who deployed CApp. Because of this, any tenant can see others

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-25 Thread Isuru Suriarachchi
Oh.. I was planning to create different directories for different tenants inside repository/carbonapps. But looks like I've missed that. I'll fix it and let you know.. Thanks, ~Isuru On Wed, Jul 25, 2012 at 10:31 PM, Charitha Kankanamge chari...@wso2.comwrote: Hi, It seems we have not

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-09 Thread Isuru Suriarachchi
On Mon, Jul 9, 2012 at 10:55 AM, Muhammed Shariq sha...@wso2.com wrote: On Fri, Jul 6, 2012 at 6:05 PM, Isuru Suriarachchi is...@wso2.com wrote: Hi all, I'm trying to fix [1]. Here's the root cause for this issue.. Imagine a Carbon cluster with 2 nodes where the svn based deployment

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-09 Thread Isuru Suriarachchi
On Sat, Jul 7, 2012 at 11:01 AM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Isuru, I'd like to add a third option to the list for consideration. :) How about doing the synchronization between cluster nodes AFTER the C-App's extracted artifacts are deployed? This is kind of not possible

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-09 Thread Harshana Martin
Hi Isuru, On Sat, Jul 7, 2012 at 9:48 AM, Isuru Suriarachchi is...@wso2.com wrote: Harshana, good point.. Actually I had forgot about the lib artifacts. Anyway as Azeez mentioned, we only allow lib artifacts for super tenant. So it's kind of broken already. If we want the libs to work with

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-09 Thread Muhammed Shariq
On Mon, Jul 9, 2012 at 12:20 PM, Isuru Suriarachchi is...@wso2.com wrote: On Mon, Jul 9, 2012 at 10:55 AM, Muhammed Shariq sha...@wso2.com wrote: On Fri, Jul 6, 2012 at 6:05 PM, Isuru Suriarachchi is...@wso2.comwrote: Hi all, I'm trying to fix [1]. Here's the root cause for this issue..

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-09 Thread Srinath Perera
Hi Isuru, In a review we talked about possibility of not deploying artifacts inside the CApp back to repo, but deploying them by extracting them into a temp directory and invoking the respective deployers directly, without using the hot deployment. IMHO, that is the clean way to handle CApp

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-09 Thread Srinath Perera
Hi Isuru, For the release, can we ask users to run the cluster in a mode where only one node write to the SVN repo and other nodes will just read? Also, please explain your fixes to someone/ commit them to the new trunk once we are done with the release. I think those fixes are the right long

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-09 Thread Isuru Suriarachchi
On Mon, Jul 9, 2012 at 5:07 PM, Srinath Perera srin...@wso2.com wrote: Hi Isuru, For the release, can we ask users to run the cluster in a mode where only one node write to the SVN repo and other nodes will just read? I think we always recommend only one R/W node in a cluster. Also,

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-09 Thread Isuru Suriarachchi
On Mon, Jul 9, 2012 at 3:21 PM, Srinath Perera srin...@wso2.com wrote: Hi Isuru, In a review we talked about possibility of not deploying artifacts inside the CApp back to repo, but deploying them by extracting them into a temp directory and invoking the respective deployers directly,

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-08 Thread Muhammed Shariq
On Fri, Jul 6, 2012 at 6:05 PM, Isuru Suriarachchi is...@wso2.com wrote: Hi all, I'm trying to fix [1]. Here's the root cause for this issue.. Imagine a Carbon cluster with 2 nodes where the svn based deployment synchronizer (DS) is configured. When a C-App is deployed to node1, it is

[Dev] C-App synchronization in a Carbon cluster

2012-07-06 Thread Isuru Suriarachchi
Hi all, I'm trying to fix [1]. Here's the root cause for this issue.. Imagine a Carbon cluster with 2 nodes where the svn based deployment synchronizer (DS) is configured. When a C-App is deployed to node1, it is extracted and individual artifacts are copied into respective hot directories. When

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-06 Thread Harshana Martin
Hi Isuru, Please find my comments inline. On Fri, Jul 6, 2012 at 6:05 PM, Isuru Suriarachchi is...@wso2.com wrote: Hi all, I'm trying to fix [1]. Here's the root cause for this issue.. Imagine a Carbon cluster with 2 nodes where the svn based deployment synchronizer (DS) is configured.

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-06 Thread Afkham Azeez
On Sat, Jul 7, 2012 at 2:39 AM, Harshana Martin harsh...@wso2.com wrote: Hi Isuru, Please find my comments inline. On Fri, Jul 6, 2012 at 6:05 PM, Isuru Suriarachchi is...@wso2.com wrote: Hi all, I'm trying to fix [1]. Here's the root cause for this issue.. Imagine a Carbon cluster

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-06 Thread Isuru Suriarachchi
Harshana, good point.. Actually I had forgot about the lib artifacts. Anyway as Azeez mentioned, we only allow lib artifacts for super tenant. So it's kind of broken already. If we want the libs to work with option 2, we can simply add a new deployer for libs as well.. :) Thanks, ~Isuru On Sat,

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-06 Thread Kasun Gajasinghe
Hi Isuru, I'd like to add a third option to the list for consideration. :) How about doing the synchronization between cluster nodes AFTER the C-App's extracted artifacts are deployed? I'm not sure whether it's possible to do with the current architecture, but if it is, then I think things will