Deploy Ceph manually

Source: Internet
Author: User

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]auth supported = noneosd pool default size = 2osd crush  chooseleaf type = 0objecter_inflight_op_bytes=4294967296objecter_inflight_ops=1024#debug  filestore = 100#debug osd = 10debug journal = 1filestore  blackhole=falsefilestore queue max ops=1024filestore queue max bytes= 1073741824filestore max sync interval=5#osd op num threads per shard=1 #osd  op num shards=1filestore wbthrottle enable=falsefilestore merge  threshold=50filestore split multiple=10#osd objectstore=satafilestore[mon][mon.0]host =  ITFANR-HOST1MON ADDR = 192.168.100.14:6789[MDS][MDS.0]HOST = ITFANR-HOST1[OSD] Osd mkfs type = xfsosd mkfs options xfs = -f -i size= 2048osd mount options xfs = inode64,noatimeosd crush update on start = 0[osd.0]host =  itfanr-host1devs = /dev/sdb1osd journal = /dev/sdb2[osd.1]host =  itfanr-host1devs = /dev/sdc1osd journal = /dev/sdc2[osd.2]host =  itfanr-host1devs = /dev/sdd1osd journal = /dev/sdd2[osd.3]host =  itfanr-host1devs = /dev/sde1osd journal = /dev/sde2[osd.4]host =  itfanr-host1devs = /dev/sdf1osd journal = /dev/sdf2[osd.5]host =  itfanr-host1devs = /dev/sdg1osd journal = /dev/sdg2[osd.6]host =  itfanr-host1devs = /dev/sdh1osd journal = /dev/sdh2[osd.7]host =  itfanr-host1devs = /dev/sdi1osd journal = /dev/sdi2[osd.8]host =  Itfanr-host1devs = /dev/sdj1osd journal = /dev/sdj2[osd.9]host = itfanr-host1devs = /dev/sdk1osd journal = /dev/sdk2[osd.10]host =  itfanr-host1devs = /dev/sdl1osd journal = /dev/sdl2[osd.11]host =  Itfanr-host1devs = /dev/sdm1osd journal = /dev/sdm2


Note that each node needs to have the same ceph.conf file

4. Mkcephfs-a-c/etc/ceph/ceph.conf

5./etc/init.d/ceph-a Start

Deploy Ceph manually

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.