Calculation formula for PG:
Calculation formula for the entire cluster PG
The calculation formula for PG in each pool:
Total PGs = (TOTAL_NUMBER_OF_OSD *)/Max_replication_count/pool_count
The result of the settlement is taken up to the value of the n-th square of the 2. For example, the total number of OSD is 160, the number of copies of the number of 3,pool is also 3, then the result is calculated according to the above formula is 1777.7. Take 2 of the n-th is 2048, then the number
Environment DescriptionOpenstack Icehouse Ceph 0.87
Configuration Steps
Configuring Ceph
Add the following to the ceph.conf configuration file
RBD cache = True
RBD cache Writethrough until Flush = True
RBD Cache also has some configuration properties that can be changed as needed
#rbd Cache size
#rbd cache max Dirty
#rbd cache target Dirty
Configure OpenStack
Add the following to the [Defa
Ceph crush the question to read over and over again, the relevant chapters of the CEPH source analysis book are summarized as follows:4.2.1 Hierarchical Cluster MapExample 4-1 Cluster map definitionHierarchical cluster map defines the static topology of the OSD cluster with hierarchical relationships. The level of the OSD enables the crush algorithm to realize the ability of the rack-aware (rack-awareness)
Ceph configuration parameters (1)1. POOL, PG AND CRUSH CONFIG REFERENCEConfiguration segment: [global] format: osd pool default pg num = 250 maximum pg count per storage pool: number of seconds between creation of pg in the same OSD Daemon in the mon max pool PG num: how many seconds does the mon pg create interval wait PG can be considered to be the master: mon pg stuck thresholdCeph OSD Daemon on PG flag bits: osd pg bitsCeph OSD Daemon PGP bits: os
1. Manually format each disk, such as/DEV/SDB1 for data partitioning and/DEV/SDB2 for log partitioning. 2. Mkallxfs 3. Modify the/etc/ceph/ceph.conf file: [Global]authsupported=noneosdpooldefaultsize=2osdcrush chooseleaftype=0objecter_inflight_op_bytes=4294967296objecter_inflight_ops=1024#debug filestore=100#debugosd=10debugjournal=1filestore blackhole=falsefilestorequeuemaxops=1024filestorequeuemaxbytes= 1073741824filestoremaxsyncinterval=5#osdopnumt
message if the version number is larger than accepted, and to proposer reply Promise message that promises not to accept Prepare messages with a version number less than V ;
Proposer received Promise message, statistics approved version V of the number of acceptor , if more than half, it is considered that this version is currently the latest (can be submitted).
Phase2-a:proposer participation
Proposer resets the timer Tp, sends the acceptrequest message to each a
Reprint annotated source, Chen Trot http://www.cnblogs.com/chenxianpao/p/5770271.htmlFirst, installation environmentos:centos7.2vsm:v2.1 releasedSecond, installation instructionsThe VSM system has two roles, one is Vsm-controller and the other is vsm-agent. The vsm-agent is deployed on a ceph node, and the Vsm-controller is deployed on a separate node. Vsm-controller should also be deployed on CEPH nodes wi
In the previous article, we introduced the use of CEpH-deploy to deploy the CEpH cluster. Next we will briefly introduce the CEpH operations.
Block device usage (RBD)A. Create a user ID and a keyringCEpH auth get-or-create client. node01 OSD 'Allow * 'mon 'Allow * '> node01.keyringB. Copy the keyring to node01.SCP node01.keyring [email protected]:/root
Owncloud Introduction:is a free software developed from the KDE community that provides private WEB services. Current key features include file management (built-in file sharing), music, calendars, contacts, and more, which can be run on PCs and servers.Simply put is a PHP-based self-built network disk. Basically private use this, because until now the development version has not exposed the registration function. I use the php7.1-based lamp environment to build this owncloud next article will i
Ceph uses block storage, and the system kernel needs to 3.0 and above the kernel to support some ceph modules. You can specify a type when creating a block (Type1 and type2) , only type2 can protect the snapshot and protect it before cloning. Complete operation process with block device:1 , creating a block device ( in M)RBD Create yjk01--size 1024x768--pool vms--image-format 2RBD info yjk01--pool VMSRBD
Phenomenon:The question of request blocked is often found through the Ceph-w log (if the virtual machine system runs on Ceph, it will find a serious lag)Investigation:1, through the Dstat did not find a significant bottleneck (Dstat-tndr 2)2, through the Iostat also found no obvious bottleneck (IOSTAT-DX 2)3, through the Netstat also did not find the Storage Network network card send queue or receive queue
each object 2M capacity, the total capacity of this value is 100T)[Email protected] ~]# ceph OSD Pool Set-quota data max_objects 50000000Set-quota max_objects = 25000000 for pool dataSet the data pool to a maximum storage space of 100T[[email protected] ~]# ceph OSD Pool Set data target_max_bytes 100000000000000Set pool 0 target_max_bytes to 1000000000000004, data pool full problem resolution, now the
Job Responsibilities:Participate in building cloud storage services, including development, design, and operational work?Requirements for employment:1, Bachelor degree or above, more than 3 years of storage system development, design or operation and maintenance work experience;2, familiar with the Linux system and understanding of the kernel, cloud computing, virtualization have some knowledge;3, have Ceph, Glusterfs and other distributed storage of
Official documents:http://docs.ceph.com/docs/master/cephfs/http://docs.ceph.com/docs/master/cephfs/createfs/(create CEPHFS file system)Ceph official Chinese Documentation:http://docs.ceph.org.cn/Configuration in OpenStack:http://docs.ceph.com/docs/master/rbd/rbd-openstack/Blogs, etc.:http://blog.csdn.net/dapao123456789/article/category/2197933Http://docs.openfans.org/ceph/ceph4e2d658765876863/
1 Describe my deployment environment first:2 osd,1 monitor,1 Console Management Server, 1 client, are 24 cores, 64G memory, 1.6T SSD flash card, gigabit network card; The Ceph version currently installed is 0.94.7.2 Current statusI use the DD command to write 5G data, using Iostat to observe%util immediately 100% Ah, while the await indicators are more than 4,000, and at this time the network bandwidth is only used around 10M.650) this.width=650; "Src
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.