1 / 24
文档名称:

Live WAN VM Migrationppt生活migrationppt万VM.ppt

格式:ppt   大小:1,475KB   页数:24页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

Live WAN VM Migrationppt生活migrationppt万VM.ppt

上传人:孔乙己 2022/11/27 文件大小:1.44 MB

下载得到文件列表

Live WAN VM Migrationppt生活migrationppt万VM.ppt

文档介绍

文档介绍:该【Live WAN VM Migrationppt生活migrationppt万VM 】是由【孔乙己】上传分享,文档一共【24】页,该文档可以免费在线阅读,需要了解更多关于【Live WAN VM Migrationppt生活migrationppt万VM 】的内容,可以使用淘豆网的站内搜索功能,选择自己适合的文档,以下文字是截取该文章内的部分文字,如需要获得完整电子版,请下载此文档到您的设备,方便您编辑和打印。LiveWANVMMigrationppt生活migrationppt万VM
Implementation–BulkXfer
TheVM’sdiskimageistransferredfromthesourcetothedestination.
XenoServersplatformsupportscopy-on-writealongwithimmutabletemplatediskimages,sowecanjusttransferthechanges,ratherthanthewholeimage.
Implentation–XenMigration
Thesystemherereliesonthebuilt-inmigrationmechanismofXen.
XenlogsdirtymemorypagesandcopiesthemtothedestinationwithoutstoppingthesourceVM.
Eventually,wewillhavetopausethesourceandcopytheremainingmemorypages.
ThenwestartupthemigratedVM.
Implementation-Intercepting
TheblkfrontdevicedrivercommunicateswiththededicatedstorageVMviaringbuffer.
Theblktapframeworkinterceptsrequests,butdoesitinuserspace.
Onceadiskrequestmakesittothebackend,itisbothcommittedtothediskandsenttothemigrationclient.
Theclientthenpackagesthewriteupasadelta.
Implementation-Application
Afterthebulktransfer,andinparallelwiththeXentransfer,thedeltasaretransferredandappliedtothemigratedVMbythemigrationdaemoninthestorageVMatthedestination.
IfthedeltaqueuebecomesemptyandtheXenmigrationisfinished,I/Orequestsareputonholduntiltheapplicationofthecurrentcropofdeltasisfinished.
TheauthorsfoundthatdeltaapplicationwasnormallyfinishedbeforeXenmigration,addingzerotimetotheoverallmigration.
Implementation–WriteThrottling
IftheVMattemptstocompletemorewritesthanagiventhresholdvalue,futurewriteattemptsaredelayedbytheblockdriver.
Thisprocessrepeats,withthedelayandthresholddoublingeachtime.
Experimentally,16384isasuitablethresholdwithadelayof2048μsalsobeinggood.
Enforcementisseparatedfrompolicyforextensibility.
Implementation–WANRedirection
IftheIPoftheVMchanges,weuseIPtunnelingandDynamicDNStopreventdroppednetworkconnections.
JustbeforethesourceVMispaused,anIPtunneliscreatedfromthesourcetodestinationusingiproute2.
OncethedestinationVMiscapableofrespondingtorequestsatitsnewIP,DynamicDNSforwardstherequeststothenewIP.
Packetsthatarriveduringthefinalstageofmigrationaresimplydropped.
OncenoconnectionsexistthatusetheoldIP,thetunnelistorndown.
Practically,thisworksbecause:
Thesourceserveronlyneedstocooperateforashorttime,mostnetworkconnectionsareshort-livedandifnothingelse,it’snoworsethanwhatyougetiftheVMdoesn’teventry.
Evaluation-Metrics
Wanttoevaluatethedisruptionofthesystem,asperceivedbyusers.
Spoiler:Resultslookgood.
Wanttoshowthesystemhandlesdiabolicalworkloads,definedinthispaperasbeingheavydiskaccessors,ratherthanheavymemoryaccessors.
Downtime:TimebetweenpausingtheVMonthesourceandresumingonthedestination.
DisruptionTime:Timeduringwhichclientsobserveareductioninserviceresponsiveness.
AdditionalDisruption:Differencebetweendisruptiontimeanddowntime.
Migrationtime:TimefrommigrationrequesttorunningVMatdestination.
NumberofDeltasandDeltaRate:Howmanyfilesystemchangesandhowoftentheyoccur.
Eval–WorkloadOverview
Webserverservingstaticcontent,servingdynamicwebapplicationandvideostreaming.
ChosenforrealisticusagescenariosandbecausetheyneatlytrifurcatethespectrumofdiskI/Opatterns:
Dynamicappgenerateslotsofburstywrites
Staticworkloadgeneratesamediumamountofconstantwrites
Streamingvideocausesfewwrites,butisverysensitivetodisruption.
Eval–ExperimentalSetup
Threehosts
,4GBDDRRAM,mirroredRAIDarrayofU320SCSIdisks.
ThemigratedVMwasprovidedwith512MBRAMandasingleCPU.
Allhostswereconnectedbya100MbpsswitchedEthernetnetworks.
ThemigratedVMwasrunningDebianona1GBext3disk.
HostCistheclient.
ToemulateWANtransfers,trafficshapingwasusedtolimitthebandwidthto5Mbpswith100msoflatency.
.