- 1、本文档共333页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
LVS Linux讲解材料.ppt
LVS Heartbeat ipvsadm /etc/rc.d/init.d/ipvsadm start /etc/sysconfig/ipvs_config 1 2 1 2 VIP Nginx, Web服务; IP nginx 1, 2 VIP: nginx 一定不能, must not Web Web 01 02 IP /etc/ha.d/ ha.cf haresources auth.keys The Haresources File Syntax The /etc/ha.d/haresources file must be the same on both the primary and the backup Heartbeat servers. Each line in the haresources file usually contains the following: The name of the server where the resource should normally run (the primary server), followed by a space or tab. An (optional) IP alias that Heartbeat should add to the system before launching the resource, followed by a space. The IP alias definition may include a network subnet mask and a broadcast address separated from each other by the forward slash (/) character. A resource script (the script used to start and stop the resource) located in either the /etc/init.d or the /etc/ha.d/resource.d directory . If arguments need to be passed to the resource script, they are added after two colons and are separated from each other by two colons. 1、HA集群可否有两个以上的节点? 2、CIB:XML 3、Cluster FS A B C Messaging Layer CRM LRM DC:PE CRM CIB RA Primitive group clone master-slave Legacy heartbeat LSB OCF STONITH stickiness Constraint: Location Collocation Order 2 nodes ping gateway qdisk: quorum disk: 仲裁磁盘 2 nodes votes total_votes/2 Messaging Layer heartbeat heartbeat (heartbeat+crm(haresources,crm) keepalived corosync/openais ultramokey CRM pacemaker cman ha-aware web服务的高可用集群 vip httpd {start|stop|restart|status} Communication module(2) Heartbeat can detect node failure reliably in less than a half-second. It will register with the system watchdog timer if configured to do so. The heartbeat layer has an API which provides the following classes of services: intra-cluster communication - sending and receiving packets to cluster nodes configuration queries connectivity information (who can the current node hear packets from) - both for queries and state change notificatio
您可能关注的文档
- literature 5 大学英语泛读教材 复习知识.ppt
- literature 6 大学英语泛读教材.ppt
- literature 7 大学英语泛读教材 词根.ppt
- literature 8 大学英语泛读教材.ppt
- Literature of Colonial America 美国文学史教材.ppt
- Literature of Early Romantic Period 美国文学史教材.ppt
- literature shakespeare 英国文学史及选读教材.ppt
- Living Standards & Poverty 中国经济发展与 及转型(英文版) .ppt
- lj重力相互作用力 高中必修一物理重点教材(人教版).ppt
- LOCAL AREA NETWORKS(LAN) 计算机系统概论(双语教材)专业英语教材.ppt
最近下载
- 煤矿安全管理经验交流(第二版).ppt VIP
- 一级消防工程师《消防安全技术实务》精讲讲义.pdf
- (适用于课堂教学的背景图.ppt VIP
- 天津大学论文答辩PPT模板.pptx VIP
- 生物化学与分子生物学:第13章 真核基因与基因组.ppt VIP
- 2025形势与政策-加快建设社会主义文化强国.pptx
- 人教版(2025)七年级下册Unit1Animal FriendsSection B How are animals part of our lives Section B 1a~2b课件+音频(共3.pptx VIP
- 110kv变电站继电保护毕业设计.doc VIP
- 公路隧道工程施工.pptx
- 电信行业运营商业务连续性保障方案.doc VIP
文档评论(0)