FlamingBytes

「Stay Hungry. Stay Foolish.」

How to uninstall ceph storage cluster

Check the pools, images and OSDs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [ceph: root@host1 /]$ ceph osd tree ID CLASS WE...

How to run fio on multiple files

fio directory and filename option directory=str Prefix filenames with this directory. Used to place files in a different location than ./. You can specify a number of directories by s...

Backup and restore MySQL database

Backup a database mysqldump is a command-line utility which can be used to generate backups of MySQL database. 1 2 3 $ mysqldump -u root --password=<db_password> mydb > mydb_dump_`date +...

Create Image Gallery in Jekyll without Plugin

An image gallery can be easily built by using LightBox and Image Gallery scripts in Jekyll. LightBox Lightbox is a solution that loads your image links, your Youtube links and your Vi...

Using sysbench for OLTP workload performance benchmark

Intro to Sysbench sysbench is a scriptable multi-threaded benchmark tool based on LuaJIT. It is most frequently used for database benchmarks, but can also be used to create arbitrarily complex wor...

An easy guide to install kubernetes cluster with kubeadm

Kubernetes can be installed with the following deployments tools. Bootstrapping clusters with kubeadm Installing Kubernetes with kops Installing Kubernetes with Kubespray In this article,...

Vdbench performance test on raw device or filesystem

Terminology Master and Slave: Vdbench runs as two or more Java Virtual Machines (JVMs). The JVM that you start is the master. The master takes care of the parsing of all the parameters, it...

Deploy ceph cluster on Ubuntu 18.04 and CentOS 7.8

In this article, we learn to deploy ceph cluster on ubuntu 18.04. Three nodes are used for this study. We target to deploy the most recent ceph release which is called Pacific. With this release, ...

Capture and analyze network packets with tcpdump

Capture packets with tcpdump In this example, we only capture 1000 packets(-c1000) and use IP addresses and ports(-nn) for easier analysis. The raw packets are written to file “tcpdump.1000” for f...