CEpH simple operation

Source: Internet
Author: User

In the previous article, we introduced the use of CEpH-deploy to deploy the CEpH cluster. Next we will briefly introduce the CEpH operations.

    1. Block device usage (RBD)

      A. Create a user ID and a keyring

      CEpH auth get-or-create client. node01 OSD 'Allow * 'mon 'Allow * '> node01.keyring

      B. Copy the keyring to node01.

      SCP node01.keyring [email protected]:/root/

      C. Create an image

      Apt-Get install CEpH-common

      RBD create disk1 -- size 10000-N client. node01-M mon01-k/root/node01.keyring

      RBD map disk1-N client. node01-P mypool-M 10.0.7.177-k/root/node01keyring

      D. Format disk1

      Mkfs. ext4/dev/RBD/disk1

      E. mount a disk

      Mkdir/mnt/disk1

      Mount/dev/RBD/disk1/mnt/disk1


      (To be continued)


This article is from the "Wooden blog" blog, please be sure to keep this http://ggbond.blog.51cto.com/8886865/1540362 source

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.