Cepora19 use ceph-deploy to deploy Ceph notes

Source: Internet
Author: User
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.

  1. Ceph-deploy new MON OSD1 OSD2 OSD3

  2. Ceph-deploy install MON OSD1 OSD2 OSD3

  3. Ceph-deploy mon create-initial MON

  4. Ceph-deploy gatherkeys MON OSD1 OSD2 OSD3

  5. Ceph-deploy osd prepare OSD1:/dir OSD2:/dir OSD3:/dir

  6. 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:

  1. 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.

  2. 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...

  3. 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

Related Article

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.