大道之行,天下为公。这篇文章主要讲述etcd集群常见问题相关的知识,希望能为你提供帮助。
1、防火墙问题,systemctl stop firewalld &
&
systemctl disable firewalld
Aug 16 21:49:11 k01 etcd: health check for peer 1d2b6542084a0b87 could not connect: dial tcp 192.168.1.60:2380: i/o timeout
Aug 16 21:49:11 k01 etcd: health check for peer 1d2b6542084a0b87 could not connect: dial tcp 192.168.1.60:2380: i/o
2、集群节点时钟不一至,使用时钟服务器或者ntpdate time.windows.com。
Aug 16 22:13:46 k01 etcd: the clock difference against peer 1d2b6542084a0b87 is too high [2.304656176s >
1s]
Aug 16 22:14:16 k01 etcd: the clock difference against peer 1d2b6542084a0b87 is too high [2.29437392s >
1s]
Aug 16 22:14:16 k01 etcd: the clock difference against peer 1d2b6542084a0b87 is too high [2.307277917s >
1s]
【etcd集群常见问题】3、etcd集群节点因意外重启后,systemctl start etcd.service无法启动
停掉该etcd
备份此台etcd的数据
把此台etcd数据删除清空
把etcd配置由new改为existing
systemctl start etcd.service , 数据会同步至此台
推荐阅读
- Linux安装kibana
- 2万字阐述-Python 用 XGBoost 进行梯度提升的数据准备(收藏)
- centos安装nginx并配置SSL证书
- K8s 存活(liveness)就绪(readiness)和启动(startup)探测器
- linux之rename命令
- 使用MAMP时,Google Maps JS API在本地主机中不起作用
- 从图像标题获取WordPress库图像描述
- 获取地址栏中显示的URL
- 在localhost上遇到wordpress分页错误,但在dev上工作正常