In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-10-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to deploy ceph-deploy, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.
Environment description: ceph2 and ceph3 servers (where ceph2 has installed ceph-deploy)
One S3500 SSD and two Hitachi 1T HDD disks on each server
Integration of front and back end and management network: 128.128.128.9 and 128.128.10, respectively
1. Add: in / etc/hosts:
128.128.128.9 ceph2128.128.128.10 ceph3
2. Pass
Ssh-keygen and ssh-copy-id
Make the nodes secret-free
3. Create a new directory in ceph2 and keep the configuration file
Mkdir / root/myclustercd / root/mycluster
4. Install ceph
Ceph-deploy install ceph2 ceph3
5. Install mon
Ceph-deploy new ceph2
6. Modify ceph.conf configuration file
Public_network = 128.128.128.0/24cluster_network = 128.128.128.0/24enable experimental unrecoverable data corrupting features = bluestore rocksdb debug_white_box_testing_ec_overwritesbluestore block db size = 10737418240 # 10Gbluestore block wal size = 10737418240 # 10Gosd objectstore = bluestoremon_allow_pool_delete = truerbd_cache = false [osd] bluestore = true
7. Initialize mon
Ceph-deploy mon create-initial
If you need to add mon
Ceph-deploy add mon ceph3
8. Format the partition
Ceph-deploy zap {ceph-node}: {dest-disk} for example: ceph-deploy zap ceph2:/dev/sdb
9. Copy ceph.bootstrap-osd.keyring to / var/lib/ceph/bootstrap-osd/ and command ceph.keyring
Cp / home/mycluster/ceph.bootstrap-osd.keyring / var/lib/ceph/bootstrap-osd/ceph.keyring or scp / home/mycluster/ceph.bootstrap-osd.keyring ceph3:/var/lib/ceph/bootstrap-osd/ceph.keyring
10. Add osd
Ceph-disk prepare-bluestore-block.db / dev/sdb-block.wal / dev/sdb / dev/sdc where: / dev/sdb is SSD disk, / dev/sdc is HDD disk. The above is how to deploy ceph-deploy. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.