Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Docking Integration of ceph and openstack

2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Experimental environment

Three-node community version Openstack environment

Controller:172.16.1.100

Computer:172.16.1.131

Cinder:172.16.1.132

The IP address used by the three nodes here is the management address of Openstack.

Ceph2:172.16.1.128

Ceph3:172.16.1.129

Ceph4:172.16.1.130

The Openstack cloud platform and ceph distributed cluster I use here are both manually built test environments.

Using rbd to provide storage for cloud platform

(1) image: save the image file in glance

(2) volume storage: save the volume; of cinder and choose to create a new volume when creating a virtual machine

(3) vms storage: save and create virtual machines without selecting innovative volumes

First install rbd-related software on the cloud platform (all three nodes of the cloud platform are installed) yum install-y python-rbdyum install-y ceph-common# create three POOLceph osd pool create volumes 128ceph osd pool create images 128ceph osd pool create vms 12 initialization POOLrbd pool init volumesrbd pool init imagesrbd pool init vms on the control node of ceph

Import the ceph configuration file to the three nodes of the cloud platform

Execute sudo ssh root@172.16.1.100 tee / etc/ceph/ceph.conf on the control node of the ceph cluster

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 239

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report