摘要: 4.修改配置文件 vim /opt/nginx/conf/nginx.conf(在配置文件最后行添加如下) stream { upstream NAME1 { hash $remote_addr consistent; server 10.22.0.7:5000 max_fails=3 fail_t 阅读全文
posted @ 2020-03-29 21:31 agang_19 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 服务器信息: master : 192.168.1.51backup : 192.168.1.50VIP : 192.168.1.55 主服务器配置 /etc/keepalived/keepalived.conf : global_defs {notification_email {root@net 阅读全文
posted @ 2020-03-29 16:09 agang_19 阅读(450) 评论(0) 推荐(0) 编辑