Thursday, September 8, 2011

WORKING WITH CLOUDANALYST

1. Goto the link http://www.cloudbus.org/cloudsim/ and download CloudAnalyst 
2.  Unzip the file into E:\
3.Open E:\ drive, double-click the cloudanalyst folder 
4.You can find a 'run' batch file . If you are working in windows double click it.
       For OS other than windows, use the following command
               java -cp jars/simjava2.jar;jars/gridsim.jar;jars/iText-2.1.5.jar;classes;. cloudsim.ext.gui.GuiMain

5.You will get the screen


CloudAnalyst divides the world in to 6 regions that coincide roughly with the
six main continents . To view click on the "Show Region Boundaries" at the bottom right.
6. Click  "Configure Simulation" tab and selected need options using "Add New" and click "Save Configuration" button seen on the bottom. And then click " Done"
7. Similarly click the "Define internet characteristics" tab and do neccessary changes and click "Done"
8. Finally click on the ""Run Simulation" tab.

WORKING WITH CLOUDSIM

1. You need java jdk1.6 or newer. So make sure its availability

2. Download cloudsim package (cloudsim2.1.1 zip file) from the link http://www.cloudbus.org/cloudsim/ to any of your folder (For instance E:\)

3.Now go to command prompt
        Run->cmd
4.In the command prompt type the following one by one

  • E:
  • cd cloudsim-2.1.1\jars
  • java -classpath cloudsim-2.1.1.jar;cloudsim-examples-2.1.1.jar   org.cloudbus.cloudsim.examples.CloudSimExample1