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. |
Follow the instructions below to install Stratos with the Mock IaaS in a single JVM setup:
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 | ||||||
---|---|---|---|---|---|---|
|
Navigate to the <apache-stratos-version-SNAPSHOT>/bin/
directory, which is in the unzipped Stratos distribution.
Code Block |
---|
cd <apache-stratos-version-SNAPSHOT>/bin/ |
Start Stratos.
Code Block |
---|
./stratos.sh |
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):
...