上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
  2023年2月21日
摘要: 设置系统时间操作步骤 1.timedatectl set-timezone Asia/Shanghai 2.#将当前的 UTC 时间写入硬件时钟 timedatectl set-local-rtc 0 3.#重启依赖于系统时间的服务 systemctl restart rsyslog systemc 阅读全文
posted @ 2023-02-21 11:15 MhaiM 阅读(23) 评论(0) 推荐(0) 编辑
  2023年2月17日
摘要: 1.现象 WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config 2.分析原因: 文件权限问题导致 3.解决方法: chmod g-rw ~/.k 阅读全文
posted @ 2023-02-17 14:57 MhaiM 阅读(464) 评论(0) 推荐(0) 编辑
  2023年2月10日
摘要: 1、故障现象:error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request 2、分析原因 阅读全文
posted @ 2023-02-10 16:54 MhaiM 阅读(1140) 评论(0) 推荐(0) 编辑
  2023年1月26日
摘要: 1.修改配置如下: 注:单位可以以h,d 小时,天数表示 默认24h添加配置:retention: 168h 阅读全文
posted @ 2023-01-26 18:43 MhaiM 阅读(1637) 评论(0) 推荐(2) 编辑
  2023年1月18日
摘要: 故障现象: 执行kubectl 命令时; 提示"error: You must be logged in to the server (Unauthorized)" 分析: 权限问题,身份认证的文件未配置 原因: 常见部署或者初始化后$HOME/.kube/config文件没有得到替换 解决方法:将 阅读全文
posted @ 2023-01-18 14:25 MhaiM 阅读(2979) 评论(0) 推荐(0) 编辑
  2022年12月16日
摘要: PG 故障状态 Creating(创建中)在创建POOL时,需要指定PG的数量,此时PG的状态便处于creating,意思是Ceph正在创建PG Peering(互联中)peering的作用主要是在PG及其副本所在的OSD之间建立互联,并使得OSD之间就这些PG中的object及其元数据达成一致 A 阅读全文
posted @ 2022-12-16 15:57 MhaiM 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 1.格式化 ceph集群osd盘 出现设备繁忙,只能手动清空磁盘并重启 格式化:ceph-volume lvm zap /dev/sdc dd 手动清空磁盘:dd if=/dev/zero of=/dev/sdb bs=512K count=1 &&reboot 2.重启完后,再次执行格式化命令,就 阅读全文
posted @ 2022-12-16 15:12 MhaiM 阅读(1098) 评论(0) 推荐(0) 编辑
  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 阅读(428) 评论(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 阅读(278) 评论(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 阅读(660) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页