随笔分类 -  常用软件工具

摘要:检查集群状态 ``` # ceph -s cluster: id: 83738b81-56e4-4d34-bdc2-3a60d789d224 health: HEALTH_WARN 75 pgs not scrubbed in time services: mon: 3 daemons, quoru 阅读全文
posted @ 2023-08-31 14:02 Chuyio 阅读(936) 评论(0) 推荐(0)
摘要:``` D:\app\windows_amd64_client\npc.exe install -server=xxx.xxx.xxx.xxx:8069 -vkey=07sdz23ykge63p21 -type=tcp D:\app\windows_amd64_client\npc.exe star 阅读全文
posted @ 2023-08-29 11:06 Chuyio 阅读(1261) 评论(0) 推荐(0)
摘要:``` # Source: calico/templates/calico-kube-controllers.yaml # This manifest creates a Pod Disruption Budget for Controller to allow K8s Cluster Autosc 阅读全文
posted @ 2023-08-29 11:02 Chuyio 阅读(117) 评论(0) 推荐(0)
摘要:``` apiVersion: v1 kind: ServiceAccount metadata: name: coredns namespace: kube-system apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole meta 阅读全文
posted @ 2023-08-29 11:01 Chuyio 阅读(103) 评论(0) 推荐(0)
摘要:``` # git push -u origin main Username for 'http://gitlab.wjl.net': root Password for 'http://root@gitlab.wjl.net': Counting objects: 1032, done. Delt 阅读全文
posted @ 2023-08-19 15:38 Chuyio 阅读(346) 评论(0) 推荐(0)
摘要:``` #!/bin/bash WORK_DIR=/root/harbor for STOP_COUNT_NUM in {1..10} do cd $WORK_DIR docker-compose stop if [ ! $? -eq 0 ]; then echo " STOP ERROR 正在进行 阅读全文
posted @ 2023-08-09 10:36 Chuyio 阅读(162) 评论(0) 推荐(0)
摘要:Kubernetes集成Ceph一般有两种方案:Ceph组件运行在Kubernetes中,可以使用Rook;还有就是Kubernetes集成外部的Ceph集群。 Ceph版本 ``` [root@master ~]# ceph -v ceph version 14.2.22 (ca745980650 阅读全文
posted @ 2023-08-07 21:50 Chuyio 阅读(1351) 评论(0) 推荐(1)
摘要:## 规划 | 主机名 | IP地址 | 系统 | ceph版本 | ceph硬盘 | 大小 | 组件 | 规划 | | | | | | | | | | | master | 192.168.1.60 | CentOS7.9 | ceph-15.2.10 | sdb | 100G | OSD、MOD 阅读全文
posted @ 2023-08-07 20:12 Chuyio 阅读(822) 评论(0) 推荐(1)
摘要:| 主机名 | IP地址 | Pod 网段 | Service 网段 | | | | | | | master | 192.168.10.10 | 172.16.0.0/12 | 10.96.0.0/16 | | node1 | 192.168.10.20 | 172.16.0.0/12 | 10. 阅读全文
posted @ 2023-07-29 19:59 Chuyio 阅读(247) 评论(0) 推荐(0)
摘要:## 环境 ``` # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # uname -a Linux k8s-node01 6.2.5-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC 阅读全文
posted @ 2023-06-12 17:03 Chuyio 阅读(104) 评论(0) 推荐(0)
摘要:报错信息: ![](https://img2023.cnblogs.com/blog/1138462/202306/1138462-20230609223131312-1389627832.png) 查看docker版本 ![](https://img2023.cnblogs.com/blog/11 阅读全文
posted @ 2023-06-09 22:50 Chuyio 阅读(754) 评论(0) 推荐(0)
摘要:环境说明: ## 添加 `_netdev` 参数配置 ``` # NAS NFS客户端配置 [root@node02 ~]# mount -t nfs 192.168.1.30:/NAS_NFS /data [root@node02 ~]# df -hT | grep data$ 192.168.1 阅读全文
posted @ 2023-06-09 14:54 Chuyio 阅读(4175) 评论(0) 推荐(0)
摘要:## 远程挂在NAS盘或NFS共享盘报错 ``` # 中文: [root@node02 ~]# mount -t nfs 192.168.1.30:/NAS_NFS /data/ mount: 文件系统类型错误、选项错误、192.168.1.30:/NAS_NFS 上有坏超级块、 缺少代码页或助手程 阅读全文
posted @ 2023-06-09 14:05 Chuyio 阅读(1026) 评论(0) 推荐(0)
摘要:早上收到报警如下: 触发2级告警【严重】- 来源【指标平台】 ⏰ 告警时间:2023-04-20 09:15:43 🕐 发生时段:2023-04-20 09:14:43 ~ 持续中 📌 告警标题:基础资源监控-linux系统inode使用率(本地磁盘)一线运维 📚 监控类型:基础资源监控 📜 阅读全文
posted @ 2023-04-20 12:55 Chuyio 阅读(627) 评论(0) 推荐(0)
摘要:报错信息如下: # /opt/mongoBD/bin/mongod --config /opt/mongoBD/mongod.conf Error parsing INI config file: unrecognized option 'nohttpinterface' try '/opt/mon 阅读全文
posted @ 2023-04-19 10:33 Chuyio 阅读(960) 评论(0) 推荐(1)
摘要:推荐几个rpm包下载网站 比较全面但是下载速度有点慢 http://rpm.pbone.net/ 速度还可以就是没有上面的全 http://www.rpmfind.net/linux/rpm2html/search.php CentOS7 rpm包下载地址 http://mirror.centos. 阅读全文
posted @ 2023-04-18 20:15 Chuyio 阅读(7479) 评论(0) 推荐(0)
摘要:生成公钥与私钥 生成私钥 生成2048长度的私钥,保存在rsa_private_key.pem文件中 # openssl genrsa -out rsa_private_key.pem 2048 Generating RSA private key, 2048 bit long modulus .. 阅读全文
posted @ 2023-03-30 17:51 Chuyio 阅读(2192) 评论(0) 推荐(0)
摘要:NFS 介绍 NFS 是 Network FileSystem 的缩写,就是网络文件存储系统,它最早是由 Sun 公司发展出来的,也是 FreeBSD 支持的文件系统中的一个,它允许网络中的计算机之间通过 TCP/IP 网络共享资源。通过 NFS,我们本地 NFS 的客户端应用可以透明地读写位于服务 阅读全文
posted @ 2023-01-07 18:11 Chuyio 阅读(107) 评论(0) 推荐(0)
摘要:http://speed.hetzner.de/ 阅读全文
posted @ 2022-09-23 15:19 Chuyio 阅读(2707) 评论(0) 推荐(0)
摘要:监控指标 性能指标: Performance 内存指标: Memory 基本活动指标:Basic activity 持久性指标: Persistence 错误指标: Error 性能指标:Performance Name Description latency Redis响应一个请求的时间 inst 阅读全文
posted @ 2022-06-25 17:19 Chuyio 阅读(2476) 评论(0) 推荐(0)