我要评分
获取效率
正确性
完整性
易理解

Environment Requirements

Hardware Requirements

A Ceph cluster can use the hybrid deployment mode of Kunpeng servers and x86 servers or the non-hybrid deployment mode of all Kunpeng servers. In a hybrid deployment, among the three Ceph nodes, two are Kunpeng servers and one is x86 server. Both OpenStack nodes are Kunpeng servers. Each server is equipped with four SAS HDDs, one of which is used as the OS drive, and the other three are used as storage drives. Table 1 describes the hardware environment.

Table 1 Hardware environment in a hybrid deployment

Device Type

Model

Configuration

Ceph node 1

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

Ceph node 2

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

Ceph node 3

x86 server

28-core 2.1 GHz processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

OpenStack management node

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

OpenStack compute node

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

In a non-hybrid deployment, all the three Ceph nodes are Kunpeng servers, and both OpenStack nodes are Kunpeng servers. Each server is equipped with four SAS HDDs, one of which is used as the OS drive, and the other three are used as storage drives. Table 2 describes the hardware environment.

Table 2 Hardware environment in a non-hybrid deployment

Device Type

Model

Configuration

Ceph node 1

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

Ceph node 2

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

Ceph node 3

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

OpenStack management node

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

OpenStack compute node

Kunpeng server

Kunpeng 920 5250 processor x 2, 32 GB DIMM x 4, 1.2 TB SAS HDD x 4

This document uses the hybrid deployment of Kunpeng and x86 servers as an example to describe how to deploy a Ceph cluster. When Ceph uses the non-hybrid deployment mode, the operations are the same as those in hybrid deployment mode.

Software Environment

Prerequisites:

  1. Components such as Keystone, Placement, Neutron, Nova, Glance, Cinder, and Swift have been installed in the OpenStack environment. For details, see OpenStack Rocky & Stein Deployment Guide (CentOS 7.6) and OpenStack Queens Deployment Guide (openEuler 20.03).
  2. The Ceph cluster has been set up, and the MON and OSD processes have been started.

Table 3 describes the software configuration.

Table 3 Software configuration

Software

Version

How to Obtain

Installation Guide

OS

CentOS 7.6

Download and install them.

https://www.centos.org/download/

openEuler 20.03

https://www.openeuler.org/en/download/

OpenStack

Stein

Install the software from a Yum source.

https://docs.openstack.org/stein/install/index.html

Rocky

https://docs.openstack.org/rocky/install/index.html

Queens

https://docs.openstack.org/queens/install/index.html

Ceph

14.2.1

Install the software from a Yum source.

https://docs.ceph.com/en/latest/install/

Ceph Block Storage Deployment Guide (CentOS 7.6 & openEuler 20.03)

Ceph Object Storage Deployment Guide (CentOS 7.6 & openEuler 20.03)

Cluster Environment

In this document, five servers are used to deploy the OpenStack+Ceph cluster. Three servers are used as the Ceph cluster, and two servers are used as the OpenStack environment and Ceph client nodes. For details, see Figure 1 and Table 4.

Figure 1 Cluster networking
Table 4 Cluster environment IP address planning

Node

IP Address

Server Type

Description

ceph1

192.168.21.1

Kunpeng server

Ceph cluster Manager (MGR) node, storage node, and Monitor (MON) node.

ceph2

192.168.21.3

Kunpeng server

Ceph cluster storage node and MON node.

ceph3

192.168.21.68

x86 server

Ceph cluster storage node and MON node.

controller

192.168.21.11

Kunpeng server

OpenStack control node, Swift object storage node, and Ceph client node.

compute

192.168.21.12

Kunpeng server

OpenStack compute node, Cinder block storage node, and Ceph client node.