云计算平台虚拟机Word格式.docx

上传人:b****2 文档编号:1549927 上传时间:2023-04-30 格式:DOCX 页数:9 大小:21.08KB
下载 相关 举报
云计算平台虚拟机Word格式.docx_第1页
第1页 / 共9页
云计算平台虚拟机Word格式.docx_第2页
第2页 / 共9页
云计算平台虚拟机Word格式.docx_第3页
第3页 / 共9页
云计算平台虚拟机Word格式.docx_第4页
第4页 / 共9页
云计算平台虚拟机Word格式.docx_第5页
第5页 / 共9页
云计算平台虚拟机Word格式.docx_第6页
第6页 / 共9页
云计算平台虚拟机Word格式.docx_第7页
第7页 / 共9页
云计算平台虚拟机Word格式.docx_第8页
第8页 / 共9页
云计算平台虚拟机Word格式.docx_第9页
第9页 / 共9页
亲,该文档总共9页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

云计算平台虚拟机Word格式.docx

《云计算平台虚拟机Word格式.docx》由会员分享,可在线阅读,更多相关《云计算平台虚拟机Word格式.docx(9页珍藏版)》请在冰点文库上搜索。

云计算平台虚拟机Word格式.docx

Performanceattributes;

Net-works]:

DistributedSystems

GeneralTerms:

Design,Experimentation,Measurement,Performance

AdditionalKeyWordsandPhrases:

VirtualMachines,KVM,High-PerformanceComputing

1.INTRODUCTION

Acurrentprobleminscienticcomputingisthattheexpertiseneededtodeployandmaintainaclusterremainsscarcedespiterecentdeclinesinhardwarecosts.Smallerresearchgroupsmaynotbeabletoaordtohavetheirownclusters,andpurchasingtimeonanexistingclusterraisesconcernssuchasvendorlock-inanddatasecurity.

Inthispaper,wepresentacloudcomputingmodelwhichdenesaminimumspecicationforacomputecluster.Thiscluster'

ssolepurposeistohostothercom-puteclustersthroughvirtualization.Inthisway,aVirtualizationServiceProvider(VSPcansellcomputepowerwithouthavingtodirectlymaintaineachend-user'

sparticularapplication.

Similarly,VirtualOrganizations(VO'

scanpurchasecomputepowerfromVSP'

swithouthavingtoworryabouthardwareorsoftwarecompatibility.AVOisfreetodevelopamodelclusterlocally,perhapsevenonapersonalworkstation,testit,and

Authors'

address:

SchoolofComputing,ClemsonUniversity,Clemson,SC29634-0974,USA.{mfenn,mamurph,jim.martin,sebgoa}@

ThismaterialisbaseduponworksupportedunderaNationalScienceFoundationGraduateRe-searchFellowship.

Permissiontomakedigital/hardcopyofallorpartofthismaterialwithoutfeeforpersonalorclassroomuseprovidedthatthecopiesarenotmadeordistributedforprotorcommercialadvantage,theACMcopyright/servernotice,thetitleofthepublication,anditsdateappear,andnoticeisgiventhatcopyingisbypermissionoftheACM,Inc.Tocopyotherwise,torepublish,topostonservers,ortoredistributetolistsrequirespriorspecicpermissionand/orafee.

c20YYACM1529-3785/20YY/0700-0001$5.00

ACMTransactionsonComputationalLogic,Vol.V,No.N,Month20YY,Pages10?

?

.

M.Fennetal.

(aType1(bType2

thendeployittoaVSP'

shardwarewithreasonableassurancesthattheoperatingenvironmentwillbefullycompatible.

Wewillrstprovideabriefoverviewofvirtualizationtechnologies,followedbyadescriptionofourmodelvirtualcluster.Then,wewilldenetheinfrastructureforwhichanVSPwouldberesponsible.Finally,wewillpresentsomeresultsofamodelclusterconstructedattheCyberinfrastructureResearchLaboratoryatClemsonUniversity.

2.VIRTUALIZATIONMODEL

Inessence,virtualizationismakingonecomputerappeartobemultiplecomputers.[Jones2006]Virtualizationisaccomplishedwithaprogramcalledahypervisor,whilesystemsrunningunderahypervisorareknownasvirtualmachines(VMs.Therearetwobasictypesofhypervisor[IBM2005]:

Type1hypervisorsdirectlyinterfacewiththesystemhardware.Alloperatingsystemsruninsideavirtualmachine.Thereisusuallyaspecial,privilegedvirtualmachinethatcanmanagetheothers.Xenisanexampleofthistypeofhypervisor.Type2hypervisorsrunasanormalprograminsideanormaloperatingsystem.ThisOSisknownasthehost.EachguestOSrunsasaprocessinthehostOS.Theseprocessescanbemanipulatedjustlikeanyotherprocess.VMWareandKVMareexamplesofthistypeofhypervisor.

SeeFigure1foracomparisonofType1and2hypervisors.

AstrictType2hypervisorrequiresthatallI/Odevicesbeemulatedcompletelyinsoftware,resultinginaddedoverheadforI/Ocalls.Paravirtualizationallowsthevirtualmachinetomakecallsdirectlytothehypervisor,resultinginpotentiallyincreasedeciency.Paravirtualizationrequiresmodicationstotheguestkernel.[IBM2005]

SeeTableIforacomparisonofKVMandXen.

ACMTransactionsonComputationalLogic,Vol.V,No.N,Month20YY.

AnEvaluationofKVMforUseinCloudComputing·

3

TableI.KVMvs.Xen

KVMXen

Type1HypervisorType2Hypervisor

HostisaprivilegedguestHostdirectlyonhardware

UnprivilegedguestsGuestshaveuserprivileges

x86ringabstractionUNIXprocessabstraction

ParavirtualizedguestsUnmodifiedguests

2.1Kernel-basedVirtualMachine(KVM

TheKernel-basedVirtualMachine(KVMisaType2hypervisormaintainedbyQumranet,Inc[Habib2008][Qumranet2006].KVMisbasedontheQEMUemu-latorandderivesallitsmanagementtoolsfromQEMU.ThemainfocusofKVMdevelopmentistousethex86VTextensions,whichallowvirtualmachinestomakesystemcalls[vanDoorn2006].KVMversionsnewerthanKVM-62havesupportforparavirtualizedLinuxguests,butwedidnotutilizethiscapabilityinourinitialprototype.

KVMusesasetofLinuxkernelmodulestoprovideVTsupport.KVMcanrunonastockLinuxkernelthatis:

(anewenoughand(bhashadtheKVMmodulesbuiltforit.Incontrast,XenrequiresaheavilypatchedLinuxkernel,onwhichdevelopmentlagsbehindthemainlinekernel.

KVMsupportstheQEMUCopy-on-write(QCOWdiskimageformat,allowingittosupportasnapshotmodeforitsdiskI/Ooperations.Insnapshotmode,alldiskwritesaredirectedtoatemporaryle,andchangesarenotpersistedtotheoriginaldiskimagele.MultipleVM'

scanberunfromonediskimage,somewhatmitigatingthehugestoragerequirementsassociatedwithhostingagridofVM'

s[Keaheyetal.2004].DestroyingavirtualclusterisassimpleassendingSIGKILLtoeachhypervisoranddeletingtheimagefromdisk.

KVMsupportsthestandardLinuxTUN/TAPmodelforEthernetbridging.Byusingthismodel,eachVMgetsitsownnetworkingresources,makingitindistin-guishablefromaphysicalmachine.

2.2VirtualComputeNodes

CentraltotheVirtualOrganizationClusterModel(VOCMistheVirtualOrgani-zationCluster(VOC,whichiscomposedofVirtualComputeNodes(VCN.EachVirtualOrganization(VOthatwishestoutilizethecomputefacilitiesprovidedbyaVirtualizationServiceProvider(VSPmustprovideaVMimageorsetofVMimages,alongwithsomegeneralcongurationparameters.SinceeachimagewillpotentiallybeusedtospawnmultipleVM'

s,thecongurationofeachimagemustnotmakeanyassumptionsaboutthetypeofnetworking(hardwareinterface,hostname,orsystem-speciccongurationsettings.Instead,dynamicnetworkingcongurationshouldbeused.Onceahostnamehasbeenobtained,dynamiccon-gurationbaseduponthehostnameisallowed.

OurmodelVOCwasbuiltfromtwoVCN'

s,eachwithCentOS5.1installed.CentOSprovidessubstantialout-of-the-boxsupportforclustercomputingappli-cationsand,alongwithitscousin,RedHatEnterpriseLinux,iswidelysupportedinthescienticandhigh-performancecomputingcommunities.ThetwoVCN'

swere:

(1Avirtualheadnode,whichwasconguredwiththeCondorcentralmanager

andsubmitdaemons(condor_collector,condor_negotiator,condor_schedd,Gangliamonitoringdaemon(gmond,andGangliametadaemon(gmetad.

(2Avirtualcomputeelement,whichwasconguredwiththeCondorjobstarter

(condor_startd,MPICH2,ATLAS(tunedforthevirtualCPU,andGangliamonitoringdaemon(gmond.

OurmodelVOCwasdesignedasanOpenScienceGrid(OSGcomputeelement.ThevirtualheadnodeusedCondortodistributeincomingOSGjobstothevirtualcomputeelements.

3.SUPPORTMODEL

Preparingthephysical(asopposedtovirtualclusterforVOCsupportrequiredconguringthehostOS,settingupsupportservices,conguringnetworkingser-vices,andconguringstorageservices.Inourprototypeimplementation,supportservicesincludedaLightweightDirectoryAccessProtocol(LDAPserverforcen-tralizedadministrationofhostsandphysicaluseraccounts,aDynamicHostCon-gurationProtocol(DHCPserverforassigningIPv4addressestonodes,andaDomainNameServer(DNSforhostresolution.

3.1HostOSconguration

Whenprovidingvirtualizationservices,thehostOSshouldbeminimalistinordertoreserveasmanyresourcesaspossiblefortheVCNs.Tothisend,SlackwareLinux12waschosenasthehostOS.AcustomkernelwascompiledtoenablesupportforKVMandadditionalnetworkmetrics.Allunnecessaryhardwaredriversandotherfeatureswereleftoutofthekerneltominimizeitsmemoryfootprint.KVMdrivermodulesalsowerebuiltforthecustomkernel.

Formaintainabilityreasons,alltheSlackwarenodeswereinstalledviaPXEbootandacustomautomatedinstallscript.Thisallowedthewholeclustertobere-createdquicklyincaseofaddednodes,hardwarefailure,oradministratorerror.AlladditionalsoftwarewasmaintainedintheformofSlackwarepackagestoallowforrapiddeploymentacrosstheentirecluster.

3.2PhysicalSupportServices

CongurationinformationforeachVCNwasstoredinanLDAPdatabasetopro-videacentralizedadministrationmechanism.EachVCNwasrepresentedasanLDAPentrywiththehostname,IPaddress,andMACaddresselds.TheMACaddresswasgeneratedasalocally-administeredaddressastoavoidconictswithanyotherMAC'

sonthenetwork.AnLDAP-aware,batch,remoteadministrationtoolwasalsowrittentoaidthesystemsadministrator.Toassistinthedynamic

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2