In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to connect Openstack to ceph storage, which has a certain reference value. Interested friends can refer to it. I hope you can learn a lot after reading this article.
Preliminary work:
The openstack cluster has been deployed, and the operating version icehouse version at that time
The cluster of ceph has been deployed, and the version of ceph-0.94.10 operated at that time can also be used in other versions.
Get the relevant configuration files from the nodes in the ceph cluster
Openstack's storage service needs to be used to operate ceph:
Ceph.client.admin.keyring
Ceph.conf
Carry out mutual trust operation to the cluster
Install ceph-related dependency packages on each node of openstack:
Yum-y install ceph
Take the two configuration files you just got
Ceph.client.admin.keyring
Ceph.conf
Assign the / etc/ceph directory passed to each node
Create a storage pool that will be used by openstack, 'volumes',' images', 'vms'
(you only need to execute the following command on one of the nodes)
Ceph osd pool create images 1024
Ceph osd pool create vms 1024
Ceph osd pool create volumes 1024
Set up ceph client authentication and execute the following command on one of the openstack nodes:
Ceph auth get-or-create client.cinder mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms, allow rwx pool=images'
Ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'
On the glance service node, do the following:
Ceph auth get-or-create client.glance
Save the output to / etc/ceph/ceph.client.glance.keyring
On the cinder service node, do the following:
Ceph auth get-or-create client.cinder
Save the output to / etc/ceph/ceph.client.cinder.keyring
Uuidgen
Generate uuid
Or get the uuid of the ceph cluster
Do the following on all nodes:
Cat > secret.xml
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.