Re: [Dev] [DEV][API-M] Question: Starting the API-M Nodes with Product Profiles

2015-12-19 Thread Nuwan Dias
AFAIK at the moment the publisher and store profiles are identical. This is
because we do not yet have control of webapp deployment through server
profiles. So both webapps would work in either profile or even without any
profile (default mode).

On Sat, Dec 19, 2015 at 5:22 PM, Pubudu Priyashan  wrote:

> Hi API-M team,
>
> I have a question regarding starting the nodes with
> -Dprofile=[profile_name] in a distributed setup. Let's say I have a setup
> as explained below.
>
> Setup:-
> Publisher/Store
> Gateway Manager
> Gateway Worker1
> Gateway Worker2
> Key Manager1
> Key Manager2
>
> DB:- DB of your choice
> LB:- Single Nginx LB used for all the above nodes
>
>
> So in above setup, I'm using a single server for both Publisher and Store.
> In this case, how would I use profiles to start the server? Can I use..
> sh wso2server.sh -Dprofile=api-store -Dprofile=api-publisher
> ..to start my publisher/store node? Or should I start it without using a
> profile at all? Also, how does this affect other nodes if I start this
> publisher/store node with or without a profile?
>

It doesn't have any effect on other nodes.

>
>
> Document:- https://docs.wso2.com/display/AM1100/Product+Profiles
>
> Cheers,
> Pubudu D.P
> Senior Software Engineer - QA Team | WSO2 inc.
> Mobile : +94775464547
>



-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][API-M] Question: Starting the API-M Nodes with Product Profiles

2015-12-19 Thread Pubudu Priyashan
Hi API-M team,

I have a question regarding starting the nodes with
-Dprofile=[profile_name] in a distributed setup. Let's say I have a setup
as explained below.

Setup:-
Publisher/Store
Gateway Manager
Gateway Worker1
Gateway Worker2
Key Manager1
Key Manager2

DB:- DB of your choice
LB:- Single Nginx LB used for all the above nodes


So in above setup, I'm using a single server for both Publisher and Store.
In this case, how would I use profiles to start the server? Can I use..
sh wso2server.sh -Dprofile=api-store -Dprofile=api-publisher
..to start my publisher/store node? Or should I start it without using a
profile at all? Also, how does this affect other nodes if I start this
publisher/store node with or without a profile?

Document:- https://docs.wso2.com/display/AM1100/Product+Profiles

Cheers,
Pubudu D.P
Senior Software Engineer - QA Team | WSO2 inc.
Mobile : +94775464547
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev