Recently, ceph0.81 was deployed with a set of Fedora19 virtual machines. Since ceph has a simplified Deployment Tool ceph-deploy, it seems that deployment is quite simple. Theoretically, it should be the following steps: 0. in the lab environment, remove all iptables rules and create ssh trust between all machines to add a ceph yumrepoceph-deploynewMONOSD1OSD2OSD3ceph-deplo
Recently, ceph 0.81 was deployed with a set of virtual machines of Fedora 19. Since ceph has a simplified Deployment Tool ceph-deploy, it seems that deployment is quite simple, theoretically, the following steps should be taken:
0. In the experiment environment, delete all iptables rules, establish ssh trust between all machines, and add the ceph yum repo.
Ceph-deploy new MON OSD1 OSD2 OSD3
Ceph-deploy install MON OSD1 OSD2 OSD3
Ceph-deploy mon create-initial MON
Ceph-deploy gatherkeys MON OSD1 OSD2 OSD3
Ceph-deploy osd prepare OSD1:/dir OSD2:/dir OSD3:/dir
Ceph-deploy osd activate OSD1:/dir OSD2:/dir OSD3:/dir
Should it be so simple? In actual operations, I found that the following needs to be added:
Several software packages required by ceph need to be installed on fedora 19 (why can't ceph-deploy check it by yourself ?) : RedHat-lsb, leveldb needs to be upgraded to 1.12, And the osd node directly uses the block device to install hdparm.
Before step 5 of osd prepare, You need to manually copy the bootstrap_osd from the mon node to the osd node. I forgot the complete path...
Before activating osd, manually create an empty/var/lib/ceph/osd directory on the osd node.
I wish you all a pleasant experience.
-------------------------------------- Split line --------------------------------------
Ceph environment configuration document PDF http://www.linuxidc.com/Linux/2013-05/85212.htm
Deploying Ceph http://www.linuxidc.com/Linux/2013-05/85213.htm on CentOS 6.3
Http://www.linuxidc.com/Linux/2013-05/85210.htm of Ceph Installation Process
HOWTO Install Ceph On FC12, FC Install Ceph Distributed File System http://www.linuxidc.com/Linux/2013-05/85209.htm
Ceph File System mounting http://www.linuxidc.com/Linux/2013-05/85208.htm
CentOS 6.2 64-bit installation of Ceph 0.47.2 http://www.linuxidc.com/Linux/2013-05/85206.htm
Ubuntu 12.04 Ceph Distributed File System http://www.linuxidc.com/Linux/2013-04/82588.htm
Ceph 0.24 http://www.linuxidc.com/Linux/2011-01/31580.htm installed on Fedora 14
-------------------------------------- Split line --------------------------------------
Ceph details: Click here
Ceph: Click here
For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-09/106578.htm