ceph RBD block storage general operation
View pools Create a pool containing 64 PGs and 64 PGPS
[root@node-1 ~]# ceph osd pool create ceph-demo 64 64
pool 'ceph-demo' created
[root@node-1 ~]# ceph osd lspools
1 ceph-demo
View pg and pgp
[root@node-1 ~]# ceph osd pool get ceph-demo pg_num pg_num: 64 [root@node-1 ~]# ceph osd pool get ceph-demo pg ...
Posted by Andy17 on Tue, 09 Nov 2021 14:11:50 -0800
Common faults and treatment of PG
Detailed explanation of PG abnormal state and fault summary
reference resources: https://www.jianshu.com/p/36c2d5682d87
https://blog.csdn.net/wylfengyujiancheng/article/details/89235241?utm_medium=distribute.pc_relevant.none-task-blog-2defaultbaidujs_baidulandingword~default-1.no_search_link&spm=1001.2101.3001.4242
https://github.co ...
Posted by devilincarnated on Wed, 20 Oct 2021 17:04:12 -0700
02 Ceph cluster planning and deployment of mimic
Reference connection:< https://docs.ceph.com/docs/master/
2.1 cluster planning
At least three Centos7 system virtual machines are used to deploy Ceph cluster. Hardware configuration: 2C4G. In addition, each machine should be equipped with at least three hard disks (5g for each disk)
HOST
IP
Service
Mark
cephmanager01
public network:1 ...
Posted by BenInBlack on Tue, 30 Jun 2020 00:50:02 -0700
Detailed explanation of PG state of distributed storage Ceph
1. PG introduction
This time, I'd like to share the detailed explanation of various states of PG in Ceph. PG is one of the most complex and difficult concepts. The complexity of PG is as follows:
At the architecture level, PG is in the middle of the RADOS layer. a. Up is responsible for receiving and processing requests from clients. b. The ...
Posted by blackthunder on Thu, 07 May 2020 05:15:12 -0700
How to specify the use of CEPH fuse in k8s
Originally, I wanted to use CEPH fuse, but as a result, I always reported mount can't read super Block error, but I only installed the rpm package of CEPH fuse for the host. kublet is actually using the kernel mount mode to mount cephfs. This is a mistake that can't be repeated. But how to specify kubelet to use CEPH fuse to mount cephfs? I goo ...
Posted by wattsup88 on Sun, 26 Apr 2020 09:26:03 -0700
Perfect integration of Ceph and kubernetes
1. Ceph combined with volumes
Objective: to achieve Ceph RBD and kubernetes volumes integration.
1.1 preparations
1. Creating pool s and users
[root@node-1 ~]# ceph osd pool create kubernetes 8 8
2. Create an authenticated user
[root@node-1 ~]# ceph auth get-or-create client.kubernetes mon 'profile rbd' osd 'profile rbd pool=kubernetes'
[clie ...
Posted by Huntress on Tue, 21 Apr 2020 07:43:27 -0700
openstack+ceph Big Trial!Follow along!
Article Directory
Preface
First: The theoretical basis of CEPH
1.1: Overview
1.2: Related concepts
1.3: No central architecture at all
2: Deploy CEPH cluster
2.1: Deploying a CEPH environment
2.2: CEPH cluster building
2.3: CEPH Cluster Management Page Installation
3: docking between CEPH and ope ...
Posted by KevMull on Sun, 08 Mar 2020 18:23:40 -0700
ceph auth command collection
1. Post it first to help with the information
auth add <entity> {<caps> [<caps>...]} add auth info for <entity> from input file, or random key if no input is given, and/or any caps specified in the command
auth caps <entity> <c ...
Posted by israfel on Sun, 26 Jan 2020 18:23:45 -0800
Rancher, K8S Persistent Storage Ceph RBD Setup and Configuration
1. Configure host, install ntp (not required)2. Configure Secret-Free ssh3. Configure ceph, yum source
vim /etc/yum.repo.d/ceph.cepo
[ceph]
name=ceph
baseurl=http://mirrors.cloud.tencent.com/ceph/rpm-luminous/el7/x86_64/
gpgcheck=0
priority=1
[ceph-noarch]
name=cephnoarch
baseurl=http://mirrors.cloud.tencent.com/ceph/rpm-luminous/el7/noarch/ ...
Posted by sissy on Fri, 27 Dec 2019 17:10:58 -0800
Ceph block equipment introduction and installation configuration
1: rbd introduction
A block is a sequence of bytes (for example, a 512 byte block of data). Block based storage interface is the most commonly used method to store data using rotating media (such as hard disk, CD, floppy disk or even traditional 9-track tape). The ubiquitous block device interface makes the virtual block device an ideal candi ...
Posted by lynosull on Thu, 19 Dec 2019 03:21:43 -0800