Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Mock IaaS feature in Stratos simulates the basic features that Stratos requires from an IaaS. Thereby, providing a cost effective way of trying out Stratos. For information on Mock IaaS, see  Apache Stratos Mock IaaS. Stratos can be installed with the Mock IaaS either on a single Java virtual machine (JVM) or in a distributed setup using multiple JVMs.

Note

The Mock IaaS is started in a distributed setup only when testing Stratos products in a clustering setup. 

Install Stratos with the Mock IaaS in a single JVM setup

Follow the instructions below to install Stratos with the Mock IaaS in a single JVM setup:

  1. Ensure that all the following prerequisites have been met based on your environment and IaaS.

    Info

    You only need to install Maven, JDK, Git and Apache ActiveMQ when working on a Mock IaaS.

    Excerpt Include
    4.1.x Install Stratos with EC2 in a Testing Environment
    4.1.x Install Stratos with EC2 in a Testing Environment
    nopaneltrue

  2. Navigate to the <apache-stratos-version-SNAPSHOT>/bin/ directory, which is in the unzipped Stratos distribution.

    Code Block
    cd <apache-stratos-version-SNAPSHOT>/bin/
  3. Start Stratos. 

    Code Block
    ./stratos.sh

Install Stratos with the Mock IaaS in a distributed setup

The Mock IaaS is started in a distributed setup only when it is needed to test  clustering. When Mock IaaS is started in a distributed setup, Stratos Manager (SM), Cloud Controller (CC), Auto-scaler (AS) and the Mock IaaS are started on separate servers.  Follow the instructions below to install Stratos with the Mock IaaS in a distributed setup, which utilizes multiple Java virtual machines (JVMs):

...