Friday, 17 March 2017

Understanding and Installation of a Cloud Simulator - CloudSim

CloudSim is a toolkit(library of java classes). It supposrts for modeling & simulation of large scale cloud computing infrastructure, including data centers on a single physical computing node. Availability of virtualization engine, which aids in creation and management of multiple independent and co-hosted virtualized services on a datacenter node. Provide classes for describing data centers, virtual machines, applications, users, resources and policies(scheduling & provisioning).

Architectural Components for Modeling the Cloud

  • Datacenter - Model the core infrastructure level service (h/w)
  • Set of Hosts - Physical Node
  • Virtual Machine - Host can simultaneously host multiple virtual machine
  • Models the cloud based application services which are commonly deployed in the data centers

Install the Cloudsim Package in Eclipse

  • Extract the cloudsim in a directory of your choice
  • In Eclipse, Choose File->New->JavaProject
  • Write the project name
  • Uncheck the default location
  • Browse the target it to where you extracted the CloudSim
  • NEXT
  • FINISH

See the Eclipse setup here

See the Netbeans setup here

CloudSim Simulation Process

1. Initialize ClodSim Package
2. Create Datacenter
3. Creation of Broker
4. Virtual Machine Creation
5. Creation of Cloudlet
6. Start Simulation
5. Stop Simulation

Example:- How to create a datacenter with one host and run one cloudlet on it.

See the java code here

No comments:

Post a Comment