OpenTOSCA Ecosystem

Version v1.1 is the current stable version of the OpenTOSCA ecosystem.

Contact

If you need support, contact us at opentosca@iaas.uni-stuttgart.de.

Documentation

Installation

Automated installation

Run this command and some minutes later you’ve a running OpenTOSCA instance (tested for Ubuntu).

Amazon EC2

[v1.1, STABLE] Short version: wget -qO- https://raw.githubusercontent.com/OpenTOSCA/OpenTOSCA.github.io/v1.1/installEC2 | sh
[testing, UNSTABLE] Short version: wget -qO- http://install.opentosca.org/installEC2 | sh

Step by step:

  1. Create Security group (same region as the EC2 instance!) with at least TCP ports 22, 1337, 8080, 9443 and 9763 open
  2. Create Key Pair
    1. Open: https://console.aws.amazon.com/ec2
    2. Select AWS region in top right
    3. Click “Key Pairs” in the menu on the bottom left
    4. Click Create Key Pair
    5. Provide a KeyName
    6. Store key to your local machine (If you want to connect via SSH to the machine OpenTOSCA is installed on, you will need this key.)
  3. Create EC2 instance
    1. Key: Select key created before
    2. AMI: Ubuntu Server 12.04.2 LTS 64bit (AMI id for your region: http://cloud-images.ubuntu.com/locator/ec2/)
    3. Size: m1.medium or larger
    4. Security Group: Select security group created before
    5. Connect to the instance using SSH
    6. [v1.1, STABLE] Run wget -qO- https://raw.githubusercontent.com/OpenTOSCA/OpenTOSCA.github.io/v1.1/installEC2 | sh
    7. [testing, UNSTABLE] Run wget -qO- http://install.opentosca.org/installEC2 | sh
    8. Wait for ~10 min
    9. Open http://<publicDNS>:8080/

OpenStack

[v1.1, STABLE] Short version: wget -qO- https://raw.githubusercontent.com/OpenTOSCA/OpenTOSCA.github.io/v1.1/installOpenStack | sh
[testing, UNSTABLE] Short version: wget -qO- http://install.opentosca.org/installOpenStack | sh

Step by step:

  1. Create Security group with at least TCP ports 22, 1337, 8080, 9443 and 9763 open
  2. Create Keypair
  3. Launch Instance
    1. Flavor: m1.medium or larger
    2. Instance Boot Source: Boot from image
    3. Image Name: Ubuntu Server 12.04 or 13.04
    4. Access & Security Tab: Select keypair and security group created before
    5. Assign floating IP to instance
    6. Connect to the instance using SSH
    7. [v1.1, STABLE] Run wget -qO- https://raw.githubusercontent.com/OpenTOSCA/OpenTOSCA.github.io/v1.1/installOpenStack | sh
    8. [testing, UNSTABLE] Run wget -qO- http://install.opentosca.org/installOpenStack | sh
    9. Wait for ~10 min
    10. Open http://<publicDNS>:8080/

Generic Script

[v1.1, STABLE] Short version: wget -qO- https://raw.githubusercontent.com/OpenTOSCA/OpenTOSCA.github.io/v1.1/install | sh
[testing, UNSTABLE] Short version: wget -qO- http://install.opentosca.org/install | sh

Step by step:

  1. Run wget -qO- http://install.opentosca.org/install | sh
  2. After the installation and start up completed (~10min), you’ve a running OpenTOSCA instance
  3. Open http://<HOST>:8080/

Remarks

Amazon CloudFormation

[testing, UNSTABLE] Short version: CloudFormation Template

Step by step:

  1. Open https://console.aws.amazon.com/cloudformation
  2. Create a new stack in region of your choice
  3. Select “Upload a Template File” and upload this template: http://install.opentosca.de/cloudformation.template
  4. Input
    1. KeyName
      1. Name of the EC2 Key Pair to access the created instance
      2. Step 2 of the automated installation on Amazon EC2 shows how to create a new key pair
    2. InstanceType
      1. Default is m1.medium
      2. Smaller instance types don’t work! (not enough memory)
  5. Create Stack

Manual Installation of OpenTOSCA Container

Step by step:

  1. Install Java 7 and Tomcat 7.x (Packages: tomcat7 and tomcat7-admin)
  2. Add CATALINA_OPTS=\"-Xms512m -Xmx1024m\" to file /etc/default/tomcat7
  3. Replace tomcat-users.xml in /var/lib/tomcat7/conf/
  4. Copy WARs ROOT.war, admin.war, vinothek.war) into Tomcat webapps folder
  5. Download and unzip OpenTOSCA.zip and wso2bps-2.1.2.zip
  6. Rename folder wso2bps-2.1.2 to wso2bps
  7. Install BPEL4Rest extension on BPS
    1. Copy bpel4restlight1.1.jar into folder wso2bps/repository/components/lib/
    2. Replace bps.xml in wso2bps/repository/conf/
  8. (Re)start Tomcat
  9. Start WSO2BPS (wso2bps/bin/wso2server.sh or wso2server.bat) and wait until started
  10. Start OpenTOSCA (OpenTOSCA/startup.sh or startup.bat) and wait until started
  11. Open: http://<HOST>:8080/

Repositories

Known Major Issues