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.
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.
You only need to install Maven, JDK, Git and Apache ActiveMQ when working on a Mock IaaS.
Navigate to the <apache-stratos-version-SNAPSHOT>/bin/
directory, which is in the unzipped Stratos distribution.
cd <apache-stratos-version-SNAPSHOT>/bin/
Start Stratos.
./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):
Ensure that all the following prerequisites have been met based on your environment and IaaS.
You only need to install Maven, JDK, Git and Apache ActiveMQ when working on a Mock IaaS.
Configure and start the Mock IaaS.
Follow the instructions below to configure and start the Mock IaaS.
Configure the Cloud Controller (CC).
Navigate to the <apache-stratos-version-SNAPSHOT>/bin/
directory, which is in the unzipped Stratos distribution.
cd <apache-stratos-version-SNAPSHOT>/bin/
Start the Stratos distribution with the mock-iaas
server profile.
./stratos.sh -Dprofile=mock-iaas
Install Stratos Manager, Cloud Controller and Auto-scaler on separate Java virtual machines. For more information, see Installing Stratos in a Distributed Setup Using the Installer.