《双活数据中心与灾备解决-技术部分PPT课件》由会员分享,可在线阅读,更多相关《双活数据中心与灾备解决-技术部分PPT课件(93页珍藏版)》请在金锄头文库上搜索。
1、 双活数据中心与灾备解决方案 技术部分 臧铁军 VMware GCHCOE云架构师 2 议程 3 基于虚拟化技术的业务连续性解决方案概览 本地站点 灾备站点 基于虚拟化层的异步复制基于硬件设备的同异步复制自动化应用切换管理城域集群 应用感知的高可用性关键应用零停机保护在线迁移虚拟机 动态调配计算与存储资源VMotionandStorageVMotion 高效的数据备份与恢复可通过运行计划与脚本实现自动化操作 灾难恢复 本地高可用 数据保护 方案特点与应用程序和操作系统无关与硬件设备无关完善的保护简单 经济 4 议程 5 双活数据中心在各个级别上全面保障可用性 6 双活数据中心总体架构 双活存储
2、集群 站点A 站点B 延伸的vSphere集群 200km 行为与单个vSphere相同延伸距离最大200KM 通常小于50KM通过VMwareHA与vMotion实现自动的DR保护需要双活存储集群 如EMC的vPlex NetApp的MetroCluster等 计算资源设计 8 MakinganApplicationServiceHighlyAvailable vSphereHAvSphereAppHA 9 VMwarevFabric tcServer vSphereAppHA Policy based Protectoff the shelfapps 10 FaultTolerancevs
3、 HighAvailability FaulttoleranceAbilitytorecoverfromcomponentlossExample HarddrivefailureHighavailability X 11 支持多vCPU的容错技术 InstantaneousFailover 4vCPU 4vCPU vSphere Primary Secondary FastCheckpointing 12 长距离vMotion vSphere6 0支持跨三层网络和跨vCenterServer的vMotions 13 vCenterAvailability RunvCenterServerapp
4、licationinaVMRunvCenterServerdatabaseinaVMRunbothinsameVM ProtectwithvSphereHAvCenterandDBVMrestartprioritysettoHighEnableguestOSandAppmonitoringAppHAcanprotectSQLServerdatabaseBackupvCenterServerVManddatabaseImage levelbackupforvCenterServerVMApp levelbackupusingagentfordatabasebackup 网络资源设计 15 双活数
5、据中心网络架构 NSXvSphereMulti SiteUseCases NSXforvSpheresupports3differentMulti SiteDeploymentModelsVXLANwithStretchedClusters vSphereMetroStorageCluster VXLANwithSeparateClustersL2VPNAllsolutionsprovideL2extensionoveranL3network enablingworkload IPmobilitywithouttheneedtostretchVLANsLocalegressissupporte
6、d howeveritdoesaddcomplexityTheappropriatedeploymentmodelwilldependoncustomerrequirementsandtheirenvironment 17 NSX利用层叠网络实现双活数据中心 双活存储vSphere城域存储集群 数据存储1 数据存储2 vCenterServer 站点A 站点B VMwareNSXMulti SiteSingleVC StretchedCluster SolutionDetailRequiresasupportedvSphereMetroStorageClusterconfigurationIn
7、avMSCdeployment storageisActive Activeandspansbothsites ExamplesofActive Activestorageare EMCVPLEX NetAppMetroCluster seeVMwareHCLformoreinformation StretchedclusterssupportLivevMotionofworkloadsUseL3forallVMkernelnetworks Management vMotion IPStorageAllmanagementcomponentssuchasvCenterServer NSXMan
8、agerandControllersarelocatedinSiteALatencyandbandwidthrequirementsaredictatedbyvMSCstoragevendor eg10msRTTforVPLEXwhichalsoalignswithvMotionusingEnterprisePlusvMSCenablesdisasteravoidanceandbasicDisasterRecovery withouttheorchestrationortestingcapabilitiesofSRM LossofeitherNSXComponentsortheDatacent
9、erInterconnectwillresultsinafallbacktodataplanebasedlearningusingexistingnetworkstate ThereforethereisnooutagetodataforwardingandwithoutvCenterServer therearenoVMprovisioningormigrationoperationsNSXandvMSCarecomplimentarytechnologiesthatfitasweetspotforNSX SinglevCenterServer 19 VMwareNSXMulti SiteS
10、ingleVC StretchedCluster ClusterConfigurationvMSCenablesstretchedclustersacrosstwophysicalsitesInanNSXdeploymentManagement EdgeandWorkloadclustersareallstretchedUndernormalconditionsallManagementComponentsruninaSiteAandareprotectedbyvSphereHATheyareautomaticallyrestartedatSiteBintheeventofasiteoutag
11、e ThemanagementnetworkisnotstretchedandmustbeenabledonSiteBaspartoftherecoveryrunbookDependentondesign NSXEdgeServicesGatewaysareeitheractiveinbothsitesorasinglesiteandcanalsoleverageHAVMsintheWorkloadClustersareautomaticallyrecovered VMwareNSXMulti SiteSingleVC StretchedCluster InavMSCenvironment D
12、RSisusedtobalanceresourceutilization providesiteaffinity improvedavailabilityandensureoptimaltrafficflowUseShouldrules ratherthanMustasthisallowsvSphereHAtotakeprecedenceExampleDRSGroups RulesandSettingsforNSXEdges VMwareNSXMulti SiteSingleVC StretchedCluster NSXConfiguration Option1 Preferred Trans
13、portZonespansbothSitesandVXLANLogicalSwitchesprovideL2connectivitytoVMsDistributedLogicalRoutingisusedforallVMstoprovideconsistentdefaultgatewayvMACLocalEgressisprovidedbyusingseparateUplinkLIFsandEdgeGWspersite HostsonSiteAhaveDLRdefaultgatewayconfiguredviaSiteAEdgeGWusingnet vdrCLI WhileSiteBDLRde
14、faultgatewayisviaSiteBEdgeGWCaveat DynamicRoutingcannotbeenabledonDLR orastaticroutesetviaNSXManagerNSXEdgeGatewayswillhaveastaticrouteforanynetworksdirectlyconnectedtoDLR ConsistentIPaddressingwillsimplifyroutingbyallowingasupernettobeusedDFWprovidesvNICpolicyenforcementindependentoftheVMslocation
15、VM1 VM2 VM3 WebLogicalSwitch172 16 10 0 24 SiteA SiteB DistributedLogicalRouter VM4 VM5 AppLogicalSwitch172 16 20 0 24 SiteANSXEdgeGW192 168 10 1 SiteBNSXEdgeGW192 168 20 1 UplinkNetA192 168 10 0 29UplinkALIF192 168 10 2 UplinkNetB192 168 20 0 29UplinkBLIF192 168 20 2 VM6 VM7 DBLogicalSwitch172 16 3
16、0 0 24 InternalLIFs 1 VMwareNSXMulti SiteSingleVC StretchedCluster NSXConfiguration Option2 AsperOption1TransportZonespansbothSitesandVXLANLogicalSwitchesprovideL2connectivityforVMsNSXEdgeGatewaysaredeployedpersitewiththesameinternalIPaddressNSXDFWL2EthernetRulesaredefinedtoblockARPtotheremoteGWusingMACSets whichprovidesLocalEgressasonlythesitelocalEdgeGWislearnt FutureenhancementplannedtoenableESXihostobjectforDFW Caveats Trafficflowbetweenapplicationtiersmaybeasymmetriciftheyaresplitacrosssite