[CEPH] / etc / init.d/ceph: OSD. 1 not found (/ etc / CEPH / ceph.conf definitions, / var / lib / CEPH definitions) solution

Error reporting description The status of a stored osd is down, but when we start this osd, the following error will be reported [in fact, this osd must exist] [root@stor-21 ~]# service ceph start osd.1 /etc/init.d/ceph: osd.1 not found (/etc/ceph/ceph.conf defines , /var/lib/ceph defines ) Information verification osd status Command: ...

Posted by olsrey on Fri, 17 Sep 2021 14:41:42 +0200

Shell Scripting Tricks - Here Document Free Interaction and Expect Automation Interaction

Preface In a real production environment, writing shell scripts will inevitably encounter some interactive interfaces, such as raid s and extensions, which require interaction, so we need to use the following non-interactive operations to achieve true shell script automation. 1. Here Document exempt from interaction 1. Overview Provide ...

Posted by PHPHorizons on Wed, 15 Sep 2021 18:38:33 +0200

Summary of common Linux shell commands

0 Preface Because I often run various experimental tests in Linux, in order to reduce energy, I usually write the script of automatic running experiment and the script of result processing first, and finally open the experimental results directly with excel. In order to facilitate readers and write scripts in the future, the common instruc ...

Posted by kulin on Wed, 15 Sep 2021 02:34:35 +0200

Raspberry pie linux led character device driver (traditional)

  for any peripheral driver under Linux, it is necessary to configure the corresponding hardware registers. Therefore, the LED driver finally configures the IO port of raspberry pie, but writing the driver under Linux should comply with the linux driver framework. 1, Raspberry pie GPIO 1.1 register address The CPU of raspberry pie 3B is ...

Posted by ec on Tue, 14 Sep 2021 01:24:32 +0200

Phased summary of shell programming + several shell script examples

        I've been learning shell for some time. I've sorted out some basic shell syntax before. Today I'll make a phased summary. In addition, there are several script examples for your reference. Summary brain map Script instance 1. Judge whether the two hosts are ping ed #!/bin/env bash #This script is used to deter ...

Posted by fangfang on Sat, 11 Sep 2021 06:31:41 +0200

linux (RedHat 8.2) system encapsulation virtual machine (RedHat 7.6)

1, Installing virtual machines 1. This experiment is to package the master disk of RedHat 7.6 in the host of RedHat 8.2 and install multiple virtual machines 2. We need to prepare two images, one is rhel-server-7.6-x86_64-dvd.iso, one is rhel-8.2-x86_64-dvd.iso 3. Download location of image We can visit red hat's official website to downloa ...

Posted by sturoy on Fri, 10 Sep 2021 21:40:03 +0200

2021-09-10 project name: dual vip high availability web Cluster Based on kept

Project Name: dual vip high availability web Cluster Based on keepalived Architecture diagram Project environment: CentOS 8.2 (8 sets, 1-core 1G), ansible 2.9.17, keepalived 2.0.10, Nginx 1.19.7, NFS Project Description:          Build a Web Cluster project with high concurrency and high a ...

Posted by esukf on Fri, 10 Sep 2021 21:34:57 +0200

Analysis of Nginx source code -- master process and worker process

1, Explain In the previous chapter, we had a general understanding of the startup of the nginx process. We didn't go deep into what the process did. In this chapter, we'll look at what the master process is doing. 2, Function analysis ./src/os/unix/ngx_process_cycle.c>ngx_master_process_cycle(ngx_cycle_t *)   ngx_new_bina ...

Posted by caine on Tue, 07 Sep 2021 08:14:06 +0200

ROS Learning Notes - Robot Project Practice

1.URDF Modeling Location: A file describing a robot model in XML format Basic concepts and grammar (1)link [External chain picture transfer failed, source station may have anti-theft chain mechanism, it is recommended to save the picture and upload it directly (img-XpfM1kHV-1630947457949).)https://z3.ax1x.com/2021/08/21/fxYEcQ.png)] (2)joi ...

Posted by shawnyoung on Mon, 06 Sep 2021 19:34:18 +0200

MHA High Availability Configuration and Failover

Catalog 1. Understanding MHA 1. Overview of MHA 2. Composition of MHA 3. Characteristics of MHA 4.MHA cluster architecture diagram  2. Build MySQL MHA 1. Construction of MHA 2. Fault simulation  Algorithms for failover alternate primary libraries: Failure Repair Steps: 1. Understanding MHA 1. Overview of MHA MHA (Mast ...

Posted by XiaoRulez on Mon, 06 Sep 2021 18:54:03 +0200