玩命加载中 . . .

ceph PG 修复 ceph PG 修复
概述 3月份的时候,江苏电力这个客户发生PG状态异常(纯粹是友情支持,发生问题的环境非我司ceph集群,而是ceph 开源集群),需要进行手工修复。 应客户要求,临时写了个修复脚本,供客户设置定时任务,定期自动修复。 考虑到一些PG状态是无
2023-06-01
fio benchmark fio benchmark
Overview Write a performance tool to test NFS, CIFS, SAN Device, and output result after each scene. SOP 1. Prepare test
Testlink support Excel import/export test cases Testlink support Excel import/export test cases
Overview Testlink is used for writing and maintaining manual test cases. Sometimes, in order to write more efficiently,
Dead lock test Dead lock test
Scripts file_lock_test.py import fcntl import os, time import logging logger = logging.getLogger() hdlr = logging.File
2023-05-13
Jenkins Email Template Jenkins Email Template
介绍自用的一款Jenkins Email模板
Type iperf to test BW between different Hosts Type iperf to test BW between different Hosts
Overview Use the iperf or iperf3 command to automatically and concurrently verify the network bandwidth between differen
2023-05-11
PowerCLI Scirpt: list_used_fiber.ps PowerCLI Scirpt: list_used_fiber.ps
Overview This script is used to find fibre card for each VM on vCenter. Usage: pwsh list_used_fiber.ps -server 10.1.2.3
2023-05-04
快速识别热插拔硬盘 快速识别热插拔硬盘
概述 虚拟机添加硬盘,无需重启,识别新硬盘(热插拔) 脚本 #/bin/bash # ReScan all SCSI/SATA Hosts for SHOST in /sys/class/scsi_host/host*; do ec
2023-05-01
快速清除S3 Bucket下Objects 快速清除S3 Bucket下Objects
概述 客户现场碰到ceph集群在 Recovery,但是 backfill full,需要清理掉部分数据。 本文针对Bucket下上千万的Object的清理,如何做到又快,又不出现将集群压死(集群压力过大),需要寻求一个平衡点,故本文介绍删
2023-04-26
快速清除rbd image 快速清除rbd image
概述 当集群里出现一个较大的rbd image时,如何快速清理掉它并释放空间,已经存在文章 :https://cephnotes.ksperis.com/blog/2014/07/04/remove-big-rbd-image/ 做了介绍。
2023-04-21
如何查看端口是否被封 如何查看端口是否被封
概述 比如客户现场,PC端无法正常访问SAMBA Folder, 在网络通畅状况下依然无法访问,就需要检查是否防火墙封掉了SAMBA 相关端口。本文概述如何判断某个端口是否被封。 实践 使用 telnet 命令进行连接测试 在命令行中输入命
2023-04-20
使用 tmpwatch/tmpreaper 删除旧文件 使用 tmpwatch/tmpreaper 删除旧文件
概述 Linux系统中我们常常会把一些临时文件或者没有什么用处的文件放置在/tmp下,还有一些进程也会将临时数据放到/var或者/tmp。这些文件如长时间不去处理日积月累可能造成磁盘空间爆满,也浪费磁盘资源。tmpwatch是一款非常实用的
2023-04-17
«1 2 3 4 5 6 7 8 9 ... 29»