码迷,mamicode.com
首页 >  
搜索关键字:keepalived配置文件    ( 40个结果
nginx高可用集群配置
原理模型 准备工作 查看是否安装成功 查看 keepalived配置文件 查看keepalived.conf配置文件 //查看服务器网卡 检测脚本配置 ...
分类:其他好文   时间:2021-06-19 19:23:54    阅读次数:0
keepalived
keepalived配置文件 ! Configuration File for keepalived global_defs { notification_email { root@localhost } notification_email_from root@localhost smtp_ser ...
分类:其他好文   时间:2020-12-09 12:31:15    阅读次数:14
基于 kubeadm 搭建高可用的kubernetes 1.18.2 (k8s)集群二 搭建高可用集群
1. 部署keepalived - apiserver高可用(任选两个master节点) 1.1 安装keepalived # 在两个主节点上安装keepalived(一主一备) $ yum install -y keepalived 1.2 创建keepalived配置文件 # 创建目录 $ ss ...
分类:Web程序   时间:2020-05-28 23:18:50    阅读次数:250
干货 | Keepalived高可用服务配置实例
在前面的章节中,我们学习了Keepalived简介、原理、以及Keepalived 配置文件的详细解读;今天我们通过几个配置实例来帮助大家掌握Keepalived的高可用性。
分类:其他好文   时间:2020-05-09 01:32:22    阅读次数:83
keepalived配置文件详解
keepalived既可以作为HA热备,也能作健康检查。下面对/etc/keepalived/keepalived.conf配置说明。 global_defs { notification_email { #指定keepalived在发生切换时需要发送email到的对象,一行一个 monitor@3 ...
分类:其他好文   时间:2020-04-18 12:10:03    阅读次数:75
Keepalived、HAProxy
1、修改A主机的keepalived和HAProxy的配置文件 修改A主机的keepalived配置文件 修改A主机的haproxy配置文件 global maxconn 100000 chroot /usr/local/haproxy stats socket /var/lib/haproxy/h ...
分类:其他好文   时间:2019-12-28 19:14:51    阅读次数:85
keepalived+nginx实现高可用
安装keepalivedyum方式直接安装即可,该方式会自动安装依赖:Copyyum-yinstallkeepalived修改主机(192.168.30.21)keepalived配置文件yum方式安装的会生产配置文件在/etc/keepalived下:Copyvikeepalived.confkeepalived.conf:Copy#检测脚本vrrp_scriptchk_http_port{sc
分类:其他好文   时间:2019-12-27 15:10:58    阅读次数:78
keepalived与LVS
keepalived与LVSkeepalived与LVS结合时无需另外写lvs规则,可以直接在keepalived配置文件中进行定义LVS配置参数virtual_serverIPport#定义虚拟主机IP地址及其端口virtual_serverfwmarkint#ipvs的防火墙打标,实现基于防火墙的负载均衡集群virtual_servergroupstring#将多个虚拟服务器定义成组,将组定义
分类:其他好文   时间:2019-06-10 15:53:22    阅读次数:109
keepalived 组播的配置
keepalived组播的配置准备主机2台serverhostnameipkeepaliveds1172.20.27.10keepaliveds2172.20.27.11S1节点配置修改keepalived配置文件[root@s1~]#vim/etc/keepalived/keepalived.conf!ConfigurationFileforkeepalivedglobal_defs{notif
分类:其他好文   时间:2019-06-10 15:25:16    阅读次数:271
keepalived weight正负值问题(实现主服务器nginx故障后迅速切换到备服务器)
有两台负载均衡,lb01,lb02. lb02, priority值为100 编辑keepalived配置文件 vim /etc/keepalived/keepalived.conf 编写脚本文件vim /server/scripts/check_web.sh weight 为正数时 nginx服务 ...
分类:其他好文   时间:2019-02-25 21:32:49    阅读次数:710
40条   1 2 3 4 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!