linux--RHCS(三)添加webfile 设立优先级

服务目前没有主备概念
为了解决 在web端添加webfile

linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级
linux--RHCS(三)添加webfile 设立优先级

linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级
VIP: 172.25.254.3/24

先添加ip
linux--RHCS(三)添加webfile 设立优先级再添加启动脚本
linux--RHCS(三)添加webfile 设立优先级
设置服务的组:
谁拿到VIP 谁提供服务
linux--RHCS(三)添加webfile 设立优先级
linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级
因为优先级的关系:在server1启动
linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级
测试:

linux--RHCS(三)添加webfile 设立优先级
因为有fence:

把内核写崩了:

linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级
测试:

linux--RHCS(三)添加webfile 设立优先级
启动server1,服务依旧在server上:

linux--RHCS(三)添加webfile 设立优先级
此时让server断掉网络: 服务回到server1

linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级linux--RHCS(三)添加webfile 设立优先级