# IT Stars Are Not Dreams# Ceph Persistent Storage Provides Storage Scheme for k8s Applications
Directory: 1. Introduction to RBDCommon RBD CommandsRBD Configuration OperationRBD mounted on operating systemSnapshot ConfigurationExport Import RBD Mirror
Introduction to RBD
RBD is short for RADOS Block Device. RBD block storage is the most stable and common storage type.RBD block devices like disks can be mounted.RBD block devices have sna ...
Added by Btown2 on Tue, 03 Mar 2020 02:25:51 +0200
linux entry series 13 RAID and LVM technology of disk management
The previous article learned about disk partition, format, mount and other related knowledge. This article will explain RAID and LVM technology.
Disk management operation is mainly used by operation and maintenance personnel. If it's just a developer, you can skip this article first. But in many small companies, it is often one person for multi ...
Added by excessnet on Mon, 24 Feb 2020 09:40:36 +0200
About GRUB of CentOS 5, 6
grub: GRand Unified Bootloader
grub 0.x: grub legacy(centos5,6)
grub 1.x: grub2(centos7)
grub legacy(grub 0.x)
stage1: mbr
The sector after stage 1_5: mbr enables the bootloader in stage 1 to identify the file system on the partition where stage 2 is located
stage2: partition (/ boot/grub /)
centos6:
# ls /boot/grub/
device.map fat_stage ...
Added by mistercoffee on Sat, 22 Feb 2020 12:53:37 +0200
cobbler installs the system using a custom kickstart file
In the above experiment, we did not do any installation configuration, all with the help of Cobbler.However, in practice, we have corresponding requirements for each host's hard disk partition and installed software, so we need to customize the KickStart file by ourselves so that we can customize the mass installation of the operating system.W ...
Added by jini01 on Wed, 12 Feb 2020 20:49:21 +0200
Remember a golang memory leak
Program Functions
The main function of this program is to import data from files into the clickhouse database.
[Problem Description]
Server memory runs out at regular intervals
[Problem Analysis]
Because it was developed in go language, pprof, a tool popular in the industry, was used.
Reference URL:https://cizixs.com/2017/09/11/profiling-golang ...
Added by Knutty on Mon, 10 Feb 2020 05:43:57 +0200
MySQL high availability solution - dual primary
There are many high availability schemes for MySQL, such as dual master, MHA, MMM, etc. here is just the simplest dual master high availability scheme.
1, Configure MySQL as master-slave
1. Environmental preparation
system
IP
host name
service
Centos 7.5
192.168.20.2
mysql01
MySQL+keepalived
Centos 7.5
192.168.20.3
mysql02
MySQL+keepali ...
Added by nysmenu on Wed, 05 Feb 2020 12:33:15 +0200
Increase disk space in centos7 root directory
1. Questions
I created a VMware virtual machine to install OpenStack Kolla. Since only 8G of space was allocated to the root directory when the virtual machine was created, it was obviously not enough for later use and I wanted to expand 10G of space.
View Current Disk
[root@kolla-queens ~]# fdisk -l
Disk /dev/sda: 21.5 G ...
Added by monicka87 on Mon, 03 Feb 2020 18:36:20 +0200
Easypack: Kubernetes 1.17.2 setting options update: Scheduler
With the latest stable version 1.17.2, memo the problems of the Scheduler during the initial deployment of the cluster.
Edition
[root@host131 ansible]# kubectl get node -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION ...
Added by markwillis82 on Sat, 01 Feb 2020 19:04:05 +0200
Centos7 configures SVN server
Environmental Science
Centos 7
SVN 1.7
Install SVN
Shell> yum install svn -y
Prepare configuration and warehouse
Shell> mkdir -p /mydata/repo
Shell> cd /mydata/repo/
Shell> svnadmin create erp #Create a code base, here take erp as an example
The configuration file of the code ba ...
Added by bdee1 on Mon, 20 Jan 2020 09:33:04 +0200
MySQL Cluster Solution: master-slave replication
Get ready
I use docker deployment on CentOS, so I need to prepare docker related operations in advance
docker
CentOS installation
To configure
mapping
A host has multiple virtual machines, so it needs to use different named configuration folders, such as / etc/mysql/my.cnf.d/master01, to distingu ...
Added by Clandestinex337 on Sun, 19 Jan 2020 12:17:53 +0200