为什么说 MySQL cluster架构 是 shared-nothing 架构的

为什么说 MySQL Cluster 是 shared-nothing 架构的_百度知道
为什么说 MySQL Cluster 是 shared-nothing 架构的
提问者采纳
&script type=&text/javascript&&
Composite root = new Composite(&root&);
root.Add(new Leaf(&Leaf A&));
root.Add(new Leaf(&Leaf B&));
Composite comp=ne俯攻碘纪鄢慌碉苇冬俩w Composite(&Composite X&);
comp.Add(new Leaf(&Leaf XA&));
comp.Add(new Leaf(&Leaf XB&));
root.Add(comp);
其他类似问题
为您推荐:
别克凯越的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁为什么说 MySQL Cluster 是 shared-nothing 架构的_百度知道
为什么说 MySQL Cluster 是 shared-nothing 架构的
提问者采纳
但是共享同一个存储,每个结点有自己的CPU和内存。也就是说,存储只有一份,share disk的实现更复杂、内存,也不存在谁才是“真正的”分布式数据库的问题,由文件系统本身来保证其可用性。  share nothing和share disk各有利弊,一般由高端的专门存储设备来完成。一般来说。  share disk架构下。二者当然都可以实现事务。比较典型的share disk数据库有oracle RAC和DB2 PureScale。mysql cluster的结点之间不共享存储(每个结点有自己的存储)、存储,无法简单地认为谁优谁劣,价格也更昂贵。  大多数分布式数据库都是share nothing的。  share nothing架构下,放在单独的分布式文件系统上,所以属于share nothing,每个结点都有自己的CPU。跨结点的数据访问通过结点之间的网络通讯来完成  share nothing和share disk是两种常见的分布式数据库模型
来自团队:
其他类似问题
为您推荐:
cluster的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁MySQL :: MySQL Cluster: High Availability
The world's most popular open source database
MySQL Cluster: High Availability
With its distributed, shared-nothing architecture, MySQL Cluster has been carefully designed to deliver 99.999% availability ensuring resilience to failures and the ability to perform scheduled maintenance without downtime.
Protecting against outages:
Synchronous Replication - Data within each data node is synchronously replicated to another data node.
Automatic Failover - MySQL Cluster's heartbeating mechanism instantly detects any failures and automatically fails over, typically within one second, to other nodes in the cluster, without interrupting service to clients.
Self Healing - Failed nodes are able to self-heal by automatically restarting and resynchronizing with other nodes before re-joining the cluster, with complete application transparency
Shared Nothing Architecture, No Single Point of Failure - each node has its own disk and memory, so the risk of a failure caused by shared components such as storage, is eliminated.
Geographical Replication - Geographic replication enables nodes to be mirrored to remote data centers for disaster recovery.
Figure 1: With no single point of failure, MySQL Cluster delivers extreme resilience to failures.
MySQL Cluster also protects against the estimated 30% of downtime resulting from scheduled maintenance activities by allowing on-line operations, including:
On-Line schema updates
On-Line scaling (adding nodes for capacity and performance)
On-Line upgrades and patching of hosts, OS and database
On-Line backup人人文库美如初恋!
&&&&&&PDF文档下载
您还没有登陆,请先登录。登陆后即可下载此文档。
合作网站登录:
2:本站资源不支持迅雷下载,请使用浏览器直接下载(不支持QQ浏览器)
3:本站资源下载后的文档和图纸-无水印,文档经过压缩,下载后原文更清晰&&&
&&&&&&侵权投诉
思科数据中心网络架构和设计指南
1(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID数据中心网络架构和设计指南2(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID目录数据中心网络架构ServerFarmArchitectureOverviewDesignRequirementsintheServerFarmAccessLayerDesignModelsDensityandScalabilityImplicationsScalingB/WwithGigabitEtherChannel(R)and10GESpanningTreeDesignandScalabilityHighAvailabilityintheDCSummary数据中心服务器群交换架构3(C)2005CiscoSystems,Inc.Allrightsreserved.DC_2005_c24(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义数据中心接入层2层,3层服务器和主机连接L2andL3requirementsDualandsingleattachedHighperformance,lowlatencyL2switchingMixofoversubscriptionrequirementsManyuplinkoptionsSTPprocessingforconfiguredVLANsonlyUtilizesservicesintheaggregationlayerL3AccessBladeChassisw/IntegratedSwitchBladeChassisw/PassThruMainframew/OSAL2w/ClusteringandNICTeamingEnterpriseCoreDCAggregationDCCoreDCAccess5(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_IDAggregatesaccessuplinksintoDCcoreLargeSTPprocessingloadProvidesadvancedapplicationandsecurityfunctionsviaservicemodulesMaintainssessionstateandconnectiontablesforredundancyWhataretheseservices定义数据中心汇聚层提供共享的应用/安全服务EnterpriseCoreDCAccessServiceModulesL3AccessBladeChassisw/IntegratedSwitchBladeChassisw/PassThruMainframew/OSAL2w/ClusteringandNICTeaming6(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义数据中心汇聚层集成服务ApplicationandsecurityservicescanbedeployedasAppliancesServicebladesServicebladessuchasfirewallbladesandloadbalancingbladesprovidehardwarebasedstatefulfunctionsIntegratedbladesoptimizerackspace,cablingandconfigurationmgmtProvidehighestflexibilityandeconomiesofscaleLayer4–7ServicesFW,SLB,SSL,IDS7(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义数据中心汇聚层服务器之间的通信路径TheaggregationmodulemayprovidetheprimarycommunicationpathforservertoservertrafficNontraditionaltrafficemergingDrivingloweroversubscriptionand10GEuplinksServersnowshipwithPCIXNICsandGEPlanbandwidthforfutureservertruecapacityAccessAggregationDCCoreWhatTypesofServertoServerTrafficWillExistMultiTierInteraction,Backup,Replication,ClusterMessaging,StorageoverIP8(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义数据中心核心层汇聚层之间的高速交换矩阵InterconnectsAGGmodulesIsolatesfailuredomainsScaleslargeSTPdiametersImproves10GEscalingPlanandbuildDCcoreupfrontNx100ServersNx100ServersAggModule1AggModule2DCCoreAggregationGE/10GEGE/10GEAccessEnterpriseCore9(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义数据中心服务器交换矩阵服务器间流量的高速交换PurposebuiltserverswitchingfabricenablingLowlatencyRDMAServervirtualizationGRID/UtilitycomputingClusteringenvironmentsDatabaseclusteringHAclusteringHPCclusteringGatewaytoIPswitchingandstoragelayersNew,leadingedge,stillmaturingNASBladeServersUNIX/WindowsServersVirtualServerFabric2BladebasedVirtualServerFabric1Linux/WindowsIPInfrastructureUNIXIWINEnterpriseGRIDStorageNetworkServerSwitchFabricInfinibandEthernetEthernetFC服务器群网络的设计需求10(C)2005CiscoSystems,Inc.Allrightsreserved.DC_(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID什么时候需要2层的网络连接满足服务器群应用要求ClusteringapplicationsoftenexecuteonmultipleserversclusteredtoappearasasingledevicecommonforHAandloadbalancingrequirementsWindowsMSCSandNLBNICteamingsoftwarerequireslayer2adjacencybetweenteamedNICsMicrosoftApplications.NETJavaBasedApplications,J2EE12(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义网络2层邻接关系Layer2adjacencybetweenserversmeansthattheserversareinthesamebroadcastdomain.WhenserversareLayer2adjacent,eachserverreceivesallbroadcastsandmulticastpacketsfromanotherserver.PacketMagazineSecondQuarter2005DesigningtheDataCenterAccessLayer13(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义集群的服务器高可用性集群Commongoalcombinemultipleserverstoappearasaunifiedsystemthroughspecials/wandnetworkinterconnectsA2NodeHAclustercanuseadedicatedcrossovercableforexchangeofdata,sessionstate,monitoringTwoormoreserversuseaswitchtoprovidetheinterconnectonanisolatedlayer2segment/VLANExamplesMSWindows2003AdvancedServer2003ClusterServiceMSCS,forExchangeandSQLServersuptoeightnodesVeritasClusteringforHAL2AdjacencyisrequiredServerAServerBClusterNetworkwith2NodesCrossoverCableConnectionFrontEndInterfaceFrontEndInterfaceClusterNetworkwith2orMoreNodesonSwitchVLANABC14(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义集群的服务器负载均衡集群Transactional/HTTPbasedapplicationsareclusteredforscalabilitypurposesMSCSNLBexample,upto32nodesLayer2segmentusedtomulticastallincomingpacketstoallhostsinclusterL2AdjacencyisrequiredSingleIPaddressassociatedwithamulticastMACaddressintheclusterarpreplyWindowsPurposebuiltloadbalancersprovideastandardhardwarebasedunicastsolutionsupportinghundredsofnodesFrontEndInterfaceServerBasedNLBUsesFloodingMulticastAddressUsedinArpReplyforServerIPSLBHardwareUseUnicastBasedSolutionClusterNetworkABCABCClusterNetworkToVIPToReals15(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义集群服务器数据库集群ObjectiveimproveDBlocktimesandenablemoreefficientparallelscansDatabaseClusterExamplesOracle10gRACIBMDB2ParallelSQLServerMySQLClusterStorageApproachesSharedEverythingFSlockingSharedNothingSlicesupdatabaseStandardsbasedInterconnectOptionsEthernet,InfinibandLowLatencyHighB/WMultiprotocolGatewayApplicationServersIBMDB2ParallelOracleRACIPInfrastructureDatabaseClustersonEthernetStorageNetworkServerSwitchFabricIBMDB2ParallelMySQLClusterDatabaseClustersonInfinibandApplicationServers16(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID定义集群服务器高性能计算集群AnimationrenderingSeismologyOilexplorationBiochemistryFinancialanalysisCommonpracticetoleaseHPCenvironmentSpecificApplicationsMasterNodescanbemanyFrontEndCommonFileSystemComputeNodesuptotensofthousandsNAS,SANEthernetNFS,iSCSI,FC,IBGatewayMaybecommoninterface/infrastructureBackendfornodesync/datasharingusingIP/TCPorRDMAprotocolsMPI,uDAPL,SDP,SRPEthernet,InfinibandEthernetImplementationsareverycustomizedandrarelyalikeBackEnd17(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_IDEthernet,Infiniband,Myrinet,Quadrics定义集群服务器高性能计算集群需求和对网络的影响L2adjacencybetweencomputenodesmayberequiredapplicationdependentCommonfilesystemusedbycomputenodesLatencyiscriticaltoperformanceNetworkandsystemstaffusuallydontcommunicateclusteringneedswellWhodetermineswhichserverstoincludeinaclusterSamerackrowWilltherebeanimpactonaccesslayeruplinksMasterNodesPublicPrivateNodeSyncandDateSharingwithMPI/DAPL/SDPGEtoNAS,FCSAN,iSCSIFileSystemAccessLayerAccessLayerComputeNodesAggregationAccessLayer18(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID服务器集群网络设计影响ServerAandserverBcommunicateatlayer2toexchangestate,sessionandotherinformationServers2ormoreinclustermaybeacrossdifferentaccessswitchesextendingVLANsandSpanningTreediameterServertoserverclusterfabricmayrequirehigherb/wuplinksGEC,10GETrunksAggregationServerAServerBVLAN1019(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_IDNICTeaming需求Teaming需要网卡在同一网段上ServersareoftendualconnectedforhighavailabilitypurposesTheNICdriverbundlesmultipleNICcardsasiftheywereasingleinterfaceIfoneNIClosesconnectivitytheredundantNICbecomesactiveandinheritsthesameMACaddressastheprimaryoneTheserverisalwaysreachableatthesameIPaddressThismeansthatbothNICsneedtobelongtothesameBROADCASTdomainsamesubnetOptionalprobes/heatbeatsformonitoringaremulticastbasedNIC1NIC2MAC1MAC2NIC1NIC2MAC1MAC220(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_IDNICTeaming需求数据中心中集成网卡Teaming支持Theaccessswitchesneedtoprovidelayer2adjacencybetweentheNICcardsofserverswithNICteamingconfiguredalayer2pathmustexistbetweensuchserversL3LinksRapidPVST,orPVSTOSPF,EIGRPAggregationAccessAccessAggregationLayer2Layer321(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID主机连接需求IP地址和主机MainframescanbeusedtoconsolidateserverfarmsbyrunningLinuxonseveralLogicalPartitionsLPARsIBMvirtualstorageconceptEachLPARhasoneIPaddresspernetworkcardandastaticVIPAMainframeswithOSAcardscanattachtoEthernetportsMainframesuseOSPForRIPtoadvertisetheinternalIPaddressLPAR1MainframeLPAR2LPAR3IP110.0.3.110.0.3.210.0.3.3VIPAVIPAVIPAOSPFOSPFOSACardIP222(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID主机连接需求3层的OSPF连接MainframeswithOSAcardsattachtoEthernetportsaggregationoraccessswitchesMainframesrunOSPFLayer3linksprovidefastconvergencetimesMainframescanbeattachedtoa75xx/72xxrouterwithESCONconnectionsMainframe1Mainframe2Mainframe3ESCONDirectorMainframe4Mainframe5DCCoreEnterpriseCoreAggregation23(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID刀片服务器需求连接选择UsingPassThroughModulesUsingIntegratedEthernetSwitchesBladeServerChassisBladeServerChassisAggregationLayerExternalL2SwitchesIntegratedL2SwitchesInterface1Interface2接入层网络设计模式24(C)2005CiscoSystems,Inc.Allrightsreserved.DC_(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID2层接入设计模式DefiningLayer2AccessLayer2accessprovideslayer2adjacencybetweenserversintheaccessswitchesItDOESNTmeancarryingallVLANsunnecessarilyacrossallaccessswitchesL3processingisfirstperformedintheaggregationlayerL2topologiesconsistoflooped,loopfree,andhubandspokeLayer2Using802.1qTrunksLayer3AggregationDCCore26(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID2层接入设计模式环路设计VLANsareextendedbetweenaggregationswitches,creatingtheloopedtopologySpanningTreeisusedtopreventactualloopsRapidPVST,MSTRedundantpathexiststhroughaseconduplinkthatisblockingThebackuplinkgoesforwardingwhentheprimarylinkislostPrimaryRootPrimaryHSRPSecondaryRootSecondaryHSRPFFFFFBFFBFBBFFFF.1QTrunkFFFF27(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_IDServiceslikefirewallandloadbalancingcanbedeployedattheaggregationlayerandsharedacrossmultipleaccesslayerswitchesVLANsareprimarilycontainedbetweenpairsofaccessswitchesAVLANmaybeprovisionedonadifferentaccessswitchifadministrativereasonsrequirethisNICteamingandclusteringcanbesupportedacrossaccesslayermodulesCABINET1CABINET2DCCore.1QTrunkServer1Server2Server3Server4Server52层接入设计模式环路设计28(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID2层接入设计模式环路设计的缺点MaindrawbackifaloopoccursthenetworkmaybecomeunmanageableduetotheinfinitereplicationofframesNewfeaturesplusbestpracticesimprovestabilityandpreventloopconditionsUDLDLoopguardRootguardBPDUguard3/23/23/13/1Switch1Switch2DSTMAC44DSTMAC0.333329(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID2层接入设计模式无环路设计EachpairofaccessswitchesareassignedasetofVLANsspecifictothatpairNoVLANsaretrunkedbetweenaggregationswitchesSpanningTreeisenabledbutnoportisblockingAlllinksareforwardingNICteamingandclusteringcanbesupportedwithinaccesslayermodules10.10.20.0VLAN10Layer3LinkVLAN.0Gateway10.10.10.1VLAN10Gateway10.10.20.1VLAN20DCCore30(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID2层接入设计模式无环路设计和AutostateIftheuplinkconnectingaccessandaggregationgoesdown,theVLANinterfaceontheMSFCgoesdownaswellautostate,i.e.whenthereisnoportforwardingonagivenVLAN,theVLANinterfaceontheRPgoesdownTherecanbeservicemoduleimplicationsasstateisnotconveyedSeenewtrackingfeaturesforCSMandFWSMLayer3LinkVLAN10VLANInterface10IP10.20.10.1GoesDownHSRPSecondaryonAgg2TakesoverasDefaultGatewayMSFCAgg1Agg231(C)2005CiscoSystems,Inc.Allrightsreserved.CiscoConfidentialSessionNumberPresentation_ID2层接入设计模式无环路设计缺点Ifthetrunkbetweenaccessswitchpairsisbroken,thereturnIPpathmaybebrokenVLANsmustberestrictedtoaccessswitchpairsIfVLANsareextendedbetweenaccesslayermodulesthenSTPblockingwilloccur10.10.20.0VLAN10Layer3LinkVLAN.0Gateway10.10.10.1VLAN10Gateway10.10.20.1VLAN20DCCore
本文(思科数据中心网络架构和设计指南)为本站会员(策划大师)主动上传,人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
若此文所含内容侵犯了您的版权或隐私,请立即通知人人文库网(),我们立即给予删除!
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
copyright@
人人文库网网站版权所有
国家工业信息化备案:苏ICP备号-5

我要回帖

更多关于 mysql cluster 的文章

 

随机推荐