keepalived是以VRRP协议为实现基础的,VRRP全称VirtualRouterRedundancyProtocol,即虚拟路由冗余协议。它的作用是通过layer3,4&5交换机制来检测web服务器的状态,如果有一台web服务器死机,或工作出现故障,Keepalived将检测到,并将有故障的web服务器从系统中剔除,当web..
分类:
其他好文 时间:
2017-03-17 21:27:00
阅读次数:
240
cisodhcpvlanstpvtpvrrpospf一.拓扑二.接口配置IOU1(config)#hostnamedhcpdhcp(config)#inte0/0dhcp(config-if)#ipadd1.1.1.1255.255.255.0dhcp(config-if)#noshutdhcp(config)#inte0/1dhcp(config-if)#ipadd2.2.2.1255.255.255.0dhcp(config-if)#noshutIOU2(config)#hostnameo..
分类:
系统相关 时间:
2017-03-14 21:25:18
阅读次数:
450
HSRP(HotStandbyRoutingProtocol)热备份路由协议。HSRP协议是思科的私有协议。VRRP是公有热备协议。HSRP的作用:网关冗余技术,让一台PC可以有两个网关,平时主的网关工作,当主的出现故障从网关则接替工作。主从网关由一个虚IP来决定谁是主谁是从。HSRP组成员:一台活跃路由器..
分类:
其他好文 时间:
2017-03-08 16:51:32
阅读次数:
182
VRRP协议介绍1.前言VRRP(VirtualRouterRedundancyProtocol)协议是用于实现路由器冗余的协议,最新协议在RFC3768中定义,原来的定义RFC2338被废除,新协议相对还简化了一些功能。2.协议说明2.1协议VRRP协议是为消除在静态缺省路由环境下的缺省路由器单点故障引起的网络失效而设..
分类:
其他好文 时间:
2017-03-02 17:32:24
阅读次数:
198
使用 LVS 实现负载均衡原理及安装配置详解 来源:肖邦linux 发布时间:2017-02-19 阅读次数:106 <!-- JiaThis Button BEGIN --> 0 <!-- JiaThis Button END --> 0 负载均衡集群是 load balance 集群的简写,翻译 ...
分类:
其他好文 时间:
2017-02-20 01:14:42
阅读次数:
241
#sysnamejieru#vlanbatch2to3#clusterenablentdpenablendpenable#dropillegal-macalarm#diffservdomaindefault#drop-profiledefault#aaaauthentication-schemedefaultauthorization-schemedefaultaccounting-schemedefaultdomaindefaultdomaindefault_adminlocal-useradminpass..
分类:
其他好文 时间:
2017-02-19 19:05:04
阅读次数:
209
master:192.168.108.18
slave:192.168.108.19
vip:192.168.108.17
master:keepalived.conf
global_defs{
notification_email{
****@****.com
}
notification_email.fromkeepalived@localhost.com
smtp_server****
smtp_connect_timeout30
route_idLVS_DEVEL
}
vrrp_scriptch..
分类:
其他好文 时间:
2017-02-14 23:03:04
阅读次数:
247
说明:其基本实现思想为创建两个虚拟路由器,并以两个节点互为主从。 ! Configuration File for keepalived global_defs { notification_email { linuxedu@foxmail.com mageedu@126.com } notific... ...
分类:
其他好文 时间:
2017-02-14 12:17:51
阅读次数:
166
一、keepalived双实例keepalived在master/backup工作模式下,会有一个主机处于闲置,所以keepalived可以使用vrrp的特性配置双master模式,使资源最大化。1、承接上文配置--->keepalived基础配置2、双主配置第一个节点:[root@Nginxkeepalived]#grep-Ev‘#|^$‘keepalived.conf..
分类:
其他好文 时间:
2017-02-10 23:40:16
阅读次数:
319