lb lvs/nginx(http/upstream, stream/upstream)
ha 高可用性
spof: single point of failure
hpc
(0,1), 95%
几个9(指标): 99%, ..., 99.999%,99.9999%;
硬件故障:设计缺陷、wear out(损耗)、自然灾害……
软件故障:设计缺陷
手段:冗余redundant
active/passive 主备
active/active双主
active --> heartbeat --> passive
active <--> heartbeat <--> active
ha nginx service:
vip/nginx process[/shared storage]
资源:组成一个高可用服务的“组件”
(1) passive node的数量
(2) 资源切换
nas:文件共享服务器;
san:存储区域网络,块级别的共享
quorum:法定人数
with quorum: > total/2
without quorum: <= total/2
隔离设备: fence
node:stonith = shooting the other node in the head,断
电重启
资源:断开存储的连接
辅助设备:ping node, quorum disk
至其它节点的资源重新切回的过程
rhcs:red hat cluster suite红帽集群套件
heartbeat
corosync
keepalived
如对本文有疑问, 点击进行留言回复!!
linux下文本编辑器vim的使用方法(复制、粘贴、替换、行号、撤销、多文件操作)
网友评论