您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > 资源组 移动云计算服务端技术
虚拟机创建移动云计算服务端技术2011年4月24虚拟机处理器资源设定•Limit–ThisvalueisacapontheconsumptionofCPUtimebythisvirtualmachine,measuredinMHz.•Reservation–ThisvalueisacertainnumberofCPUcyclesreservedforthisvirtualmachine,measuredinMHz.–TheVMkernelchooseswhichCPUsitcanmigrate.•Shares–MoresharesmeansthatthisvirtualmachinewillwincompetitionsforCPUtimemoreoften.•AlltheVCPUsinavirtualmachinemustbesimultaneouslyscheduled.–Therefore,areservationof1,000MHzmightbegenerousforaone-VCPUvirtualmachinebutnotforafour-VCPUvirtualmachine.虚拟机内存资源设定•Availablememory–Thisvalueisthememorysizedefinedwhenthevirtualmachinewascreated.•Limit–Thisvalueisacapontheconsumptionofphysicalmemorybythisvirtualmachine,measuredinMB.•Reservation–Thisvalueisacertainamountofphysicalmemoryreservedforthisvirtualmachine,measuredinMB.•Shares–Moresharesmeansthatthisvirtualmachinewillwincompetitionsforphysicalmemorymoreoften.•VMkernelallocatesaper–virtualmachineswapfiletocovereachvirtualmachine’srangebetweenavailablememoryandreservation.什么是资源池?•AlogicalabstractionforhierarchicallymanagingCPUandmemoryresources•UsedonstandalonehostsorDRS-enabledclusters•Providesresourcesforvirtualmachinesandchildpoolsresourcepoolsrootresourcepool为什么使用资源池?•Usingresourcepoolscanresultinthesebenefits:–Flexiblehierarchicalorganization–Isolationbetweenpools,sharingwithinpools–Accesscontrolanddelegation–Separationofresourcesfromhardware–Managementofsetsofvirtualmachinesrunningamultitierservice资源池属性•Resourcepoolshavethefollowingattributes:–Shares•Low,Normal,High,Custom–Reservations,inMHzandMB–Limits,inMHzandMB•Unlimitedaccess,bydefault(uptomaximumamountofresourceaccessible)–Expandablereservation?•Yes–Virtualmachinesandsubpoolscandrawfromthispool’sparent.•No–Virtualmachinesandsubpoolscandrawonlyfromthispool,evenifitsparenthasfreeresources.资源池场景•CompanyX’sITdepartmenthastwointernalcustomers.–Thefinancedepartmentsuppliestwo-thirdsofthebudget.–Theengineeringdepartmentsuppliesone-thirdofthebudget.•Eachinternalcustomerhasbothproductionandtest/devvirtualmachines.•Wemustcapthetest/devvirtualmachines’resourceconsumption.资源池场景standalonehost–Svr001(rootresourcepool)CPU:12,000MHzMemory:4GBEng-Prod(VM)CPUShares:2,000Reservation:250MHzLimit:4,000MHzEng-Test(VM)CPUShares:1,000Reservation:0MHzLimit:4,000MHzEngineering(ResourcePool)CPUShares:1,000Reservation:1,000MHzLimit:4,000MHzExpandableReservation:Yes资源池场景Engineering(ResourcePool)CPUShares:1,000Eng-Test(VM)CPUShares:1,000Eng-Prod(VM)CPUShares:2,000Fin-Test(VM)CPUShares:1,000Fin-Prod(VM)CPUShares:2,000standalonehost–Svr001(rootresourcepool)Finance(ResourcePool)CPUShares:2,000%ofPCPUallocation22%22%11%45%Engineering~33%Finance~67%资源池场景Eng-Testgets~33%ofEngineering’sCPUallocation=Approximately11%ofthePCPU.Svr001AllVMsbelowarerunningonsamephysicalCPU(PCPU)EngineeringCPUShares:1,000~33%ofPCPUEng-TestCPUShares:1,000Eng-ProdCPUShares:2,000Fin-TestCPUShares:1,000Fin-ProdCPUShares:2,000FinanceCPUShares:2,000~67%ofPCPU扩展•Borrowingresourcesoccursrecursivelyfromtheancestorsofthecurrentresourcepool.–AslongasExpandableReservationisselected–Offersmoreflexibilitybutlessprotection•Expandedreservationsarenotreleaseduntilthevirtualmachinethatcausedtheexpansionisshutdownoritsreservationisreduced.RetailReservation:3,000MHzExpandableReservation:YesRootResourcePoolTotalCPU:10,200MHzTotalMemory:3,000MBeCommerceAppseCommerceWebReservation:1,000MHzExpandable?NoReservation:1,200MHzExpandable?YesAnexpandablereservationcouldallowarogueadministratortoclaimallunreservedcapacityintheenvironment.扩展•eCommerceresourcepoolsreserve2,200MHzof3,000MHztheRetailresourcepoolhasreserved.•PoweronvirtualmachinesintheeCommerceWebresourcepool.•WithexpandablereservationdisabledontheeCommerceWebresourcepool,itisnotpossibletostartVM7withareservationof500MHz.–Lowerthevirtualmachinereservation.–SelectExpandableReservation.–IncreaseeCommerceWebpool’sreservation.RetailReservation:3,000MHzExpandableReservation:NoRootResourcePoolTotalCPU:10,200MHzTotalMemory:3,000MBeCommerceAppseCommerceWebReservation:1,000MHzExpandable?NoReservation:1,200MHzExpandable?YesVM1R=400VM2R=300VM7R=500扩展•EnableexpandablereservationontheeCommerceWebresourcepool.•Thesystemconsiderstheresourcesavailableinthechildresourcepoolanditsdirectparentresourcepool.•Thevirtualmachine’sreservationischargedagainstthereservationforeCommerceWeb.•eCommerceWeb’sreservationischargedagainstthereservationforRetail.RetailReservation:3,000MHzExpandableReservation:YesRootResourcePoolTotalCPU:10,200MHzTotalMemory:3,000MBeCommerceAppeCommerceWebReservation:1,000MHzExpandable?YesReservation:1,200MHzExpandable?YesVM3R=500VM4R=500VM5R=500VM1R=400VM2R=300VM6R=500VM7R=500**200MHzusedbyRetail****FullReservationUsed**创建资源池•Dragvirtualmachinesintotheresourcepool.Right-clickthehost,thenchooseNewResourcePool.权限控制PoweronaVM.Createanewsubpoolwithitsownreservation.Increaseapool’sreservation.Expandablereservation?Canthispoolsatisfyreservation?NoYes–Gotoparentpool.SucceedFailNoYes资源池面板•Displaytheresourcepool’sSummarytab.资源分配•Displaytheresourcepool’sResourceAllocationtab.资源设置自动调度18HomeM
本文标题:资源组 移动云计算服务端技术
链接地址:https://www.777doc.com/doc-4405292 .html