上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
  2022年12月15日
摘要: 1.现象: 2.原因:是因为前期权重调整不合理导致,调整回来就正常了 3.操作步骤: ceph osd crush reweight osd.2 0.98317 # osd 位置、 权重值 权重值计算=osd磁盘容量除以1T 例如: osd 是50G /1T=0.50000 weight 权重和磁盘 阅读全文
posted @ 2022-12-15 17:53 MhaiM 阅读(696) 评论(0) 推荐(0)
  2022年12月13日
摘要: 1.通过命令查看哪些pg状态不一致 ceph pg dump|grep inconsistent 2.根据输出的pg id 进行一致性检查 ceph pg scrub 1.23 instructing pg 1.23 on osd.5 to scrub 3. 深度一致性检查 ceph pg deep 阅读全文
posted @ 2022-12-13 09:19 MhaiM 阅读(467) 评论(0) 推荐(0)
  2022年12月8日
摘要: 1.现象: health: HEALTH_WARN no active mgr mons are allowing insecure global_id reclaim clock skew detected on mon.tg-ceph-mon-2 2.原因有2种: 1.时间不同步 yum ins 阅读全文
posted @ 2022-12-08 21:04 MhaiM 阅读(1191) 评论(0) 推荐(0)
  2022年12月7日
摘要: 原因:.产生该问题的原因是数据在均衡或者回滚等操作的时候,导致其某个守护进程崩溃了,且没有及时归档,所以集群产生告警 解决办法: ceph crash lsceph crash archive <id>ORceph crash archive-all 查看集群状态: ceph -s 阅读全文
posted @ 2022-12-07 22:36 MhaiM 阅读(833) 评论(0) 推荐(0)
  2022年12月1日
该文被密码保护。 阅读全文
posted @ 2022-12-01 10:58 MhaiM 阅读(843) 评论(0) 推荐(0)
  2022年11月23日
摘要: 1.修改 /usr/lib/systemd/system/docker.service 配置文件 添加 "-H tcp://0.0.0.0:2375" ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H fd:// --containerd=/ru 阅读全文
posted @ 2022-11-23 17:17 MhaiM 阅读(368) 评论(0) 推荐(0)
  2022年11月10日
摘要: 1.修改iptables 为ipvs 模式 ipvs 采用的 hash 表,iptables 采用一条条的规则列表。集群数量越多 iptables 规则就越多,而 iptables 规则是从上到下匹配,所以效率就越是低下。因此当 service 数量达到一定规模时,hash 查表 的速度优势就会显现 阅读全文
posted @ 2022-11-10 15:13 MhaiM 阅读(742) 评论(0) 推荐(0)
  2022年11月9日
摘要: 最常见的退出码,来回答两个重要问题:这些退出码是什么意思?导致该退出码的动作是什么?exit code:代表一个进程的返回码,通过系统调用 exit_group 来触发。在 POSIX 中,0 代表正常的返回码,而 1-255 代表异常返回码,不过一般错误码都是 1。这里有一张附表 Appendix 阅读全文
posted @ 2022-11-09 08:57 MhaiM 阅读(276) 评论(0) 推荐(0)
  2022年10月30日
摘要: 现象:.查看 calico pod 的时候 报auto-detect an IPv4 address using interface regexes [ens18]: no valid host interfaces found 分析:calico 开启了ipvs 地址自动检测的功能,然后匹配不到对 阅读全文
posted @ 2022-10-30 11:27 MhaiM 阅读(526) 评论(0) 推荐(0)
  2022年10月28日
摘要: 现象:拉取镜像报Error response from daemon: Get https://: http: server gave HTTP response to HTTPS client harbor默认是https协议的,如果想要通过http协议拉取harbor的镜像需要修改k8s每个节点 阅读全文
posted @ 2022-10-28 11:38 MhaiM 阅读(1144) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页