首页 VMware虚拟化实践与规划

VMware虚拟化实践与规划

举报
开通vip

VMware虚拟化实践与规划虚拟化最佳实践及规划此文档后面有赠送常用PPT图标,方便大家修订排版编辑议程应用实施范围考虑服务器采购考虑虚拟机部署考虑管理维护考虑议程应用实施范围考虑服务器采购考虑虚拟机部署考虑管理维护考虑应用实施范围总体原则不适合采用虚拟化的应用具有特殊硬件访问要求的应用高性能图形显卡---不适用虚拟化特殊的串/并行加密设备---不适用虚拟化USB设备连接需求---可能不适用,可采用外置USB设备代替,需经过测试即使在高配置的服务器上仍然具有很高负载的应用---可能不适用,需分析当前服务器配置情况可以采用虚拟化的应用除上述不适...

VMware虚拟化实践与规划
虚拟化最佳实践及规划此文档后面有赠送常用PPT图标,方便大家修订排版编辑议程应用实施范围考虑服务器采购考虑虚拟机部署考虑管理维护考虑议程应用实施范围考虑服务器采购考虑虚拟机部署考虑管理维护考虑应用实施范围总体原则不适合采用虚拟化的应用具有特殊硬件访问要求的应用高性能图形显卡---不适用虚拟化特殊的串/并行加密设备---不适用虚拟化USB设备连接需求---可能不适用,可采用外置USB设备代替,需经过测试即使在高配置的服务器上仍然具有很高负载的应用---可能不适用,需 分析 定性数据统计分析pdf销售业绩分析模板建筑结构震害分析销售进度分析表京东商城竞争战略分析 当前服务器配置情况可以采用虚拟化的应用除上述不适合采用虚拟化的应用之外的所有应用可根据应用迁移的复杂程度决定虚拟化先后顺序较易实现P2V的应用可先做迁移,如可用Converter工具直接迁移的应用较难或不能做P2V迁移的应用可考虑采用重新安装方式后迁根据管理的需要决定是否做虚拟化虚拟化转变过程对现有业务的影响程度转变为虚拟化后对现有管理的影响程度部门之间协调的难易程度虚拟化宿主服务器的部署类型垂直扩展与水平扩展部署模式不同资源池的“量子化”模型物理主机HypervisorVMOSAppVMOSAppVMOSAppVMOSAppVMOSAppVMOSAppVMOSAppVMOSAppVMOSAppPhysicalHostHypervisorVMOSAppVMOSAppVMOSAppPhysicalHostHypervisorVMOSAppVMOSAppVMOSApp物理主机HypervisorVMOSAppVMOSAppVMOSApp不同资源池的类型垂直扩展的主机模式提供更大的连续性资源空间更容易满足不同负载的吻合性要求可提供更高的资源利用率水平扩展的集群主机模式更像是一组小池子的集合多组小容量资源池需要更多的监控管理模块化使用既有优点也有缺点影响虚拟化部署的参数体系功能的多样化服务器的重要性独立服务器不重要重要独立的,本地存储等等群集的,多主机的等等服务器农场水平扩展服务器群集,公用服务器等等后端办公,本地应用等等负载约束技术约束商业约束困难度增加负载约束不同的资源组都需要分别考虑CPU利用率磁盘I/O网络I/O内存利用率虚拟化造成的额外负载通常也要做一定考虑,如磁盘和网络的I/O会增加CPU的负担iSCSI存储访问也会增加CPU负担运维的周期性负载变化也必须考虑进来月末负载变化年末负载变化技术约束技术约束通常主要是指:兼容性指系统/应用的兼容性关联性如系统是摩格逻辑组的一部分大部分环境下,这些约束包括了:网络连接子网段级别应用之间的互连性相关的存储使用技术所用的硬件和外设软件支持度和认证这些约束条件根据虚拟化在内核上下实现的不同而有所不同共享与分离OS镜像模式商业和流程的约束规模较小或集中的情况下容易被忽略的约束在实验室的测试环境可以不考虑,但生产环境必须要考虑在虚拟化中常见的商业和流程约束包括:维护窗口和冻结改变地理位置和其他物理限制运维环境,安全区域,应用分层部署考虑商业组织,部门以及客户法规政策的考虑与限制忽视这些约束条件将可能导致不可预知的结果具体情况具体分析,根据目标制定 计划 项目进度计划表范例计划下载计划下载计划下载课程教学计划下载 议程应用实施范围考虑服务器采购考虑虚拟机部署考虑管理维护考虑虚拟化中使用的硬件应满足兼容性列表要求所有用于实现VMwareVI3虚拟架构解决 方案 气瓶 现场处置方案 .pdf气瓶 现场处置方案 .doc见习基地管理方案.doc关于群访事件的化解方案建筑工地扬尘治理专项方案下载 的设备,包括:服务器系统、存储系统、IO卡设备等,应满足VMwareVI3产品兼容列表的要求,最新的兼容列表可从如下的连接找到:http://.vmware./resources/techresources/cat/119服务器系统兼容列表HCL:SystemspatibilityGuideForESXServer3.5andESXServer3i存储系统兼容列表HCL:Storage/SANpatibilityGuideForESXServer3.5andESXServer3iIO卡设备兼容列表,包括网卡、FCHBA卡和iSCSIHBA卡等HCL:I/OpatibilityGuideForESXServer3.5andESXServer3iESX服务器硬件配置考虑要点–CPUsESX调度CPU周期满足虚拟机和ServiceConsole的处理请求可用的CPU目标数量越多,ESX管理这个调度机制的效果越好单台服务器配置8个以上的CPU核会有最好的效果超线程技术并不能提供等同于多核处理器的好处;建议关闭CPU的超线程功能如果有的话使用具有EM64T能力的IntelVT或AMDV技术的CPU可以同时支持运行32位和64位的虚拟机采用同一厂商、同一产品家族和同一代处理器的服务器组成的集群,可以获得最好的VMotion兼容能力ES的EnhancedVMotion兼容性扩大了原有VMotion的兼容能力-AlleviatingConstraintswithResourcePoolsLiveMigrationwithEnhancedVMotion---参见BestPracticesforSuccessfulVIDesignESX服务器硬件配置考虑要点-内存内存资源往往比CPU资源更会成为潜在的瓶颈在某些时候,虚机环境的内存使用量可能会超过物理内存值:Hostswapfile尽量少用以获得最佳性能TransparentPageSharing多个虚机共享相同内存页面注意服务器特定的内存配置要求DIMMsizes,bankpairing,parity,upgradeconsiderationsmixandmatchorforkliftreplacement尽可能将服务器配置到最大内存,采用最大容量的内存条特别是当没有配满全部内存条时---参见BestPracticesforSuccessfulVIDesign虚拟架构的基本网络连接部件组成ManagementvirtualmachineVmotion,iSCSI,NFSVMconnectivityPortGroupPortGroupPortGroupESX服务器硬件配置考虑要点-网络---参见BestPracticesforSuccessfulVIDesign最少配置一个虚拟交换机,测试环境可用2个虚拟交换机,生产环境建议最少配置3个虚拟交换机虚拟交换机可同时支持3种类型的端口组ServiceConsole,VMkernel,VM建议将ServiceConsole、VMkernel和虚机端口组各自使用自己的虚拟交换机可用VLAN技术分割不同的端口组对于使用VMotion和DRS功能的服务器集群,网络配置应该相匹配虚拟交换机的数量与网络卷标名应保持一致ESX服务器ServiceConsole使用固定IP,配置正确的speed和duplex。ESX服务器硬件配置考虑要点-网络-虚拟交换机和端口组---参见BestPracticesforSuccessfulVIDesignESX服务器,虚拟交换机,物理网卡出于冗余的考虑,每个虚拟交换机建议至少分配两个物理网卡每个ESX服务器的物理网卡/口数量取决于准备配置的虚拟交换机的数量如果3种类型的端口组SC,VMkernel,VM都在不同的虚拟交换机上,生产环境建议至少6个物理网卡/口如果给包含虚拟机端口组的虚拟交换机分配更多的物理网卡/口,可以获得负载均衡的好处ESX服务器硬件配置考虑要点-网络基本组件---参见BestPracticesforSuccessfulVIDesign物理网卡/口与物理交换机同一个虚拟交换机上的不同物理网卡/口应连接到不同的物理交换机上将一个集群中所有服务器的VMotion功能端口组所使用的物理网卡/口都连到同一套物理交换机上同样遵循上述第一条规则ESX服务器硬件配置考虑要点-与物理网络的连接---参见BestPracticesforSuccessfulVIDesignExample1:BladeServerwith2NICPortsvSwitchvmnic0SCvmkernelActiveStandbyvmnic1CandidateDesign:绑定两块物理网卡创建一个虚拟交换机创建三个端口组:用于每个端口组Active/Standby策略Portgroup1:ServiceConsoleSCPortgroup2:VMotionPortgroup3:VMtrafficUseVLANtrunkingTrunkVLANs10,20,30oneachuplinkPortgroup1VLAN10Portgroup3VLAN30Portgroup2VLAN20VLANTrunksVLANs10,20,30Example2:Serverwith4NICPortsvmnic0SCvmkernelActiveStandbyvmnic1CandidateDesign:创建两个虚拟交换机两块物理网卡与每个虚拟交换机做绑定vSwitch0用于每个端口组active/standby:Portgroup1:ServiceConsoleSCPortgroup2:VMotionvSwitch1用于VM通信VirtualPortIDPortgroup3:VMtraffic#1Portgroup4:VMtraffic#2UseVLANtrunkingvmnic1andvmnic3:TrunkVLANs10,20vmnic0andvmnic2:TrunkVLANs30,40Portgroup4VLAN40VLANs10,20vSwitch0Portgroup1VLAN10Portgroup2VLAN20vSwitch1vmnic2vmnic3Portgroup3VLAN30VLANs30,40Example3:Serverwith4NICPortsSlightVariationvmnic0SCvmkernelActiveStandbyvmnic1CandidateDesign:创建一个虚拟交换机为两块物理网卡做绑定vSwitch0用于端口组1和端口组2active/standby:Portgroup1:ServiceConsoleSCPortgroup2:Vmotion端口组3和端口组4用于VM通信Portgroup3:VMtraffic#1Portgroup4:VMtraffic#2UseVLANtrunkingvmnic1andvmnic3:TrunkVLANs10,20vmnic0andvmnic2:TrunkVLANs30,40VLANs10,20vSwitch0Portgroup1VLAN10Portgroup2VLAN20vmnic2vmnic3Portgroup3VLAN30VLANs30,40Portgroup4VLAN40ServerswithMoreNICPortsMorethan4NICPorts—DesignConsiderationsWithTrunksVLANtagging:UsepreviousapproachandscaleuptomeetadditionalbandwidthandredundancyrequirementsAddNICstoNICteamsupportingVMtrafficVLANTaggingalwaysremended,butoptionsifNICsavailable:DedicatedNICforVMotionAtleastoneNICDedicatedNICsforIPStorageNFSand/oriSCSIUsuallytwoteamedNICsconsiderIP-hashðerchannelifmultipledestinationsandMulti-ChassisEtherchannelemployedonphysicalswitchesDedicatedNICsforServiceConsoleAtleasttwoforavailabilityNote:easytoconsumemanyphysicalNICsandswitchportsifnotusingVLANtaggingESX服务器硬件配置考虑要点-存储应尽可能采用外置共享磁盘阵列存放虚拟机文件ESX服务器内置硬盘应有充分的冗余,建议采用RAID1ESX服务器自身对硬盘要求,安装时的Partition划分:不建议用安装时的自动硬盘划分方法,因为/、/var、/home会放再同一个目录下,当/root满了时,ESX服务器会发生严重问 快递公司问题件快递公司问题件货款处理关于圆的周长面积重点题型关于解方程组的题及答案关于南海问题 。建议:/boot50到100MBPrimaryPartition/8.0到18GBPrimaryPartitionswap2倍的ServiceConsole内存,建议固定使用1.6G/var4GB或更大建议足够的ESX服务器程序空间大小为18GB本地端的ISO以及其他文本文件的存放空间要考虑存储对于虚拟机的呈现方式7VM层数据存储存储阵列SCSI控制器虚拟磁盘呈现为SCSI控制器SCSI控制器显示为BUS或LSILogic磁盘控制器一个VM可具有1到4个虚拟LSILogic或BusLogicSCSI适配器每个SCSI适配器包含1到15个虚拟SCSI存储设备虚拟磁盘驻留在可格式化为VMFS、NFS或裸磁盘的数据存储中文件系统类型由底层物理磁盘驱动器确定VMFSNFSFCiSCSINAS卷、数据存储和LUN卷存储阵列数据存储8LUN1020GBLUN是一个逻辑空间可由存储阵列的整个空间创建,也可由其中的部分空间创建LUN映射到ESX后即成为卷当卷被格式化为某种文件系统之后即成为数据存储不能在同一个LUN中混用不同类型的文件系统每个LUN对应一个VMFS卷虚拟机 内容 财务内部控制制度的内容财务内部控制制度的内容人员招聘与配置的内容项目成本控制的内容消防安全演练内容 位于数据存储中数据存储ESX数据存储类型:VMware文件系统VMFS使用VMFS的RDM网络文件系统NFS卷VM内容ESX主机数据存储采用某种文件系统格式可以像操作文件一样操作数据存储每个系统具有256个VMFS数据存储每个系统具有8个NFS数据存储ISO映像、VM模板和软盘映像9虚拟机内容文件名说明.vmxVM配置.vmdk虚拟磁盘-flat.vmdk预分配的虚拟磁盘文件包含数据.vswp交换文件nvram非易失性RAM文件.vmemVM内存.vmssVM挂起文件.vmsd快照数据-Snapshot.vmsn快照状态文件VMware-0.log、vmware-1.log等日志文件10文件夹/子目录数据存储类型数据存储VMFS数据存储VMFS数据存储NFSIP网络VM内容VM内容FC交换机光纤通道SAN磁盘阵列iSCSISAN磁盘阵列NAS磁盘阵列VM1ESX主机1VM2VM1ESX主机2VM2VM内容VM3VM312本地SCSIVMDKIP交换机ESX服务器建议配置-新购为了尽可能的发挥虚拟化的作用,最大限度的利用单台服务器的资源,建议用于虚拟化宿主服务器的配置应达到或超过如下标准:服务器CPU路数双路四路八路CPU建议主频2GHz以上双路四核四路双核或四核四路双核或四核+内存16GB+32GB+64GB+千兆网口无外接存储4+/6+4+/6+4+/6+使用FC存储4+/6+4+/6+4+/6+使用IP存储6+/8+6+/8+6+/8+FCHBA口建议4Gb或8Gb产品222内置硬盘使用外置磁盘阵列时222电源双冗余双冗余双冗余从性价比和可用性考虑,不建议在单路服务器上部署虚拟化虚拟化宿主服务器建议配置-现有对于目前业内用的比较多的四路服务器,建议如下:四路单核服务器:运算能力较弱,虚机数量应控制在10个以内,内存配置建议在12GB-16GB;四路双核服务器:运算能力中等,虚机数量可做到10-15个左右,内存配置建议在16GB-24GB;四路四核服务器:运算能力强劲,虚机数量可做到15-30个左右,内存配置建议在24GB-32GB。VC服务器最佳配置建议处理器:2.0GHz或更高的Intel或AMDx86处理器,VC支持多处理,可支持至多2个CPU。内存:最低需求为2GB,假使数据库和VC安装于同一台,建议增加至4GB。磁盘空间:最小为560MB,建议2GB。网卡:建议用Gigabit。最低硬件配置---单个2GHzCPU,2GB内存,千兆网口可支持20个同时连接,管理50台物理机,1000个虚拟机左右建议配置---双CPU,4GB内存,千兆网口可支持50个同时连接,管理200台物理机,2000个虚拟机左右议程应用实施范围考虑服务器采购考虑虚拟机部署考虑管理维护考虑虚机个数的规划单台服务器所能支持虚机数量的决定因素:服务器的硬件配置CPU性能---多核高主频技术使得CPU成为性能瓶颈的可能性越来越低内存大小---做为硬指标的内存,配置越高,所能支持的虚机数量越多网络端口---千兆网环境已很普遍,网络带宽大多有保证,更多从管理角度来考虑HBA卡---磁盘访问性能对虚机数量有一定影响,建议采用4Gb或8GbHBA卡以减少链路影响本地磁盘---内置磁盘的可用性及IO吞吐能力均较弱,不建议在其上存放虚拟机,推荐使用外置高性能磁盘阵列应用负载大小由于物理服务器资源自身的最大限制,应用负载越大,所能同时运行的虚机数量越少建议将不同应用访问特性的应用混合部署在同一物理服务器上灵活运用DRS和VMotion技术可将物理机与虚机的比率关系调到最优考虑到HA及DRS所要求的资源冗余,所有运行虚机在正常负载下,总体资源使用率不超过三分之二会比较合适经验值:双路四核10个虚机左右,四路四核15-30个虚机仅为参考虚机资源的分配---CPU、内存CPU分配原则:尽量使用最少的vCPUs,如果是单线程应用,不支持多线程处理,请不要使用virtualSMP虚拟CPU数量不要等于或超过物理CPU核数,如双路双核服务器配置的虚机最多使用两个虚拟CPU当配置虚拟机的时候须了解ESX服务器本身也有一些overhead。需注意不要超过所有虚拟机使用率和所有vCPU汇总数目。观察”idleloopspin”功能参数,某些操作系统当它们闲置时,并不会真正的释放virtualCPU。确认配置了单一处理器的虚拟机为”UPHAL/kernel”,多处理器的虚拟机必须设定为”SMPHAL/kernel”。内存分配原则:内存总量为在资源评估后,计算虚拟机评估结果所需实际物理内存的总和,其他由于应用程序而产生的更多内存需要可以用ESX的磁盘内存来解决关键应用可考虑固定内存的方法以保证性能的稳定性DRSBestPractices:HardwareConfigurationEnsurehostsareCPUpatibleIntelvsAMDSimilarCPUfamily/SSE3statusEnhancedVMotionpatibilityEVC“VMwareVMotionandCPUpatibility”whitepaperCPUinpatibility=>limitedDRSVMmigrationoptionsLargerHostCPUandmemorysizepreferredforVMplacementifallequalDifferencesincacheormemoryarchitecture=>inconsistencyinperformanceDRSBestPractices:ClusterConfigurationHighernumberofhosts=>moreDRSbalancingoptionsRemendupto32hosts/clusterMayvarywithVCserverconfigurationandVM/hostratioNetworkconfigurationonallhostsVMotionnetwork:Securitypolicies,VMotionnicenabled,GigEnetwork,etcVirtualMachinenetworkpresentonallhostsVMdatastoresharedacrossallhostsVMfloppy/CDconnectedtohostdeviceDRSBestPractices:VMResourceSettingsReservations,Limits,andSharesSharestakeeffectduringresourcecontentionLowlimitscanleadtowastedresourcesHighVMreservationsmaylimitDRSbalancingOverheadmemoryUseresourcepoolsRPforbettermanageabilityVirtualCPU’sandMemorysizeHighmemorysizeandvirtualCPU’s=>fewermigrationopportunitiesConfigureVMsbasedonneedDRSBestPractices:AlgorithmSettingsAggressivenessthresholdModeratethresholddefaultworkswellformostcasesAggressivethresholdsremendedifHomogenousclustersandVMdemandrelativelyconstantandFewaffinity/anti-affinityrulesUseaffinity/anti-affinityrulesonlywhenneedAffinityrules:closelyinteractingVMsAnti-affinityrules:I/Ointensiveworkloads,availabilityAutomaticDRSmoderemendedcluster-wideManual/Partiallyautomaticmodeforlocation-criticalVMsperVMPerVMsettingoverridescluster-widesettingHABestPractices-Setup&NetworkingProperDNS&NetworksettingsareneededforinitialconfigurationAfterconfigurationDNSresolutionsarecachedto/etc/FT_HOSTSminimizingthedependencyonDNSserveravailabilityduringanactualfailoverDNSoneachhostispreferredmanualeditingof/etc/hostsiserrorproneRedundancytoESXServiceConsolenetworkingisessentialseveraloptionsChoosetheoptionthatminimizessinglepointsoffailureGateways/isolationaddressesshouldrespondviaICMPpingEnablePortFastorequivalentonnetworkswitchestoavoidspanningtreerelatedisolationsNetworkmaintenanceactivitiesshouldtakeintoaccountdependenciesontheESXServiceConsolenetworksVMwareHAcanbetemporarilydisabledthroughtheCluster->EditSettingsdialogValidVMnetworklabelnamesrequiredforproperfailoverVirtualmachinesusethemtore-establishnetworkconnectivityuponrestartHANetworkConfigurationAsingleserviceconsolenetworkwithunderlyingredundancyisusuallysufficient:Useateamof2NICsconnectedtodifferentphysicalswitchestoavoidasinglepointoffailureConfigurevNicsinvSwitchforActive/Standbyconfigurationrollingfailover=“yes”,defaultloadbalancing=routebasedonoriginatingportIDConsiderextendingtimeoutvalues&addingmultipleisolationaddresses*seeappendixTimeoutsof30-60secondswillslightlyextendrecoverytimes,butwillalsoallowforintermittentnetworkoutagesNetworkredundancybetweentheESXserviceconsolesisessentialforreliabledetectionofhostfailures&isolationconditionsHANetworkConfigurationContinuedHAwilldetectanduseasecondaryserviceconsolenetworkAddingasecondaryserviceconsoleportgrouptoanexistingVMotionvSwitchavoidshavingtodedicateanadditionalsubnet&NICforthispurposeAlsoneedtospecifyanadditionalisolationaddressfortheclustertoaccountfortheaddedredundancy*seeappendixContinueusingtheprimaryserviceconsolenetwork&IPaddressformanagementpurposesBecarefulwithnetworkmaintenancethataffectstheprimaryserviceconsolenetworkandthesecondary/VMotionnetworkBeyondNICteaming,asecondaryserviceconsolenetworkcanbeconfiguredtoprovideredundantheartbeating&isolationdetectionHABestPractices–ResourceManagementLargergroupsofhomogenousserverswillallowhigherlevelsofutilizationacrossanHA/DRSenabledclusteronaverageMorenodesperclustercurrentmaximumis16cantoleratemultiplehostfailureswhilestillguaranteeingfailovercapacitiesAdmissioncontrolheuristicsareconservativelyweightedsothatlargeserverswithmanyVMscanfailovertosmallserversTodefinethesizingestimatesusedforadmissioncontrol,setreasonablereservationsastheminimumresourcesneededAdmissioncontrolwillexceedfailovercapacitieswhenreservationsarenotset;otherwiseHAwilluselargestreservationspecifiedasthe“slot”size.Ataminimum,setreservationsforafewvirtualmachinesconsidered“average”AdmissioncontrolmaybetooconservativewhenhostandVMsizesvarywidelyPerformyourowncapacityplanningbychoosing“Allowvirtualmachinestobepoweredoneveniftheyviolateavailabilityconstraints”.HAwillstilltrytorestartasmanyvirtualmachinesasitcan.议程应用实施范围考虑服务器采购考虑虚拟机部署考虑管理维护考虑ImpactofVirtualCenterDowntimeponentImpactExperiencedVirtualMachinesUnaffected,managementrequiresdirectconnectionstoESXServersESXServersUnaffected,managementrequiresdirectconnectionstoESXServersPerformance&MonitoringStatisticsHistoricalrecordswillhavegapsduringoutages,stillavailableviaESXServersVMotionUnavailableVMwareDRSUnavailableVMwareHAAgentsunaffected&providefailoverfunctionality,admissioncontrolunavailable---参见BulletproofVirtualCenter-AGuidetoProtectingVirtualCenterVirtualCenterponentsVirtualCenterServerWebAccessLicenseServerADDomainControllerDNSServerDatabaseServer---参见BulletproofVirtualCenter-AGuidetoProtectingVirtualCenterVirtualCenter–RemendedCollocationCollocationofVirtualCenterponentsisdesirableformostenvironmentsFocusofthissessionisonprovidingprotectionfortheseponentsIndustrystandardsolutionsassumedforotherponentsOneServer,PhysicalorVirtualVirtualCenterServerWebAccessLicenseServerADDomainControllerDNSServerDatabaseServer---参见BulletproofVirtualCenter-AGuidetoProtectingVirtualCenterVirtualCenterponentsAdditionalDetailsVirtualCenterService:almoststatelessInformationaboutinventorystoredinthedatabaseSomestatefilesstoredlocallyonVirtualCenterserverWebAccessNostateinformationLicenseServerLicensefilestoredlocally14dayGraceperiodifunavailable---参见BulletproofVirtualCenter-AGuidetoProtectingVirtualCenterVirtualCenter–LocalConfigurationFilesOneServer,PhysicalorVirtualVirtualCenterServerWebAccessLicenseServerDatabaseServerSSLCertificateLicenseFileConfig.FileUpgradeFiles---参见BulletproofVirtualCenter-AGuidetoProtectingVirtualCenterStep1forHighAvailability:ProtecttheDatabaseDatabaseoutagewillterminateVirtualCenterserviceAsofVirtualCenter2.0.1Patch2,WindowsServiceManagerwillautomaticallyattempttorestartitevery5minutes,indefinitelyVirtualCenterDatabaseshouldbeindependentlyinstalledandmanagedForlocalavailabilityusethepreferredmechanismforthetypeofdatabasebeingusedVMwareHA,MSCS,DatabasespecificmechanismsFordisasterrecovery,databaseshouldbereplicatedtoaremotesiteaspartofanoverallDRplan---参见BulletproofVirtualCenter-AGuidetoProtectingVirtualCenterVCVCBangFailoverStep2forHighAvailability:ProtectVirtualCenterVMwareHAandMicrosoftClusterServicesMSCSarethetwomostpopularoptionsOther3rdpartysolutionspossible**Supporteddirectlyby3rdpartyOptiona:VMwareHAVirtualinstancesonlySubjecttosharedstorage/networkconstraintsOnlyrequiressingleOS&applicationinstance;noexplicitreplicationOptionb:MSCSVirtualCenter2.0.2patch2orbeyondPhysicalorvirtualinstancesRequires2identicalOS&applicationinstallations;explicitreplicationoffilesInvolvesadditionalconfigurationefforts&ongoingmaintenance---参见BulletproofVirtualCenter-AGuidetoProtectingVirtualCenterVirtualCenter:Physicalvs.VirtualPhysicalVirtualBackupsdoneusingtraditionaltoolsBackupspossiblethroughtraditionaltools,VCB,snapshots,cloning,etc.DedicatedserverrequiredDedicatedservernotrequired,resourcescanbesharedwithothervirtualmachinesPerformancelimitedonlybyserverhardwarePerformancefromsharedresources;tuningmaybeneededForadditionaldetailsrefertothefollowingdocumentation:http://.vmware./pdf/vi3_vc_in_vm.pdfVirtualCenterwithVMwareHA:Out-of-BandTwoapproachesTwoVirtualCenterinstancesmanageeachotherpicturedBothruninHAclusterEachmanagestheother’sHAclusterSeparateVirtualCenterinstanceisusedtomanage2-nodeHAclusternotpicturedvpxdvpxdVirtualCenterServermanagestheVMwareHAclusterprovidingitsprotectionWhentheESXhostswithVirtualCenterVMfails,VMisrestartedautomaticallybyHAFailoverfunctionalityprovidedbyHAisindependentfromVirtualCenterpost-configurationvpxdVirtualCenterwithVMwareHA:In-BandVirtualCenterwithMSCS–PhysicalBestpractice:useMajorityNodeSetquorumwithwitnessshareMaybeusedasgeographicallydispersedclusterfordisasterrecoverysolutionVCDBmaybeusedinanotherclustergrouponthesameclusterRequiresathirdnodeEthernetNetworkvcdbvpxdForadditionaldetailsrefertothefollowingdocumentation:http://.vmware./pdf/VC_MSCS.pdfVirtualCenterwithMSCS–VirtualRequiresuseofquorumdiskclustering:QuorumdiskonthesharedstorageSystemdisksforbothclusteredvirtualmachinesonlocalstorageInpatiblewithVMotionorVMwareHASANLANvpxdForadditionaldetailsrefertothefollowingdocumentation:http://.vmware./pdf/VC_MSCS.pdfRiseofthePhoenix-DisasterRecoveryVirtualCenterServerDatabaseServerVIServicesVIInventoryDatabaseServerStandardDRSolutionStandbyVirtualCenterServerPrimaryReplicationofstatefilesVirtualCenterDisasterRecoveryOverviewDisasterrecoverysolutionconsistsofthreepieces:VIInventorydataUsethestandardDRsolutionofthedatabasevendorVIServicesColdStandby–Re-installVirtualCenterandrestorelocalconfigurationfilesWarmStandby–Pre-installVirtualCenterandsynchronizelocalconfigurationfiles,butkeep2ndinstancedisconnectedAllotherinfrastructureservices:AD,DNS,etc.Useexistingproduct-specificsolutionsColdStandbyRecoveryProcedureAbletoassignprimary’sIPtostandbyMaintainseparateuptodatecopyoflocalconfigurationfilesInstallfreshVirtualCenterinstanceInstallconfigfiles;connecttostandbyDBDisasterESXServerhostsreconnectautomaticallyRunscripttoreconnectallESXServerhostsDoneyesnoForadditionaldetailsrefertothenewVIperltoolkit:http://.vmware./go/viperl/scriptsWarmStandbyRecoveryProcedureAbletoassignprimary’sIPtostandbyKeeplocalconfigurationfilessynchronizedbetweenprimaryandstandbyDisasterESXServerhostsreconnectautomaticallyRunscripttoreconnectallESXServerhostsDoneyesnoFasterend-to-endrecoveryRTOAlsoallowsforscriptingandautomationReplicationofconfigurationfilesthroughhost-basedreplicationorbackuptoolsMonitoringIndividualVirtualCenterponentsEntitySubentityponentMetricTooltouseVirtualCenterServerVirtualCenterVirtualCenterService-vpxdvpxd.exefoundWMIvpxdisrunningasserviceWMIVirtualCenterCertificatesfilesareexistsWMIsizeWMImodificationdateWMILicenseServerLicenseServerServiceexefileexistsWMIserviceisupandrunningWMILicenseFilesfilesareexistsWMIsizeWMImodificationdateWMIWebServiceWebServiceexefileexistsWMIserviceisupandrunningWMIWebPagehttp://localhostisreachablePerlorvbsscript–HTTPGETcriticalfilesarefoundWMIHostSystemwhereVCisrunningonSystemCPUload<90%WMISystemdisk<80%FULLWMINetworkOKWMIDatabaseserverODBCConnectionConnectionworksWMIDatabaseintegritySome"select"statementoncriticaltablessqlFileContentsLocationFlexLicensefilesLicensekeysforallserver-basedlicensedfeaturesC:\ProgramFiles\VMware\VMwareLicenseServer\LicensesVirtualCenterConfigurationfileGovernsthebehaviorofVirtualCenterServeranditsinteractionwithESXServerhostsaswellasclientprograms,suchastheVIClient.C:\DocumentsandSettings\AllUsers\ApplicationData\VMware\VMwareVirtualCenter\vpxd.cfgSSLcertificateThecertificateusedtoauthenticateallmunicationwithESXServerhosts.%ALLUSERSPROFILE%\ApplicationData\VMware\VMwareVirtualCenter\SSLUpgradefilesInspecialcircumstances,itmightbenecessarytomakecustomchangestotheagentwhichgetspushedtoESXServerhostsastheyareaddedtotheenvironmentC:\ProgramFiles\VMware\VMwareVirtualCenter2.0\upgradeVirtualCenter–ImportantFilesDetailsVirtualCentermunicationPortsmunicationChannelDefaultPortNumberandProtocolConfigurableVirtualCentertoESXServerhost902;TCPandUDPNoteasilyrequiresnumerousmanualconfigfilechangesVirtualCentertoVIClient902;TCPand443;TCPforinitiationYes,viaVIClientWebbrowsertoVirtualCenter80&443;TCPYes,viaVIClient3rdpartySDKclienttoVirtualCenter80&443;TCPYes,viaVIClientWebbrowsertovirtualmachineconsole903;TCPNoVIClienttovirtualmachineconsole903;TCPNoVIClienttoESXServerhost902;TCPand443;TCPforinitiationNoWebbrowsertoESXServerhost443;TCPNo3rdpartySDKclienttoESXServerhost443;TCPNoHistoricalPastDayPastWeekPastMonthPastYearRollupevery30minutes5minHostdHostdRealTimestatisticscollectionDatabaseVPXDrollsuprealtimeperformancestatisticstohistoricalfiveminutesstatisticsandsendstodatabaseVirtualCenterRollupevery2hoursRollupevery24hours30min2hr24hrPurgeafteroneyearOverviewofPerformanceStatisticsDatabaseSizingforOptimalPerformanceMemory-databasesaremostefficientwhengivenenoughmemorytocachetheirworkingdatasetDiskI/O-sufficientdiskdevicebandwidthforlogdevicestopreventtransactionsfrombottleneckingondiskI/OCPU-SQLServerisdesignedtouseparallelproc
本文档为【VMware虚拟化实践与规划】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
个人认证用户
华建1699
暂无简介~
格式:ppt
大小:4MB
软件:PowerPoint
页数:85
分类:企业经营
上传时间:2022-07-13
浏览量:2