dynamic resource allocation using virtual machines for cloud computing environment

32
DYNAMIC RESOURCE ALLOCATION USING VIRTUAL MACHINES FOR CLOUD COMPUTING ENVIRONMENT S.SAI KIRAN REDDY (11QA1A05A6) Project coordinator Project coordinator Mrs.R.Usha Rani,M.Tech. Mrs.R.Usha Rani,M.Tech. Associate professor Associate professor DEPT OF CSE DEPT OF CSE Project guide Project guide Mr.A.Gopi,M.Tech. Mr.A.Gopi,M.Tech. Associate professor Associate professor DEPT OF CSE DEPT OF CSE

Upload: saikiranreddy-sama

Post on 16-Jul-2015

326 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

DYNAMIC RESOURCE ALLOCATION USING VIRTUAL MACHINES FOR CLOUD COMPUTING ENVIRONMENT

S.SAI KIRAN REDDY (11QA1A05A6)

Project coordinatorProject coordinatorMrs.R.Usha Rani,M.Tech.Mrs.R.Usha Rani,M.Tech.

Associate professorAssociate professorDEPT OF CSEDEPT OF CSE

Project guideProject guideMr.A.Gopi,M.Tech.Mr.A.Gopi,M.Tech.Associate professorAssociate professor

DEPT OF CSEDEPT OF CSE

Page 2: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

CONTENTS

• Abstract• Introduction• Existing System• Proposed System

• System Requirements• Modules• UML Diagrams

• Screenshots• Conclusion

• Future Enhancements

Page 3: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

ABSTRACT Cloud computing allows business customers

to scale up and down their resource usage based on needs. Many of the touted gains in the cloud model come from resource multiplexing through virtualization technology.

In this paper, we present a system that uses virtualization technology to allocate data center resources dynamically based on application demands and support green computing by optimizing the number of servers in use

Page 4: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

INTRODUCTION

• WE PRESENT A SYSTEM THAT USES VIRTUALIZATION TECHNOLOGY TO ALLOCATE DATA CENTER RESOURCES DYNAMICALLY.

• WE INTRODUCE THE CONCEPT OF “SKEWNESS”. • BY MINIMIZING SKEWNESS, WE CAN COMBINE

DIFFERENT TYPES OF WORKLOADS NICELY AND IMPROVE THE OVERALL UTILIZATION OF SERVER RESOURCES.

• WE DEVELOP A SET OF HEURISTICS THAT PREVENT OVERLOAD IN THE SYSTEM EFFECTIVELY WHILE SAVING ENERGY USED.

Page 5: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

EXISTING SYSTEM• VIRTUAL MACHINE MONITORS (VMMS) LIKE XEN

PROVIDE A MECHANISM FOR MAPPING VIRTUAL MACHINES (VMS) TO PHYSICAL RESOURCES.

• THIS MAPPING IS LARGELY HIDDEN FROM THE CLOUD USERS.

• IT IS UP TO THE CLOUD PROVIDER TO MAKE SURE THE UNDERLYING PHYSICAL MACHINES (PMS) HAVE SUFFICIENT RESOURCES TO MEET THEIR NEEDS.

• VM LIVE MIGRATION TECHNOLOGY MAKES IT POSSIBLE TO CHANGE THE MAPPING BETWEEN VMS AND PMS WHILE APPLICATIONS ARE RUNNING.

Page 6: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

PROPOSED SYSTEM• WE PRESENT THE DESIGN AND IMPLEMENTATION OF AN

AUTOMATED RESOURCE MANAGEMENT SYSTEM THAT ACHIEVES A GOOD BALANCE BETWEEN OVERLOAD AVOIDANCE AND GREEN COMPUTING

▫ OVERLOAD AVOIDANCE: THE CAPACITY OF A PM SHOULD BE SUFFICIENT TO SATISFY THE RESOURCE NEEDS OF ALL VMS RUNNING ON IT. OTHERWISE, THE PM IS OVERLOADED AND CAN LEAD TO DEGRADED PERFORMANCE OF ITS VMS.

▫ GREEN COMPUTING: THE NUMBER OF PMS USED SHOULD BE MINIMIZED AS LONG AS THEY CAN STILL SATISFY THE NEEDS OF ALL VMS. IDLE PMS CAN BE TURNED OFF TO SAVE ENERGY.

• WE DEVELOP A RESOURCE ALLOCATION SYSTEM THAT CAN AVOID OVERLOAD IN THE SYSTEM EFFECTIVELY WHILE MINIMIZING THE NUMBER OF SERVERS USED.

Page 7: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

MODULES

CLOUD COMPUTING MODULE. RESOURCE MANAGEMENT MODULE. VIRTUALIZATION MODULE. GREEN COMPUTING MODULE.

Page 8: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

CLOUD COMPUTING MODULE• Cloud computing refers to applications and services

offered over the Internet. These services are offered from data centers all over the world, which collectively are referred to as the "cloud."

• Cloud computing is a movement away from applications needing to be installed on an individual's computer towards the applications being hosted online. Cloud resources are usually not only shared by multiple users but as well as dynamically re-allocated as per demand. This can work for allocating resources to users in different time zones.

Page 9: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

RESOURCE MANAGEMENT MODULE• Dynamic resource management has become an active area of

research in the Cloud Computing paradigm. Cost of resources varies significantly depending on configuration for using them. Hence efficient management of resources is of prime interest to both Cloud Providers and Cloud Users.

• The success of any cloud management software critically de-pends on the flexibility; scale and efficiency with which it can utilize the underlying hardware resources while pro-viding necessary performance isolation.

• Successful resource management solution for cloud environments, needs to provide a rich set of resource controls for better isolation, while doing initial placement and load balancing for efficient utilization of underlying resources.

Page 10: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

VIRTUALIZATION MODULE• Virtualization, in computing, is the creation of a virtual

(rather than actual) Version of something, such as a hardware platform, operating system, and a storage device or network resources. VM live migration is a widely used technique for dynamic resource allocation in a virtualized environment.

• The process of running two or more logical computer system so on one set of physical hardware. Dynamic placement of virtual servers to minimize SLA(Service level agreement) violations.

Page 11: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

GREEN COMPUTING MODULE• Many efforts have been made to curtail energy

consumption. Hardware based approaches include novel thermal design for lower cooling power, or adopting power-proportional and low-power hardware. Dynamic Voltage and Frequency Scaling (DVFS) to adjust CPU power according to its load in data centers.

• Our work belongs to the category of pure-software low-cost Solutions. It requires that the desktop is virtualized with shared storage. Green computing ensures end user satisfaction, regulatory compliance, telecommuting, virtualization of server resources.

Page 12: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

UML DIAGRAMS

Register

Login

viewCloudUserRequests

viewCloudSites

viewServerStatus

resourceGraph

serviceProvider

logOut

Use Case DiagramUse Case Diagram

Page 13: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Class DiagramClass Diagram

serviceProviderLogin

userNamepassword

login()clear()

cloudUserLogn

email idpassword

login()clear()

ServiceProvider

serverNamesdomainNames

viewCloudUserRequest()viewCloudSites()serverStatus()viewResourceGraph()

CloudUSer

domainNamessiteNamepaymentCardName

domainRegistration()crateSite()viewProfile()viewSiteStatus()

Register

iduserNamepasswordemailphoneNo

register()clear()

Page 14: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Sequence DiagramSequence DiagramserviceProvider Register Login viewCloudUser

RequestsviewCloudSites vieServerStatus viewResource

GraphAmazon

S23(Database)

enterRegistrationDetails store in DB

registeredregisteredSuccessfully

enter uname&password verify

verifiedloginSuccessfully

views cloud user request retrive form DB

views websites hosted in the cloud retrive from DB

viewing the status of servers i.e memory alloted or availablememory get from DB

views Memory alloxcation Status in Graphical formatretrive from DB

Page 15: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

State Chart Diagram

Register

Login

viewCloudUSerRequests viewCloudSites viewServerStatus viewresourceGraph

LogOut

Page 16: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

ARCHITECHTURE

Page 17: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

SOFTWARE REQUIREMENTS• Operating System : Windows• Technology : Java and J2EE• Web Technologies : Html, JavaScript, CSS• IDE : My Eclipse• Web Server : Tomcat• Cloud Tool : SDB Navigator• Database : My SQL• Java Version : J2SDK1.5

Page 18: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

HARDWARE REQUIREMENTS

• Hardware : Pentium • Speed : 1.1 GHz• RAM : 1GB• Hard Disk : 20 GB• Floppy Drive : 1.44 MB• Key Board : Standard Windows Keyboard• Mouse : Two or Three Button Mouse• Monitor : SVGA

Page 19: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

SCREENSHOTS - Home Page

Page 20: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Cloud Service Provider Login

Page 21: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Cloud Service Provider After Login

View Cloud Sites

Page 22: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Server Status

User Requests

Page 23: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Cloud User details

User Request

Page 24: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Cloud User Registration & Login

Cloud User Login

Page 25: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Domain Register

Page 26: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Site Status and Site Upload

Page 27: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Site Hosting By Admin

Page 28: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Navigator Tool - Cloud

Page 29: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Site After Hosting - Live

Page 30: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

CONCLUSION• WE HAVE PRESENTED THE DESIGN AND EVALUATION OF A

RESOURCE MANAGEMENT SYSTEM FOR CLOUD COMPUTING SERVICES.

• OUR SYSTEM MULTIPLEXES VIRTUAL TO PHYSICAL RESOURCES ADAPTIVELY BASED ON THE CHANGING DEMAND.

• WE USE THE SKEWNESS METRIC TO COMBINE VMS WITH DIFFERENT RESOURCE CHARACTERISTICS APPROPRIATELY SO THAT THE CAPACITIES OF SERVERS ARE WELL UTILIZED.

• OUR ALGORITHM ACHIEVES BOTH OVERLOAD AVOIDANCE AND GREEN COMPUTING FOR SYSTEMS WITH MULTI-RESOURCE CONSTRAINTS.

Page 31: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

Future Enhancements

• Maintenance is the last phase in the software engineering process. As more programs are developed, a distributing trend has emerged the amount of effort and a resource expended on software maintenance is growing. In total project development maintenance takes 65% of effort.

• So we will take lead on this and Strive to Produce More better Experience to Users according to the Changing Technology.

Page 32: Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment

THANK YOU!