基于云仿真平台的高可用技术研究

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

274©Vol.27No.420154JournalofSystemSimulationApr.,2015http:•786•710021VMwareHATP391.9A1004-731X(2015)04-0786-08ResearchonHighUsabilityBasedonCloudSimulationPlatformZhouLimin,FuYanfang,GaoWuqi,GaoXiang,ChengBing(Xi’anTechnologicalUniversity,Xi’an710021,China)Abstract:Withtheincreasingcomplexityofthesimulationsystem,thereliabilityrequirementisalsogrowing.Inordertoensurethereliabilityofthesimulationsystem,acloudsimulationplatformwasbuilt.Throughtheresearchofvirtualizationandhighavailability,asetofcloudsimulationplatformclientmanagementprogramwasdesignedanddevelopedaccordingtothesimulationneeds.Intheprocessofrunning,virtualsimulationsystemnodemigrationandanalogoffnetworkoperationswereproposedtoverifythereliabilityoftheplatformdisaster.Thisensuresthatthesimulationsystemrunsefficientlyandstably.Keywords:cloudsimulation;VMwareHA;DynamicMigration;CloudPlatformClientHLARTI2014-06-052014-09-16;(1990-);(1978-)(1975-)[1]“”“”[2]“”()()()274Vol.27No.420154,:Apr.,2015http:•787•()[3]1[4]VMwareIT(1)IT(2)(3)VMwarePCVMwarevSphere1.1VMwareVmwareVMwarevSphereB/S274Vol.27No.420154JournalofSystemSimulationApr.,2015http:•788•Web[5]11ESXivSphereHTTPvSphereWebvSphere(CPU)iSCSIVMFS(VMotionvMotion)OVF1.2OpenfilerVMwareEsxi5.0LinuxvSpherevCenterServer()Windows200864vSpherevCentervSphereclient2222.1VMotion[6](1)CPU(2)ESXVMotionESX(3)ESX274Vol.27No.420154,:Apr.,2015http:•789•MACVMotionVMotionVMwareVMotionVMwareSDKscriptingvSphereVMwarevSpherevSphereVMwareHighAvailabilityVMwareVMotionWebServicesvSphereB/SAPIsvSphereAPI332.2vSphereHAVmwarefaulttolerance(FT)FTESX/ESXihostFTVMToolsVMMHAVMMhostVMMFTHAFTre-enteredreloadedHA274Vol.27No.420154JournalofSystemSimulationApr.,2015http:•790•VMware()VMwarevLockstep33.1vSphereAPI(1)vSphereServerWebService(2)ServiceInstanceServiceContentServiceContentvSphereservicesManaged(3)vSphereAPI(4)(andoptionallythelocal)(5)(6)3.2cpuStep1//privatestaticAppUtil.AppUtilcb=null;privateManagedObjectReference_virtualMachine=null;Step2//_virtualMachine=cb.getServiceUtil().GetDecendentMoRef(null,VirtualMachine,vmName);VirtualMachineConfigSpecvmConfigSpec=newVirtualMachineConfigSpec();Step3//ReconfigVM_TaskManagedObjectReferencetmor=cb.getConnection()._service.ReconfigVM_Task(_virtualMachine,vmConfigSpec);4274Vol.27No.420154,:Apr.,2015http:•791•43.3VMwarevSpherevSpherevSpherePerformanceManagerPerformanceManager55ManagerCPUweb3.466vmVMotion(StringvmName2,Stringtargethost2Stringsourcehost2,Stringtargetpool2,Stringtargetdatastore,Stringpriority2,Stringstate2)//Step//webactionactionnname=toVMotionclass=com.myclient.myaction.VMActiomethod=toVMotionresultname=successvm_vmotion.jsp/resultStep2//actionserviceuserService.vmVMotion(vmName,192.168.1.2,192.168.1.3,Resources,dk-disk-40g,default_Priority,poweredOff);Step3//.serviceMyVmotionpublicvoidvmVMotion(StringvmName2,Stringtargethost2,Stringsourcehost2,Stringtargetpool2,Stringtargetdatastore,Stringpriority2,Stringstate2)4274Vol.27No.420154JournalofSystemSimulationApr.,2015http:•792•34.133CoreTMi5-24003.1GHzCPU4G1TVMwarevCenterWindowsMicrosoftWindowsServer2003R2CentOSLinuxLinuxVMwarevCenterWindowXP644.2VMwareVMotionCPU(1)277(2)vCenterServer274Vol.27No.420154,:Apr.,2015http:•793•(3)Esxi4.312052%95%802040608000204085JavaWebserviceVMwarevSphereAPIs[1],,,.[J].,2011,23(12):2659-2663.(FuYanfang,BaiXiaojun,KangFengju,etal.StaticSchedulingMethodinSupportofDistributionInteractionSimulation[J].JournalofSystemSimulation(S1004-731X),2011,23(12):2659-2663.)[2],,,.--“”[J].,2009,21(17):5292-5299.(LiBohu,CaiXudong,HouBaochun,etal.NetworkedModeling&SimulationPlatformBasedonConceptofCloudComputing—CloudSimulationPlatform[J].JournalofSystemSimulation(S1004-731X),2009,21(17):5292-5299.)[3],,,.[J].,2011,23(6):1268-1272.(ZhangYabin,LiBohu,CaiXudong,etal.ResearchontheVirtualization-basedCloudSimulationResourceMigrationTechnology[J].JournalofSystemSimulation(S1004-731X),2011,23(6):1268-1272.)[4],,,.[J].,2004,16(9):1871-1877.(LiBohu,CaiXudong,ZhuWenhai,etal.SomeFocusingPointsinDevelopmentofModernModelingandSimulationTechnology[J].JournalofSystemSimulation(S1004-731X),2004,16(9):1871-1877.)[5].VMWarevSphere[J].,2012,11(8):6-7.[6]VMWare.VMotion[EB/OL].(2012-09-11)[2014-04-12].

1 / 8
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功