ImageVerifierCode 换一换
格式:DOCX , 页数:7 ,大小:38.61KB ,
资源ID:7347615      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/7347615.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(云计算平台虚拟机.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

云计算平台虚拟机.docx

1、云计算平台虚拟机An Evaluation of KVM for Use in Cloud ComputingM.FENN,M.A.MURPHY,J.MARTIN,and S.GOASGUENClemson UniversityIn this paper we describe a virtual cluster based on the Kernel-based Virtual Machine(KVM as an alternative to VMWare and Xen.Speci cally we show how the virtual cluster is built and tai

2、lored to t virtual organizations.The technique presented in this paper,known as the Virtual Organization Cluster Model,shows great potential for cloud computing.In our implementation, we used a minimalist installation of Slackware Linux12on14compute nodes,ensuring minimal host overhead.Our prototype

3、 Virtual Organization Cluster is composed of28virtual computes nodes,each running CentOS5.1with Condor,and MPI.Results of testing the prototype were encouraging,with the exception of network performance.Categories and Subject Descriptors: C.4Computer Systems Organization:Performance of Systems Desig

4、n studies;Performance attributes;C.2.4Computer-Communication Net-works:Distributed SystemsGeneral Terms:Design,Experimentation,Measurement,PerformanceAdditional Key Words and Phrases:Virtual Machines,KVM,High-Performance Computing1.INTRODUCTIONA current problem in scienti c computing is that the exp

5、ertise needed to deploy and maintain a cluster remains scarce despite recent declines in hardware costs. Smaller research groups may not be able to a ord to have their own clusters,and purchasing time on an existing cluster raises concerns such as vendor lock-in and data security.In this paper,we pr

6、esent a cloud computing model which de nes a minimum speci cation for a compute cluster.This clusters sole purpose is to host other com-pute clusters through virtualization.In this way,a Virtualization Service Provider (VSPcan sell compute power without having to directly maintain each end-users par

7、ticular application.Similarly,Virtual Organizations(VOscan purchase compute power from VSPs without having to worry about hardware or software compatibility.A VO is free to develop a model cluster locally,perhaps even on a personal workstation,test it,andAuthorsaddress:School of Computing,Clemson Un

8、iversity,Clemson,SC29634-0974,USA. mfenn,mamurph,jim.martin,sebgoacs.clemson.eduThis material is based upon work supported under a National Science Foundation Graduate Re-search Fellowship.Permission to make digital/hard copy of all or part of this material without fee for personal or classroom use

9、provided that the copies are not made or distributed for pro t or commercial advantage,the ACM copyright/server notice,the title of the publication,and its date appear,and notice is given that copying is by permission of the ACM,Inc.To copy otherwise,to republish, to post on servers,or to redistribu

10、te to lists requires prior speci c permission and/or a fee.c 20YY ACM1529-3785/20YY/0700-0001$5.00ACM Transactions on Computational Logic,Vol.V,No.N,Month20YY,Pages1 0?.2M.Fenn et al. (aType1(bType2Fig.1.Hypervisorsthen deploy it to a VSPs hardware with reasonable assurances that the operating envir

11、onment will be fully compatible.We will rst provide a brief overview of virtualization technologies,followed by a description of our model virtual cluster.Then,we will de ne the infrastructure for which an VSP would be responsible.Finally,we will present some results of a model cluster constructed a

12、t the Cyberinfrastructure Research Laboratory at Clemson University.2.VIRTUALIZATION MODELIn essence,virtualization is making one computer appear to be multiple computers. Jones2006Virtualization is accomplished with a program called a hypervisor, while systems running under a hypervisor are known a

13、s virtual machines(VMs. There are two basic types of hypervisorIBM2005:Type1hypervisors directly interface with the system hardware.All operating systems run inside a virtual machine.There is usually a special,privileged virtual machine that can manage the others.Xen is an example of this type of hy

14、pervisor. Type2hypervisors run as a normal program inside a normal operating system. This OS is known as the host.Each guest OS runs as a process in the host OS. These processes can be manipulated just like any other process.VMWare and KVM are examples of this type of hypervisor.See Figure1for a com

15、parison of Type1and2hypervisors.A strict Type2hypervisor requires that all I/O devices be emulated completely in software,resulting in added overhead for I/O calls.Paravirtualization allows the virtual machine to make calls directly to the hypervisor,resulting in potentially increased e ciency.Parav

16、irtualization requires modi cations to the guest kernel. IBM2005See Table I for a comparison of KVM and Xen.ACM Transactions on Computational Logic,Vol.V,No.N,Month20YY.An Evaluation of KVM for Use in Cloud Computing3Table I.KVM vs.XenKV M XenT ype1Hypervisor T ype2HypervisorHost is a privileged gue

17、st Host directly on hardwareUnprivileged guests Guests have user privilegesx86ring abstraction UNIX process abstractionP aravirtualized guests Unmodified guests2.1Kernel-based Virtual Machine(KVMThe Kernel-based Virtual Machine(KVMis a Type2hypervisor maintained by Qumranet,IncHabib2008Qumranet2006.

18、KVM is based on the QEMU emu-lator and derives all its management tools from QEMU.The main focus of KVM development is to use the x86VT extensions,which allow virtual machines to make system callsvan Doorn2006.KVM versions newer than KVM-62have support for paravirtualized Linux guests,but we did not

19、 utilize this capability in our initial prototype.KVM uses a set of Linux kernel modules to provide VT support.KVM can run on a stock Linux kernel that is:(anew enough and(bhas had the KVM modules built for it.In contrast,Xen requires a heavily patched Linux kernel,on which development lags behind t

20、he mainline kernel.KVM supports the QEMU Copy-on-write(QCOWdisk image format,allowing it to support a snapshot mode for its disk I/O operations.In snapshot mode, all disk writes are directed to a temporary le,and changes are not persisted to the original disk image le.Multiple VMs can be run from on

21、e disk image, somewhat mitigating the huge storage requirements associated with hosting a grid of VMsKeahey et al.2004.Destroying a virtual cluster is as simple as sending SIGKILL to each hypervisor and deleting the image from disk.KVM supports the standard Linux TUN/TAP model for Ethernet bridging.

22、By using this model,each VM gets its own networking resources,making it indistin-guishable from a physical machine.2.2Virtual Compute NodesCentral to the Virtual Organization Cluster Model(VOCMis the Virtual Organi-zation Cluster(VOC,which is composed of Virtual Compute Nodes(VCN.Each Virtual Organi

23、zation(VOthat wishes to utilize the compute facilities provided by a Virtualization Service Provider(VSPmust provide a VM image or set of VM images,along with some general con guration parameters.Since each image will potentially be used to spawn multiple VMs,the con guration of each image must not

24、make any assumptions about the type of networking(hardware interface, hostname,or system-speci c con guration settings.Instead,dynamic networking con guration should be used.Once a hostname has been obtained,dynamic con- guration based upon the hostname is allowed.Our model VOC was built from two VC

25、Ns,each with CentOS5.1installed. CentOS provides substantial out-of-the-box support for cluster computing appli-cations and,along with its cousin,Red Hat Enterprise Linux,is widely supported in the scienti c and high-performance computing communities.The two VCNs were:ACM Transactions on Computation

26、al Logic,Vol.V,No.N,Month20YY.4M.Fenn et al.(1A virtual head node,which was con gured with the Condor central managerand submit daemons(condor_collector,condor_negotiator,condor_schedd, Ganglia monitoring daemon(gmond,and Ganglia meta daemon(gmetad.(2A virtual compute element,which was con gured wit

27、h the Condor job starter(condor_startd,MPICH2,ATLAS(tuned for the virtual CPU,and Ganglia monitoring daemon(gmond.Our model VOC was designed as an Open Science Grid(OSGcompute element. The virtual head node used Condor to distribute incoming OSG jobs to the virtual compute elements.3.SUPPORT MODELPr

28、eparing the physical(as opposed to virtualcluster for VOC support required con guring the host OS,setting up support services,con guring networking ser-vices,and con guring storage services.In our prototype implementation,support services included a Lightweight Directory Access Protocol(LDAPserver f

29、or cen-tralized administration of hosts and physical user accounts,a Dynamic Host Con- guration Protocol(DHCPserver for assigning IPv4addresses to nodes,and a Domain Name Server(DNSfor host resolution.3.1Host OS con gurationWhen providing virtualization services,the host OS should be minimalist in o

30、rder to reserve as many resources as possible for the VCNs.To this end,Slackware Linux 12was chosen as the host OS.A custom kernel was compiled to enable support for KVM and additional network metrics.All unnecessary hardware drivers and other features were left out of the kernel to minimize its mem

31、ory footprint.KVM driver modules also were built for the custom kernel.For maintainability reasons,all the Slackware nodes were installed via PXE boot and a custom automated install script.This allowed the whole cluster to be re-created quickly in case of added nodes,hardware failure,or administrato

32、r error.All additional software was maintained in the form of Slackware packages to allow for rapid deployment across the entire cluster.3.2Physical Support ServicesCon guration information for each VCN was stored in an LDAP database to pro-vide a centralized administration mechanism.Each VCN was represented as an LDAP entry with the hostname,IP address,and MAC address elds.The MAC address was generated as a locally-administered address as to avoid con icts with any other MACs on the network.An LDAP-aware,batch,remote administration tool

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1