Hi Samisa,

Please find the attached document list the steps for p2 based
publisher installation.

Thanks,
Krishantha.


> And also please document/list the steps, so that I can include those in the
> docs. I have not yet documented this part.
> Samisa...
>
>>
>>     Rather than using the packs that I have given, modified manually,
>> please use fresh copies of ESB/WSAS and test with P2 installs.
>> Thanks,
>> Samisa...
>>
>> On Mon, Dec 7, 2009 at 11:03 AM, Sameera Jayasoma <[email protected]>
>> wrote:
>>>
>>>
>>> On Sat, Dec 5, 2009 at 8:21 AM, Samisa Abeysinghe <[email protected]>
>>> wrote:
>>>>
>>>>
>>>> On Sat, Dec 5, 2009 at 8:11 AM, Sameera Jayasoma <[email protected]>
>>>> wrote:
>>>>>
>>>>>
>>>>> On Sat, Dec 5, 2009 at 7:16 AM, Ruwan Linton <[email protected]> wrote:
>>>>>>
>>>>>> Samisa Abeysinghe wrote:
>>>>>> > For BAM mediation publisher to correctly work, we need to be able to
>>>>>> > remove  mediation stat component.
>>>>>> >
>>>>>> > Can we do that with P2?
>>>>>> Yes, we should be able to.
>>>>>
>>>>> Yes. This is possible. There is separate feature for "Meditation
>>>>> Statistics" which is listed in [1]. I will talk to OT people to  link this
>>>>> page with Carbon project page on Monday.
>>>>
>>>> Cool. Can you please point me to info on how to do the removal with P2?
>>>
>>> Please refer [1]. Step 07 shows you how to uninstall a feature.
>>>
>>> provuninstall org.wso2.carbon.mediation.statistics.server.feature.group
>>> 2.0.1
>>> provuninstall org.wso2.carbon.mediation.statistics.ui.feature.group 2.0.1
>>>
>>>>
>>>> Also, the features that you created for BAM publishers, did you commit
>>>> to svn?
>>>
>>> Yes. BAM data publisher features are committed into following svn
>>> location.
>>>
>>>
>>> https://wso2.org/repos/wso2/branches/carbon-platform/2.0.2/carbon-features/bam-data-publisher
>>>
>>> I have generated a P2 repository for BAM data publisher features for
>>> testing purposes. Following is the svn URL.
>>>
>>> https://wso2.org/repos/wso2/people/sameera/work/p2-repo
>>>
>>>
>>> Installing features in WSAS
>>> -----------------------------------
>>>
>>> provaddrepo https://wso2.org/repos/wso2/people/sameera/work/p2-repo
>>>
>>> provaddartifactrepo
>>> https://wso2.org/repos/wso2/people/sameera/work/p2-repo
>>>
>>> provinstall org.wso2.carbon.bam.data.publisher.servicestats.feature.group
>>> 2.0.0
>>>
>>> provinstall org.wso2.carbon.bam.data.publisher.activity.feature.group
>>> 2.0.0
>>>
>>>
>>> Installing features in ESB
>>> ---------------------------------
>>>
>>> provaddrepo https://wso2.org/repos/wso2/people/sameera/work/p2-repo
>>>
>>> provaddartifactrepo
>>> https://wso2.org/repos/wso2/people/sameera/work/p2-repo
>>>
>>> provinstall
>>> org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 2.0.0
>>>
>>> Thanks
>>> Sameera
>>>
>>> [1] http://wso2.org/wiki/display/carbon/p2-based-provisioning-support
>>>
>>>>
>>>> Thanks,
>>>> Samisa...
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>
>>
>>
>> --
>> Samisa Abeysinghe
>> Director, Engineering - WSO2 Inc.
>>
>> http://www.wso2.com/ - "The Open Source SOA Company"
>
>
>
> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://www.wso2.com/ - "The Open Source SOA Company"
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
Using P2 based provisioning in WSO2 Carbon to install BAM data publishers.

Installing service stat publishers in WSAS 
===========================================

1. Start wsas with -DosgiConsole option. (applies to carbon 2.0.1. and 2.0.2)

wso2server.sh -DosgiConsole.
wso2server.bat -DosgiConsole.

2.  After starting the server add p2 provisioning based repo.
osgi> provaddrepo https://wso2.org/repos/wso2/people/sameera/work/p2-repo

3. Then add p2 artifact repo.
osgi> provaddartifactrepo 
https://wso2.org/repos/wso2/people/sameera/work/p2-repo

4. Install wsas service stat publisher.
osgi> provinstall org.wso2.carbon.bam.data.publisher.servicestats.feature.group 
2.0.0

5. shutdown the server.
osgi> shutdownCarbon

6. Start the server again.


Installing mediation stat publishers in ESB 2.1.2 ( applies to carbon 2.0.2)
===================================================================================

1. Start ESB with -DosgiConsole option. 

wso2server.sh -DosgiConsole.
wso2server.bat -DosgiConsole.

2.  After starting the server add p2 provisioning based repo for carbon 2.0.2
osgi> provaddrepo http://dist.wso2.org/p2/carbon/releases/2.0.2/

3. Then add p2 artifact repo for carbon 2.0.2
osgi> provaddartifactrepo http://dist.wso2.org/p2/carbon/releases/2.0.2/

4. Uninstall mediation stats component from ESB.
osgi> provuninstall org.wso2.carbon.mediation.statistics.server.feature.group 
2.0.2
osgi> provuninstall org.wso2.carbon.mediation.statistics.ui.feature.group 2.0.2

5. Again add the p2 repo for mediation stat publisher.
osgi> provaddrepo https://wso2.org/repos/wso2/people/sameera/work/p2-repo

6. Then add p2 artifact repo for mediation stat publishers. 
osgi> provaddartifactrepo 
https://wso2.org/repos/wso2/people/sameera/work/p2-repo

4. Install ESB mediation stat publisher.
osgi> provinstall 
org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 2.0.0

5. shutdown the server.
osgi> shutdownCarbon

6. Start the server again.

Installing mediation stat publishers in ESB 2.1.1 (carbon 2.0.1)
====================================================================

1. Start ESB with -DosgiConsole option. 

wso2server.sh -DosgiConsole.
wso2server.bat -DosgiConsole.

2.  After starting the server add p2 provisioning based repo for carbon 2.0.1
osgi> provaddrepo http://dist.wso2.org/p2/carbon/releases/2.0.1/

3. Then add p2 artifact repo for carbon 2.0.1
osgi> provaddartifactrepo http://dist.wso2.org/p2/carbon/releases/2.0.1/

4. Uninstall mediation stats component from ESB.
osgi> provuninstall org.wso2.carbon.mediation.statistics.server.feature.group 
2.0.1
osgi> provuninstall org.wso2.carbon.mediation.statistics.ui.feature.group 2.0.1

5. Again add the p2 repo for mediation stat publisher.
osgi> provaddrepo https://wso2.org/repos/wso2/people/sameera/work/p2-repo

6. Then add p2 artifact repo for mediation stat publishers. 
osgi> provaddartifactrepo 
https://wso2.org/repos/wso2/people/sameera/work/p2-repo

4. Install ESB mediation stat publisher.
osgi> provinstall 
org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 2.0.0

5. shutdown the server.
osgi> shutdownCarbon

6. Start the server again.



Installing Activity data publishers in WSAS 
==============================================

1. Start wsas with -DosgiConsole option. (applies to carbon 2.0.1. and 2.0.2)

wso2server.sh -DosgiConsole.
wso2server.bat -DosgiConsole.

2.  After starting the server add p2 provisioning based repo.
osgi> provaddrepo https://wso2.org/repos/wso2/people/sameera/work/p2-repo

3. Then add p2 artifact repo.
osgi> provaddartifactrepo 
https://wso2.org/repos/wso2/people/sameera/work/p2-repo

4. Install wsas service stat publisher.
osgi> provinstall provinstall 
org.wso2.carbon.bam.data.publisher.activity.feature.group 2.0.0

5. shutdown the server.
osgi> shutdownCarbon

6. Start the server again.
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to