On Wed, Mar 19, 2014 at 11:00 AM, Isuru Perera <isu...@wso2.com> wrote:

> Hi Chris,
>
>
>
>
> On Tue, Mar 18, 2014 at 11:47 PM, chris snow <chsnow...@gmail.com> wrote:
>
>> I'm trying to follow the instructions for creating a cartridge [1].
>>
>> It would be good if there was a little more information on cartridges
>> and how they are used by stratos, for example:
>>
>> Am I right in thinking we need to create a cartridge for every service
>> we want to be managed by stratos (such as a PHP service)?
>
> Yes. That's how the Cartridge guide has given instructions.
>
>>  What does
>> the cartridge run in, is it a cloud compute instance?
>
> Yes. The cartridges will be run in an IaaS and it will be a cloud compute
> instance.
>
>> How does
>> stratos communicate with the cartridge?
>
> We put Stratos agent inside to the cartridge and it will communicate with
> Stratos. The cartridge guide tells you to install Puppet agent and the
> Puppet Master will configure the Stratos agent.
>
>> Can I run more that one
>> service in a single cartridge (e.g. PHP + Mysql)?
>
> Yes. The developer can come up with any custom cartridge.
>
>> Can I run more than
>> one cartridge in a compute instance?
>>
> AFAIK, this is not supported for now directly. A cartridge instance is now
> a compute instance in an IaaS.
>

Chris, did you meant, setup several services in one Cartridge? Like
MySQL+PHP+Apache? If it is, yes you can combine many services and create
single cartridge.


>
>> Also, are the wiki instructions assuming that the user has started a
>> Ubuntu 12.04 instance in a compute service such as AWS, Openstack or
>> Cloudstack, and that the instructions are being run in that instance?
>>
> Yes! After that you are supposed to create an image out of it and give
> that image ID for your Cartridge definition.
>
> I hope these things are clear. If not, please ask again! :)
>
>>
>> Many thanks,
>>
>> Chris
>>
>> ---
>> [1]
>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge
>>
>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>



-- 
Lakmal Warusawithana
Software Architect; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/

Reply via email to