Hi.
I can't understand guide in documentation to create WSO2 Product Cartridge
https://docs.wso2.org/display/Stratos200/Cartridge+Development+Guide

Carbon Cartridges

WSO2 product Cartridge creation is automated using a Puppet. Defining a new
Cartridge type can be done as follows:

Step 1 - Define a new Cartridge type using Puppet.

For more information go to http://docs.puppetlabs.com/puppet/2.7/reference/

Step 2 - Setup S2 and Puppet in the IaaS.

    Download and extract wso2s2-<iaas>-1.0.0.zip to the server.
    s2demo-single-node-installer-<iaas> is inside wso2s2-<iaas>

    Execute the following commands, to run the automated installer:
    chmod +x s2demo-single-node-installer-<iaas>
    ./s2demo-single-node-installer-<iaas>

    This will create /mnt/puppet/stratos2 folder.

Step 3 - Add definitions and configurations of the new Cartridge type in
the Puppet master.

    Define a new puppet class extending the stratos.pp
(/mnt/puppet/stratos2/manifests/classes/stratos.pp).
    stratos.pp contains all the common functionalities related to Carbon
servers.
    Create a modules and template directory in
/mnt/puppet/stratos2/{modules,templates}

        modules directory should contain the static files (e.g.,static
configuration files, external JARs.), in the folder location defined in the
corresponding .pp class.

        template directory should contain files with variables that can be
submitted to changes (e.g., carbon servers axis2.xml, carbon.xml etc.), in
the folder location defined in the corresponding .pp class.

    Create a node definition in the nodes.pp file.
    Add the new class to the node definition.


Step 4 - Install the Puppet agent in an IaaS instance and create an AMI.

For more information see Setting up Puppet Agent.
I can't find any folder s2demo-single-node-installer-<iaas> inside
wso2s2-<iaas>. I download wso2s2-openstack-1.0.1



Could you show me more detail? thanks?


On Wed, Mar 5, 2014 at 1:31 PM, Quang Cường Vũ <[email protected]> wrote:

> Ok, nice thanks :)
>
>
> On Wed, Mar 5, 2014 at 12:23 PM, Udara Liyanage <[email protected]> wrote:
>
>> Hi,
>>
>> Carbon cartridge is made for hosting carbon products such as Application
>> Server, ESB, BPS.... However carbon cartridge you mentioned is a base
>> cartridge for carbon products. Using puppet you can install any carbon
>> products to this base cartridge at the time of subscribing.
>>
>>
>> On Tue, Mar 4, 2014 at 11:49 PM, Quang Cường Vũ <[email protected]>wrote:
>>
>>> Ok, so when I have a new muli-tenant cartridge, I will upload it to
>>> Openstack, and other tenants can subscribe.
>>> Could you explain for me: what is purpose of Carbon cartridge
>>> http://dist.wso2.org/downloads/stratos/2.0.0/misc/cartridges/ I check,
>>> it is seem there is nothing inside Carbon cartridge. Could I deploy java
>>> aplication (using external Repository server) to Carbon cartridge?
>>> I wonder If someone has installed Stratos 2.0 successfully with deploy
>>> java application successfully to multi-tenant carbon cartridge?
>>> Thanks.
>>>
>>>
>>> On Wed, Mar 5, 2014 at 11:26 AM, Quang Cường Vũ <[email protected]>wrote:
>>>
>>>> Hi dev.
>>>> I installed Stratos 2.0 and also upload multi-tenant Carbon cartridge
>>>> to Openstack.
>>>> When installation Stratos 2.0 is finish, multi-tenant Carbon cartridge
>>>> auto spawn in Openstack.
>>>> But if I am supper admin of Stratos, How can I subscribe multi-tenant
>>>> cartridge for other tenants when I have a new multi-tenant cartridge?
>>>> Thanks.
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> *V  u    Q u a n g   C u o n g *
>>>>
>>>> *Software developer and Trainer*
>>>> ------------------------------------
>>>>  Mobile: 0988.397.448
>>>> Email: [email protected]
>>>>
>>>>
>>>> <http://www.wisestamp.com/>
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> *V  u    Q u a n g   C u o n g *
>>>
>>> *Software developer and Trainer*
>>> ------------------------------------
>>>  Mobile: 0988.397.448
>>> Email: [email protected]
>>>
>>>
>>> <http://www.wisestamp.com/>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>>  WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
>
>
> *V  u    Q u a n g   C u o n g *
>
> *Software developer and Trainer*
> ------------------------------------
>  Mobile: 0988.397.448
> Email: [email protected]
>
>
> <http://www.wisestamp.com/>
>



-- 


*V  u    Q u a n g   C u o n g *

*Software developer and Trainer*
------------------------------------
 Mobile: 0988.397.448
Email: [email protected]


<http://www.wisestamp.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to