CentOS7 disk management

I. disk viewing View all disks ll /dev/sd* Disks without numbers, partitions with numbers   View partition status of all disks fdisk -l Result WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion. Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors ...

Posted on Thu, 31 Oct 2019 21:03:30 -0400 by kaozdragon

Configuring the cinder volume service to use ceph as back-end storage

Execute on ceph monitor CINDER_PASSWD='cinder1234!' controllerHost='controller' RABBIT_PASSWD='0penstackRMQ' 1. Create pool pool Create a pool pool for the cinder volume service (since I have only one OSD node, set the number of replicas to 1) ceph osd pool create cinder-volumes 32 ceph osd pool set cinder-volumes size 1 ceph osd pool applicat ...

Posted on Sun, 20 Oct 2019 16:33:32 -0400 by BrianPeiris

kubeadm -- fast installation of k8s cluster

The main steps are as follows: https://www.kubernetes.org.cn/5551.html This example uses kubeadm to install k8s 1.15, and the system is centos7; Premise: can be subject study online Record of main steps: 1. Install docker, omitted;2. Configure the Ipvs module, which will be used by the Kube proxy; cat > /etc/sysconfig/modules/ipvs.modules  ...

Posted on Sun, 20 Oct 2019 16:14:56 -0400 by windwaker

SUSE CaaS Platform 4 - Use Ceph RBD as persistent storage (dynamic)

Storage class storage class is a kubernetes resource type, which is created on demand by administrators for the convenience of managing PV The advantage of storage class is to support the dynamic creation of PV. Dynamic creation of adapted PV according to the requirement standard of PVC will bring great flexibility to storage management. Th ...

Posted on Tue, 08 Oct 2019 09:46:02 -0400 by bobcooper

Troubleshooting of osd down in ceph cluster

(1) Looking at the cluster status, two osd states are down [root@node140 /]# ceph -s cluster: id: 58a12719-a5ed-4f95-b312-6efd6e34e558 health: HEALTH_ERR noout flag(s) set 2 osds down 1 scrub errors Possible data damage: 1 pg inconsistent Degraded data redundancy: 1633/ ...

Posted on Sat, 05 Oct 2019 04:43:35 -0400 by villager203

Deployment, DaemonSet, StatefulSet of the pod controller in k8s

pod Controller Classification:1,ReplicationController2,ReplicaSet3,Deployment4,StatefulSet5,DaemonSet6,Job,Cronjob7,HPApod controller: generally consists of three parts1. Label selector2. Expected number of copies (not required by the DaemonSet controller)3. pod TemplateThe deploy controller is built on the rs controller and new features inclu ...

Posted on Fri, 30 Aug 2019 23:10:28 -0400 by rmmo

Understanding and Practice of Kubernetes: StatefulSet Concept

Background knowledge and related concepts The design of StatefulSet is actually very easy to understand. It abstracts the state of application in the real world into two situations: Topological state. This situation means that multiple instances of an application are not entirely reciprocal. These application instances must be started in some o ...

Posted on Mon, 26 Aug 2019 05:44:35 -0400 by kapishi

Ceph Replace OSD Disk

Catalog brief introduction Change OSD operation steps 1. Fault Disk Location 2. Remove faulty disks 3. Rebuild raid0 4. Rebuild osd Control data recovery and backfill speed brief introduction First of all, it should be noted that the osd of ceph is not recommended ...

Posted on Mon, 24 Jun 2019 13:00:54 -0400 by chrishawkins

docker creates ceph cluster

background Ceph officials now provide two types of mirrors to create clusters, one is conventional, and each Ceph component is a separate image, such as ceph/daemon, ceph/radosgw, ceph/mon, ceph/osd, etc. The other is the latest way in which all Ceph components are integrated into a single mirror ceph/daemon. If you want to create the correspon ...

Posted on Mon, 03 Jun 2019 22:38:15 -0400 by jbardin

[Reading Notes] 11 Build a complete Kubernetes cluster from 0 to 1

In-depth Analysis of Kubernetes-09 From Container to Container Cloud Talking about the Essence of Kubernetes 1. Install Docker and kubeadm on all nodes; $ curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - $ cat </etc/apt/sources.list.d/kubernetes.list deb http://apt.kubernetes.io/ kubernetes-xenial main EOF $ a ...

Posted on Wed, 29 May 2019 15:18:32 -0400 by herbal_lavender