Updated Branches: refs/heads/master f45792926 -> 68bfd33bb
Update stratos installer README Signed-off-by: Manula Thantriwatte <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/68bfd33b Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/68bfd33b Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/68bfd33b Branch: refs/heads/master Commit: 68bfd33bbd27688f2bca83d9e5ea866481ecadec Parents: f457929 Author: Dinesh Bandara <[email protected]> Authored: Fri Jan 31 14:16:31 2014 +0530 Committer: Manula Thantriwatte <[email protected]> Committed: Fri Jan 31 14:57:03 2014 +0530 ---------------------------------------------------------------------- tools/stratos-installer/README.txt | 38 +++++++++++++-------------------- 1 file changed, 15 insertions(+), 23 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/68bfd33b/tools/stratos-installer/README.txt ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/README.txt b/tools/stratos-installer/README.txt index 1e6a293..dbfcca9 100644 --- a/tools/stratos-installer/README.txt +++ b/tools/stratos-installer/README.txt @@ -19,10 +19,8 @@ How to Install java -jdk1.6.x git - facter zip - mysql-server - Gitblits + mysql-server 2. Build Apache Stratos from source: @@ -33,42 +31,36 @@ How to Install 3. Copy cloud controller, stratos manager, autoscaler and cli packages to a desired location (this will be identified as stratos-pack-path): cp incubator-stratos/products/cloud-controller/modules/distribution/target/apache-stratos-cc-<version>.zip <stratos-pack-path> - cp incubator-stratos/products/stratos-manager/modules/distribution/target/apache-stratos-sc-<version>.zip <stratos-pack-path> - cp incubator-stratos/products/autoscaler/modules/distribution/target/apache-stratos-elb-<version>.zip <stratos-pack-path> + cp incubator-stratos/products/stratos-manager/modules/distribution/target/apache-stratos-manager-<version>.zip <stratos-pack-path> + cp incubator-stratos/products/autoscaler/modules/distribution/target/apache-stratos-autoscaler-<version>.zip <stratos-pack-path> -4. Download WSO2 Message Broker binary distribution from http://wso2.com/products/message-broker/ and copy it to stratos-pack-path. Here you could use any preferred +4. Copy cep extensions jaf file to stratos-pack-path. + + cp incubator-stratos/extensions/cep/stratos-cep-extension/target/org.apache.stratos.cep.extension-<version>.jar <stratos-pack-path> + +5. Download WSO2 Message Broker binary distribution from http://wso2.com/products/message-broker/ and copy it to stratos-pack-path. Here you could use any preferred message broker product which supports AMQP. Message broker is used for communication of Stratos products,here we show how to use WSO2 MB for this. -5. Download WSO2 Complex Event Processor binary distribution from http://wso2.com/products/complex-event-processor/ and copy it to stratos-pack-path. +6. Download WSO2 Complex Event Processor binary distribution from http://wso2.com/products/complex-event-processor/ and copy it to stratos-pack-path. -6. Download MySql Java connector from http://dev.mysql.com/downloads and copy the jar file to stratos-pack-path. +7. Download MySql Java connector from http://dev.mysql.com/downloads and copy the jar file to stratos-pack-path. -7. Create and download keys from IaaSs and store them on a secure location. +8. Create and download keys from IaaSs and store them on a secure location. -8. If Apache Stratos being setup in multiple nodes open up the security rules in IaaSs for the following ports (defined in ./conf/setup.conf file): - autoscalert_https_port, autoscaler_http_port, cassandra_port, stratos_db_port, userstore_db_port +9. If Apache Stratos being setup in multiple nodes open up the security rules in IaaSs for ports which are used in cloud controller, stratos manager, autoscaler, + WSO2 Message Broker and WSO2 Complex Event Processor as well as stratos_db_port, userstore_db_port ports (defined in ./conf/setup.conf file). -9. Either download pre-built cartridge images from Apache Stratos website or create your own cartridges. Please refer Apache Stratos documentation +10. Either download pre-built cartridge images from Apache Stratos website or create your own cartridges. Please refer Apache Stratos documentation for more information on creating cartridge images. For Amazon EC2, you could find pre-built PHP, MySQL and Tomcat cartridges published in Amazon EC2 AMI image repository. -10. If all stratos products are installed on the same node, update /etc/hosts file with a set of domain/host names mapping each product. These values - should be updated on conf/setup.conf file. If they are installed on different nodes use actual hostnames. - - <ip-address> stratos.apache.org # stratos domain - <ip-address> mb.stratos.apache.org # message broker hostname - <ip-address> cc.stratos.apache.org # cloud controller hostname - <ip-address> sc.stratos.apache.org # stratos controller hostname - <ip-address> elb.stratos.apache.org # elastic load balancer hostname - <ip-address> agent.stratos.apache.org # agent hostname - 11. Update ./conf/setup.conf and configure settings. 12. Run setup.sh as root to install. sudo ./setup.sh -p "<product-list>" - <product-list> could be defined as "cc sc elb agent" or any other combination according to the deployment configuration. + <product-list> could be defined as "cc sm as mb cep" or any other combination according to the deployment configuration. Example: sudo ./setup.sh -p "all"
