18.1集群介绍18.2keepalived介绍18.3
18.1集群介绍http://i2.运维网.com/images/blog/201804/09/b923413409e2b3fab7a49d82940e0c47.png
18.2 keepalived介绍
http://i2.运维网.com/images/blog/201804/09/250ecda9838ad100319e63064a9af857.png
18.3 18.4 18.5 用keepalived配置高可用集群
这里是用ngixn作为高可用的演示对象,因为有生产中很多企业用nginx作为负载均衡器使用
http://i2.运维网.com/images/blog/201804/09/eba548cf88aa9860f7d4451f0a4702cc.png
编辑130上keepalived配置文件,内容从https://coding.net/u/aminglinux/p/aminglinux-book/git/blob/master/D21Z/master_keepalived.conf获取
首先清空原来的配置文件内容
http://i2.运维网.com/images/blog/201804/09/36bc6cae499744ed9483cd8bdc1de1fc.png
再增加内容
global_defs {
notification_email { (当发生问题时发送到那一个邮箱)}
aming@aminglinux.combr/>aming@aminglinux.com
页:
[1]