Hi Lahiru, Why is the memory requirement for stratos so high? Is the main reason due to the number of carbon instances that need to be running?
Please excuse my naivety, but I would have expected the load balancers to have high memory requirements when lots of clients are connected, but the rest of stratos products, I thought would be have much lower demands as they shouldn't be processing a large number of transactions (events) per second? Many thanks, Chris On Sat, Jan 4, 2014 at 2:39 PM, Lahiru Sandaruwan <[email protected]> wrote: > > > > On Sat, Jan 4, 2014 at 1:44 PM, chris snow <[email protected]> wrote: > >> HI Lahiru, >> >> Does the single 8 gb machine include all the stratos products and >> openstack, or do you need another 8 gb machine for openstack? >> > > Yes :) > > Anyway i would recommend a 8 gb machine for openstack as well.(4gb might > do marginally). Because if you test autoscaling etc., VMs that are spawned > would require some memory in addition to Openstack servers. > > >> >> Many thanks, >> >> Chris >> >> >> On Sat, Jan 4, 2014 at 12:30 AM, Lahiru Sandaruwan <[email protected]>wrote: >> >>> Hi Chris, >>> >>> Even for a developer environment, it would be difficult to locate errors >>> etc., if we run all in one. >>> >>> On the other hand we can run all the instances in one machine(8 gb >>> memory would do) and use installer script to setup the environment easily. >>> >>> We will have a puppet based setup script as well in the near future. >>> Until that we can use the bash script we have. It is in a testable state >>> and committed to source AFAIK. >>> >>> Thanks. >>> >>> >>> On Fri, Jan 3, 2014 at 11:55 PM, chris snow <[email protected]> wrote: >>> >>>> Hi Nirmal, thanks for the info. >>>> >>>> I'll focus on understanding how to perform a individual product >>>> deployments before attempting to tackle a single JVM deployment of Stratos. >>>> >>>> >>>> >>>> On Fri, Jan 3, 2014 at 5:57 PM, Nirmal Fernando <[email protected] >>>> > wrote: >>>> >>>>> Hi Chris, >>>>> >>>>> On Friday, January 3, 2014, chris snow wrote: >>>>> >>>>>> Hi Devs, >>>>>> >>>>>> I'm working on scripts to create a runtime environment for stratos >>>>>> consisting of: >>>>>> >>>>>> >>>>>> - 4.0.0 Message Broker >>>>>> Configuration<https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Message+Broker+Configuration> >>>>>> - 4.0.0 Load Balancer >>>>>> Configuration<https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Load+Balancer+Configuration> >>>>>> - 4.0.0 Cloud Controller >>>>>> Configuration<https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Cloud+Controller+Configuration> >>>>>> - 4.0.0 Stratos Controller >>>>>> Configuration<https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Stratos+Controller+Configuration> >>>>>> - 4.0.0 AutoScaler >>>>>> Configuration<https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+AutoScaler+Configuration> >>>>>> - 4.0.0 Complex Event Processor >>>>>> Configuration<https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration> >>>>>> >>>>>> >>>>>> At the moment, I'm unzipping and configuring each of the 6 products >>>>>> to run as standalone component, but this seems quite inefficient for a >>>>>> developer environment. >>>>>> >>>>>> Is it possible to deploy all the products together on a single carbon >>>>>> runtime? >>>>>> >>>>> >>>>> This should be carefully done and would not be an easy task IMO. >>>>> >>>>>> >>>>>> Does it make sense to deploy all the products together? >>>>>> >>>>> For a development setup, it would make sense to minimize the number of >>>>> JVMs. >>>>> >>>>>> >>>>>> For a single runtime with all the features, do I just need to copy >>>>>> the feature zip files and adapt the instructions on the wiki: >>>>>> <https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Product+Configuration> >>>>>> >>>>> >>>>> I think the best way is to start from a vanila Carbon runtime and >>>>> install the features used in each product. >>>>> But I'm afraid this is a time consuming task. >>>>> >>>>>> >>>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Product+Configuration >>>>>> ? >>>>>> >>>>>> >>>>>> Many thanks, >>>>>> >>>>>> Chris >>>>>> >>>>> >>>>> >>>>> -- >>>>> Best Regards, >>>>> Nirmal >>>>> >>>>> Nirmal Fernando. >>>>> PPMC Member & Committer of Apache Stratos, >>>>> Senior Software Engineer, WSO2 Inc. >>>>> >>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>> >>>>> >>>> >>>> >>>> -- >>>> Check out my professional profile and connect with me on LinkedIn. >>>> http://lnkd.in/cw5k69 >>>> >>> >>> >>> >>> -- >>> -- >>> Lahiru Sandaruwan >>> Software Engineer, >>> Platform Technologies, >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> email: [email protected] cell: (+94) 773 325 954 >>> blog: http://lahiruwrites.blogspot.com/ >>> twitter: http://twitter.com/lahirus >>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>> >>> >> >> >> -- >> Check out my professional profile and connect with me on LinkedIn. >> http://lnkd.in/cw5k69 >> > > > > -- > -- > Lahiru Sandaruwan > Software Engineer, > Platform Technologies, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > email: [email protected] cell: (+94) 773 325 954 > blog: http://lahiruwrites.blogspot.com/ > twitter: http://twitter.com/lahirus > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- Check out my professional profile and connect with me on LinkedIn. http://lnkd.in/cw5k69
