[[email protected] ceph]#/etc/init.d/ceph start Mon.mon13. View Status[Email protected] ceph]# ceph-sAdd MonYou can have only one Mon on a host and now add Mon to other nodes1. Create a default directory on the new monitor host:[[email protected] ceph]# Mkdir/var/lib/
node to replicate data (when a device fails). Allocation failure recovery also allows storage system expansion because fault detection and recovery are distributed across ecosystems. Ceph calls it a RADOS (see Figure 3). 2 ceph Mount 2.1 ceph single node installation 2.1.1 Node IP
192.168.14.100 (hostname for CEPH2, two partitions/dev/xvdb1 and/DEV/XVDB2 for
file defines cluster membership, the various locations; That CEpH stores data, and any other runtime options.; If a 'host' is defined for a daemon, the start/stop script will ; Verify that it matches the hostname (or else ignore it). If it is; Not defined, it is assumed that the daemon is intended to start on; The current host (e.g., In a setup with a startup. conf on each; Node ).; Global [Global]; Enable Secure Authentication;
First, pre-installation preparation
1.1 Introduction to installation Environment
It is recommended to install a Ceph-deploy management node and a three-node Ceph storage cluster to learn ceph, as shown in the figure.
I installed the Ceph-deploy on the Node1.
First three machines were prepared, the names of which wer
Deployment Installation
Regarding the installation ceph the whole process encounters the question, as well as the reliable solution, the personal test is effective, does not represent the general colleague's viewpoint.I am using the server, so I did not engage in any user issues. The machine is centOS7.3. The Ceph version I installed is jewel and currently uses only 3 nodes.Node IP naming role10.0.1.92 e10
Code "/>Apiversion:v1kind:secretmetadata:name:ceph-secrettype: "KUBERNETES.IO/RBD" data:key:QVFCMTZWMVZvRjVtRXhBQTVrQ1Fz n2jcajhwvuxsdzi2qzg0see9pq==650) this.width=650; "src="/img/fz.gif "alt=" Copy Code "/>We only need to change the key value of the last line. This value is encrypted with Base64. The value before processing can be obtained on ceph using the following command:650) this.width=650; "src="/img/fz.gif "alt=" Copy Code "/>
Ceph provides three storage methods: Object Storage, block storage, and file system. The following figure shows the architecture of the Ceph storage cluster:We are mainly concerned about block storage. In the second half of the year, we will gradually transition the virtual machine backend storage from SAN to Ceph. although it is still version 0.94,
This is a creation in
Article, where the information may have evolved or changed.
In the article "using Ceph RBD to provide storage volumes for kubernetes clusters," we learned that one step in the integration process for kubernetes and Ceph is to manually create the RBD image below the Ceph OSD pool. We need to find a way to remove this manual step. The first th
/ -lstdc++"' .
However, you will still get many mistakes:
... .../usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/librados.a(Crypto.o): In function `CryptoAESKeyHandler::init(ceph::buffer::ptr const, std::basic_ostringstream
, std::allocator
>)':/build/ceph-10.2.3/src/auth/Crypto.cc:280: undefined reference to `PK11_GetBest
Ceph Client:Most ceph users do not store objects directly into the Ceph storage cluster, and they typically choose one or more of the Ceph block devices, the Ceph file system, and the Ceph object storage;Block device:To practice t
Ceph monitoring Ceph-dash Installation
There are a lot of Ceph monitors, such as calamari or inkscope. When I started to try to install these, they all failed, and then Ceph-dash came into my eyes, according to the official description of Ceph-dash, I personally think it is
Ceph Cluster Expansion and Ceph Cluster ExpansionThe previous article describes how to create a cluster with the following structure. This article describes how to expand the cluster.
IP
Hostname
Description
192.168.40.106
Dataprovider
Deployment Management Node
192.168.40.107
Mdsnode
MON Node
192.168.40.108
Osdnode1
OSD Node
192.168.40.14
1. Environment and descriptionDeploy ceph-0.87 on ubuntu14.04 server, set Rbdmap to mount/unload RBD block devices automatically, and export the RBD block of iSCSI with a TGT with RBD support. 2. Installing Ceph1) Configure hostname with no password login [Email protected]:/etc/ceph# cat/etc/hosts127.0.0.1localhost192.168.108.4 osd2.osd2osd2192.168.108.3 osd1.osd1osd1192.168.108.2 Mon0.mon0mon0 #示例如下ss
nodes that need to use the pool. Send only the configuration file to the Cinder-volume node (the compute node wants to get Ceph cluster information from the Cinder-volume node, so no configuration file is required )
Create Storage pool Volume-pool, remember the name of the pool, both cinder-volume and compute nodes need to specify this pool in the configuration file
Ceph OSD Pool Cr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.