Is there an installation and configuration guide for Stratos 1.6?
Stratos 1.6 comes as a downloadable pack (which is called the Stratos Local Setup). You can download it from here. It contains a readme and necessary scripts to get you started. Download it and try.
Stratos manager is the entry point for Stratos cloud services. So Manager and ELB services should be started in order to access cloud services.
Can you give more details on the database issues you faced. When errors are thrown and what erros are thrown etc.
meetudara.blogspot.com/2013/02/wso2-stratos-16-how-to-intall-and.html
Related
I am trying to access the registry of WSO2 BPS and WSO2 ESB from Java in order to automatically fill the registry based on the data I provide.
I have already found a number of resources about the required Java code and dependencies, this being the most helpful one: [WSO2 Governance Registry]Using WSRegistryServiceClient. However, the approach described in these resources depends on the WSRegistryService service. This service is included in Governance Registry by default, but not in the other WSO2 products. I have verified that my code works for the Governance Registry. For any other WSO2 product on my machine, I get this error:
The service cannot be found for the endpoint reference (EPR) https://localhost:9445/services/WSRegistryService
I found an old thread suggesting that it should be possible to install the WSRegistryService on other WSO2 products as well, but I have not been able to find out how to do so. I can't seem to find it within the features I can install from the web console of the products. I have also tried manually copying the relevant jar from the plugins directory of Governance Registry into the plugins directory of other products, but that doesn't seem to be sufficient.
Note that my application for filling the registry will not be running on the carbon server whose registry I want to access, so using CarbonContext.getThreadLocalCarbonContext() (an approach I found in some other articles) is not an option.
I think your referring to how to install features to WSO2 products,
Please find this documentation.
We're running the WSO2 API Manager 1.4 and would like to upgrade to the latest version 1.6. Can we go directly to 1.6 or do we have to upgrade to 1.5 first? Mainly I'm just concerned regarding the DB migration, as these scripts only seem to be relevant for single version increments. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.6.0/modules/distribution/resources/
Thanks.
As you said, for the databases migrations, you can execute migration-1.4.0_to_1.5.0 and migration-1.5.0_to_1.6.0 SQLs sequentially.
It's important to note that API Manager 1.4.0 is based Carbon 4.1.x and API Manager 1.6.0 is based on Carbon 4.2.0. See Release Matrix for WSO2 Products.
This means that the underlying clustering, registry and user-mgt have some major changes. The API Manager related configurations also has changed.
Therefore my advice is to do as follows.
Backup your existing database and API Manager 1.4.0 deployment.
Migrate databases in an incremental manner.
Re-do all configurations in API Manager 1.6.0 instances. i.e. direct migration from 1.4.0 to 1.6.0. You may compare your API Manager 1.4.0 repository/conf files with a fresh wso2am-1.4.0 pack.
I hope this helps!
You can folow below posts in order. Post [1] provides the migration instructions for wso2 api manager 1.4.0 to 1.5.0. Post [2] provides instructions for migrating from 1.5.0 to 1.6.0.
[1]http://blog.lakmali.com/2013/11/migrating-wso2-api-manager-140-to-150.html
[2]http://blog.lakmali.com/2013/12/migrating-wso2-api-manager-150-to-160.html
currently I´m evaluating WSO2 Stratos LIVE as a public PaaS. I did much research but there are still some questions:
1.) Does WSO2 Stratos Live offer a "multi-tenancy-api" to make Java web applications multi-tenant-aware (something like the Google App Engine Namespace API)?
2.) Is the cartridge-based architecture available (like in WSO2 Stratos 2)?
3.) Are there official API documentations / code samples for all the cloud services? I just found blog posts and webinars. But an official api documentation and code samples would be very great (for example how to unse Identity Server for authentication in Java web applications).
4.) Based on WSO2 API Manager deployment on Stratos, I assume that the API manager is not available as cloud-service?
5.) Do I have hosting options on Stratos Live (e.g. Java Version, the country / Data Center where my app will be hosted)?
6.) Does exist a logs-api to access application logs from my application?
7.) Are there apis for data handling (for example Map Reduce, execution of cron jobs, CDN)?
8.) Do I have a local test environment? I know that there are IDE plugins for an easy deployment. But is it possible to test my app with all WSO2 Stratos Live cloud services local on my machine without connecting to the real services?
I know this is a lot but it would be more than helpful if the WSO2 professionals would help me to answer those questions. As I said, I did much research but those 8 questions are still open.
Thanks a lot and best regards
Ben
See the answers in-line.
1.) Does WSO2 Stratos Live offer a "multi-tenancy-api" to make Java web applications multi-tenant-aware (something like the Google App Engine Namespace API)?
Yes. Your web app can be multi-tenanted.
http://www.youtube.com/watch?v=_lEwm6VzAmo&noredirect=1
http://www.slideshare.net/afkham_azeez/building-a-multitenanted-cloudnative-appserver
2.) Is the cartridge-based architecture available (like in WSO2 Stratos 2)?
Not yet. But our plan is to make Stratos2.0 as the foundation of StratosLive. This will be done after the GA release of Stratos2.0 (it is now in beta stage)
3.) Are there official API documentations / code samples for all the cloud services? I just found blog posts and webinars. But an official api documentation and code samples would be very great (for example how to unse Identity Server for authentication in Java web applications).
All the documents and samples available for WSO2 products are valid for StratosLive. Reason is, we have deployed the very same product in the cloud. We are in the process of filling the documentation gap with regards to StratosLive at the moment.
4.) Based on WSO2 API Manager deployment on Stratos, I assume that the API manager is not available as cloud-service?
Not yet. It will be available in the future.
5.) Do I have hosting options on Stratos Live (e.g. Java Version, the country / Data Center where my app will be hosted)?
No. StratosLive uses shared instances to achieve multi-tenantcy (not like some other PaaSes which uses a JVM per tenant). Therefore, hosting options are not available.
6.) Does exist a logs-api to access application logs from my application?
Yes. We allow the tenants to view system logs and application logs. Unfortunately the API for log viewing is not documented yet.
http://sparkletechthoughts.blogspot.com/2012/09/how-distributed-logging-works-in-wso2.html
7.) Are there apis for data handling (for example Map Reduce, execution of cron jobs, CDN)?
Map reduce related tasks can be handled using toolboxes which can be deployed in WSO2 BAM (monitor.stratoslive.wso2.com). Please check the WSO2 BAM2 documentation for more info.
8.) Do I have a local test environment? I know that there are IDE plugins for an easy deployment. But is it possible to test my app with all WSO2 Stratos Live cloud services local on my machine without connecting to the real services?
You can download and use the Stratos local setup which can be found at http://wso2.com/cloud/stratos
is there anyway to run WSO2 Stratos server from Developer Studio?
I saw there is maven plugin available but didn't see any example. Please share if somebody has done before.
Stratos is not a single server. It's a combination of services running on different JVM instances. Thus, cannot run from Developer Studio.
Is the "storage server" included in any wso2 stratos vmware image ?
In which version ?
I ask it because I see that it's available on stratos live.
I would like to install it on premise using a vmware image
Storage server 1.0.3 is now available as a separate product. You can downloaded it from here.
Storage Server is available with the Stratos 1.6 local setup. It is a new addition to StratosLive. It is not yet available as a separate product to download.