18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal

集群介绍

18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal

keepalived介绍

18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal

用keepalived配置高可用集群

18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
主上Master配置
[root@martin001 ~]# yum install -y keepalived
18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
iptables -nvL 查看防火墙
18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal

主从Backup配置
[root@martin002 ~]# yum install -y keepalived
[root@martin002 ~]# service nginx start
Redirecting to /bin/systemctl start nginx.service
Failed to start nginx.service: Unit not found.
[root@martin002 ~]# yum install -y nginx
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile

  • base: centos.ustc.edu.cn
  • extras: centos.ustc.edu.cn
  • updates: mirrors.cn99.com
    没有可用软件包 nginx。
    缺少 epel-release 包
    [root@martin002 ~]# yum -y install epel-release
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    systemctl start keepalived
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal
    18.1 集群介绍 18.2 keepalived介绍 18.3/18.4/18.5 用keepal

转载于:https://blog.51cto.com/12058686/2096744

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值