WSO2 Stratos 1.6 – How to intall and Configure

Posted: February 12, 2013 in cloud, stratos, stratos1.6, wso2

Prerequisites

1. MySQL Server
Download the setup from http://dev.mysql.com/downloads/mysql/ or in Ubuntu

sudo apt-get install mysql-server

2. Stratos assumes the password of MySQL is ‘root’. So change mysql root password to root

mysqladmin -u root -p 'oldpassword' password root

Step 1-Download the local WSO2 Stratos setup version 1.6 from http://wso2.com/cloud/stratos/. Extract the downloaded setup and go inside the folder. We will name this folder as

Step 2- To initialise the setup run ./initialize.sh In initialization, appropriate database tables and database users and required configurations will be created.

./initialize.sh

Step 3- Add following entry to /etc/hosts file. So below links will points to localhost

127.0.0.1 stratos-local.wso2.com
127.0.0.1 management.appserver.stratos-local.wso2.com
127.0.0.1 appserver.stratos-local.wso2.com
127.0.0.1 management.esb.stratos-local.wso2.com
127.0.0.1 esb.stratos-local.wso2.com
127.0.0.1 management.data.stratos-local.wso2.com
127.0.0.1 data.stratos-local.wso2.com
127.0.0.1 monitor.stratos-local.wso2.com
127.0.0.1 management.process.stratos-local.wso2.com
127.0.0.1 process.stratos-local.wso2.com
127.0.0.1 governance.stratos-local.wso2.com
127.0.0.1 identity.stratos-local.wso2.com
127.0.0.1 storage.stratos-local.wso2.com
127.0.0.1 cep.stratos-local.wso2.com
127.0.0.1 task.stratos-local.wso2.com
127.0.0.1 messaging.stratos-local.wso2.com
127.0.0.1 management.rule.stratos-local.wso2.com
127.0.0.1 rule.stratos-local.wso2.com
127.0.0.1 cloudgateway.stratos-local.wso2.com

To start a services
./stratos.sh start ‘service list separated by spaces’

Example: To start ESB Management node and Appserver worker node 

./stratos.sh start 'esb_mgt as_worker'

Please note that you may need super user privileges to start or stop elb as it runs on standard http and https ports. And also please make sure none other services are running on port 443 or 80.(apache, etc) To stop a services ./stratos.sh stop ‘service list separated by spaces’ Example: To stop ESB Management node and Appserver worker node

./stratos.sh stop 'esb_mgt as_worker'

 Note : manager service and elb service should be started first in order to start the Stratos

./stratos.sh start manager
sudo ./stratos start elb
About these ads
Comments
  1. Vijay says:

    Hi ,

    Its a nice blog with good information.
    I am trying to install wso2 stratos 2.0 in amazon instance..
    Could you please guide me or provide me the steps for installing stratos 2.0..

    Regards,
    Vijay

  2. udaraliyanage says:

    Hi Viraj,

    It’s great you have a good interest in WSO2 Stratos.

    Please fallow the quick user guide at [1]. We have already created and configured Amazon EC2 images.If you have any more questions feel free to ask.

    [1] http://docs.wso2.org/display/Stratos200/Quick+Start+Guide

  3. Vijay says:

    Hi,

    Thanks for your reply,
    Steps to configure Wso2 Stratos locally.
    It would be great help.

    Regards,
    Vijay

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s