此内容没有您所选择的语言版本。

Chapter 1. Prerequisites


To use Ceph Block Device commands on your client node, you will have to meet some prerequisites.

1.1. Execute pre-installation requirements

For streamlined installation and deployment, you should execute the pre-installation procedures mentioned in Pre-Installation Requirements on your Ceph client node. Specifically, you should disable requiretty, set SELinux to Permissive and set up a Ceph Deploy user with password-less sudo.

1.2. Install Ceph Common Package

The ceph-common package provides the rbd command. To install ceph-common package you will have to enable RH-Common repository. Execute the following steps on client node:

  1. Enable RH-Common repository.

    For RHEL 6, execute:

    sudo subscription-manager repos --enable=rhel-6-server-rh-common-rpms
    sudo yum update
    Copy to Clipboard Toggle word wrap

    For RHEL 7, execute:

    sudo subscription-manager repos --enable=rhel-7-server-rh-common-rpms
    sudo yum update
    Copy to Clipboard Toggle word wrap
  2. Install Ceph Common package.

    Execute:

    sudo yum install ceph-common
    Copy to Clipboard Toggle word wrap

1.3. Enable access to the Ceph cluster

The client node where you will add a block device, also needs to have access to the Ceph Storage Cluster. To be able to access the cluster, the client node will need the cluster configuration file.

Execute from the admin node of the cluster:

ceph-deploy --overwrite-conf config push <client-node>
Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat