[Architecture] Making appfactory installation in a single node using ppuppet

2014-10-30 Thread Anuruddha Premalal
Hi, I'm working on making the appfactory puppet scripts to be able to setup in a single node. *Problem* Current puppet scripts can be used (in a single run) to do a distributed setup where all app-factory related servers setup in different nodes. In single node setup, we cannot reference the sam

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-02 Thread Dimuthu Leelarathne
Hi Anuruddha, On Thu, Oct 30, 2014 at 11:34 PM, Anuruddha Premalal wrote: > Hi, > > I'm working on making the appfactory puppet scripts to be able to setup in > a single node. > > *Problem* > > Current puppet scripts can be used (in a single run) to do a distributed > setup where all app-factory

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-02 Thread Harsha Thirimanna
Hi Anuruddha, As we discussed, this changes are going to the stratos installer also. We need to review this changes with Stratos team. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * *email: **hars...@wso2.com* * cell: +94 71 5186770 , +9

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-02 Thread Udara Liyanage
Hi, Are you going to have three puppet masters, one puppet master for each env? You need to install three ActiveMQ servers in the machine. [1] may help you to guide on that. Run boot.sh without "-s" option, otherwise it tries to install ActiveMQ. Anyhow you need to parameterized (or edit before s

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-03 Thread Dimuthu Leelarathne
Hi all, At the startos side we have to use single JVMs to make our 8GB target a reality. Are we using single JVM stratots? If not we need to change that. @Udara - Can we have one puppet master with 3 envs? thanks, dimuthu On Sun, Nov 2, 2014 at 8:07 PM, Udara Liyanage wrote: > Hi, > > Are you

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-03 Thread Udara Liyanage
Hi Dumutu On Tue, Nov 4, 2014 at 3:34 AM, Dimuthu Leelarathne wrote: > Hi all, > > At the startos side we have to use single JVMs to make our 8GB target a > reality. Are we using single JVM stratots? If not we need to change that. > Yes, better to use SingleJVM Stratos to run with minimum memory

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-03 Thread Anuruddha Premalal
Hi All, Yes we are using a single JVM stratos. Current AF cartridges get Application server packs through *wget* while spawning the instance. Shall we move to puppet instead?. If so we'll be modifying and provisioning new cartridges for php and appservers. On Tue, Nov 4, 2014 at 3:34 AM, Dimut

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-03 Thread Harsha Thirimanna
Hi Anuruddha, No, We have already done this puppet for appservers that removing wget part and committed in puppet manifest. You have to just use clean base image for that. thanks *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * *email: **hars

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-03 Thread Udara Liyanage
Hi, The advantage of having puppet is you can do configurations easilly and you can create a single base image and use for all cartridges. WSO2 AS, PHP puppet scripts are already written, you can reuse them On Tue, Nov 4, 2014 at 10:51 AM, Anuruddha Premalal wrote: > Hi All, > > Yes we are usin

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-03 Thread Harsha Thirimanna
​Hi Udara, We have written our own AS puppet scripts for the cartridges. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * *email: **hars...@wso2.com* * cell: +94 71 5186770 , +94 * *774617784twitter: **http://twitter.com/

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-11 Thread Anuruddha Premalal
Hi, Now in appfactory developer setup, we are using three single JVM private-paases which have separate activemqs running on the same node with port offsets. Appfactory use stratos messaging component to listen to topology, this component gets the topic url from a jndi property file. This cause

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-11 Thread Udara Liyanage
Hi, Since you know the subscription alias, you can call Stratos REST API and get the IP of the instance. Is it a possible solution? Touched, not typed. Erroneous words are a feature, not a typo. On Nov 11, 2014 8:13 PM, "Anuruddha Premalal" wrote: > Hi, > > Now in appfactory developer setup,

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-11 Thread Harsha Thirimanna
Hi udara, In order to do that we have poll time to time until that IP is come to that topology. It may be unnessary calls. As we discussed with Imesh, we have to set this jndi property to system variable for each enviorenment before start listener to that environment. There is hard coded of this

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-11 Thread Udara Liyanage
Hi Harsha, Why I proposed to using API is since listening to topology events of the three environments is mentioned as impossible. If it is possible, then you don't need to use API. On Wed, Nov 12, 2014 at 8:38 AM, Harsha Thirimanna wrote: > Hi udara, > In order to do that we have poll time to

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-12 Thread Imesh Gunaratne
Hi Anuruddha, On Tue, Nov 11, 2014 at 8:12 PM, Anuruddha Premalal wrote: > Hi, > > Now in appfactory developer setup, we are using three single JVM > private-paases which have separate activemqs running on the same node with > port offsets. Appfactory use stratos messaging component to listen

Re: [Architecture] Making appfactory installation in a single node using ppuppet

2014-11-12 Thread Imesh Gunaratne
Hi Harsha, On Wed, Nov 12, 2014 at 8:38 AM, Harsha Thirimanna wrote: > > As we discussed with Imesh, we have to set this jndi property to system > variable for each enviorenment before start listener to that environment. > > There is hard coded of this jndi property file in topology listener. So