- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
SA_2015_09(Design-1)
Fault Prevention Removal from service This tactic removes a component of the system from operation to undergo some activities to prevent anticipated failures. Transactions A transaction is the bundling of several sequential steps such that the entire bundle can be undone at once. Process monitor Once a fault in a process has been detected, a monitoring process can delete the nonperforming process and create a new instance of it, initialized to some appropriate state as in the spare tactic. (VM) 例:高可用性集群系统 例:高可用性集群系统 系统由主机A及备份机B组成,二者之 间通过一根心跳线相连(可以通过串 口或以太网口),共享一个磁盘阵列。 由主机A对外提供服务,备机B则通过心跳线来监测主机A,一旦主机A出现故障,备机B可以把主机上的所有资源接管过来,从而继续对外提供服务。 主机和备机是相对而言的,也就是说两者可以各自负责某些服务及应用,两者可以互为备份,即active/active模式。这样,既可以提高系统的可靠性、冗余度,又可以充分利用硬件资源。 例:高可用性集群系统 多种冗余模式 双机在线待机模式 一个服务器作为主服务器,正常情况下承担所有任务。另外一台服务器作为待机服务器,正常情况下除了监控主服务器的状态,不进行其他的操作。一旦主服务器宕机,待机服务器就接手工作,成为新的主服务器。客户仍然可以拥有同样地服务器IP地址、NFS、数据、数据库等。实际上是在完成同一个功能应用,安装在主机上的软件通过心跳线来实时监测对方的运行状态。一旦主机A放生故障,B立即投入工作。 例:高可用性集群系统 多种冗余模式 双机就绪模式 两个主机都作为主服务器,共享磁盘阵列,各自承担一部分服务。两个主机在正常情况下各自独立运行自己的应用,两个主机同时又都作为对方的待机服务器,通过心跳线监控对方的状态。一旦某一服务器宕机,另一台服务器就承担所有的服务,是一种互为冗余的模式。 三主机模式 待机服务器C同时监控主服务器A和B的状态。一旦服务器A或B宕机,服务器C将承担起服务,为客户服务。这种系统结构既保证了系统的安全运行,又保证了系统资源合理利用。 Summary of Availability Tactics Performance Tactics Performance tactics is to generate a response to an event arriving at the system within some time constraint. Performance Tactics Two basic contributors Resource consumption. Resources include CPU, data stores, network communication bandwidth, and memory, but it can also include entities defined by the particular system under design. Blocked time. A computation can be blocked from using a resource because of Contention(竞争) for resources Availability of resources Dependency on other computation Performance Tactics three tactic categories: Resource demand Resource management Resource arbitration(仲裁) Resource Demand Increase computational efficiency. One step in the processing of an event or a message is applying some algorithm. Improving the algor
文档评论(0)