Skip to content

e0828330/cloudSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

191 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudSimulator

Building

The code can be compiled using maven:

cd cloudSimulator
mvn package

Running

You need a local monogdb instance for the simulator to work. The database with the weather forecast data can be found in the weather.mongodump directory.

Once mongodb is running and have the data imported into it you can start the simulation:

cd cloudSimulator
java -jar target/cloudSimulator-0.0.1-SNAPSHOT.jar src/main/resources/config.ini

You can either edit the config file in place or pass a different config file as parameter.

The comments in the config file explain the meaning of the parameters.

Viewing the results

Once the run is finished three json files will be generated in a temporary location. The simulator will print out the locations of the files at the end of the run.

The files (energy-costs and sla-costs) can be visualized using the HTML5 tool in visualizer/index.html . It can be opened by any HTML5 capable browser like recent firefox or google chrome.

The vmcount file which contains the vm migrations can be viewed using visualizer/vmcount.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors