In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you how to create ceph step by step manually, I hope you will gain something after reading this article, let's discuss it together!
Manually create the ceph.conf file [root@manila61 ceph-manila61] # cat / etc/ceph/ceph.conf [global] fsid = 8a9b6bf5-b7cd-4515-bf06-83558f1568b4mon initial members = itfanrmon host = 192.168.100.61 auth cluster required = noneauth service required = noneauth client required = noneosd pool default size = 2 osd pool default pg num = 1024osd pool default pgp num = 0filestore xattr use omap = true and execute ceph-authtool-- create-keyring / tmp/ceph.mon.keyring-- gen-key-n mon. -- cap mon 'allow *' ceph-authtool-- create-keyring / etc/ceph/ceph.client.admin.keyring-- gen-key-n client.admin\-- set-uid=0-- cap mon 'allow *'-- cap osd 'allow *'-- cap mds' allow'ceph-authtool / tmp/ceph.mon.keyring-- import-keyring / etc/ceph/ceph.client.admin.keyringmonmaptool-- create--add itfanr 192.168.100.61-- fsid 8a9b6bf5murb7cd- 4515-bf06-83558f1568b4 / tmp/monmapmkdir / var/lib/ceph/mon/ceph-itfanrceph-mon-- cluster ceph--mkfs-I itfanr-- monmap / tmp/monmap-- keyring / tmp/ceph.mon.keyringtouch / var/lib/ceph/mon/ceph-itfanr/donetouch / var/lib/ceph/mon/ceph-itfanr/sysvinit
Note: an empty sysvinit file must be created. Otherwise, you will be prompted when you start mon:
/ etc/init.d/ceph: mon.irfanr not found (/ etc/ceph/ceph.conf defines / var/lib/ceph defines)
Then execute: ceph-s to see the cluster information.
Add osdceph-disk zap / dev/sdb ceph-disk-v prepare-- fs-type xfs-- cluster-uuid 8a9b6bf5-b7cd-4515-bf06-83558f1568b4 / dev/sdbsudo ceph-disk activate / dev/sdb1 after reading this article, I believe you have a certain understanding of "how to create ceph step by step". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.