In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
One: concept introduction
Ceph object gateway is an object storage interface based on librados, which can provide applications with a RESTful gateway to Ceph storage cluster. Ceph object storage supports two interfaces.
1.S3 compatibility: provides an interface for object storage capabilities that is compatible with most subsets of Amazon S3 RESTful API
2.Swift compatibility: provides compatibility with OpenStack Swift for object storage capabilities
The Ceph object store uses the Ceph object gateway daemon (radosgw), which is a HTTP server used to interact with the Ceph storage cluster, and because it provides an interface compatible with OpenStack Swift and Amazon S3, the Ceph object gateway has its own user management. The Ceph object gateway can store data in a Ceph storage cluster of data from a file system client that also owns Ceph or a Ceph block device client. S3 and Swift API share a common namespace, so you can use one API to write data and another API to read data.
Two: installation
Starting with Firefly (v0.80), Ceph object gateways run in Civetweb (embedded in the ceph-radosgw daemon) instead of Apache and FastCGI, using Civetweb can simplify the installation and configuration of Ceph object gateways, and Ceph object gateways do not support SSL from v0.80 onwards. You can use SSL to set up a reverse proxy server to send HTTPS requests to CivetWeb as HTTP requests.
Install the Ceph Object Gateway package in the working directory on the management node where ceph-deploy is deployed (that is, there is ceph.conf in the directory).
[root@ceph-deploy-admin] # ceph-deploy install-- rgw ceph-node1 ceph-node2 ceph-node3
The ceph-common package is a dependency, so ceph-deploy also installs it, and the ceph CLI tool is suitable for administrators. To set the node of Ceph Object Gateway as an administrator node, that is, if you want to be able to execute ceph-deploy on all three nodes, execute the following command from the working directory of the management server
[root@ceph-deploy-admin ~] # ceph-deploy admin ceph-node1 ceph-node2 ceph-node3
Create a gateway instance, and create an instance of the Ceph object gateway in the working directory of the management server
[root@ceph-deploy-admin ~] # ceph-deploy rgw create ceph-node1 ceph-node2 ceph-node3
If the installation is completed successfully, you can execute the following command. If you get the following return result, you can prove that the installation is complete and running normally.
[root@ceph-deploy-admin ~] # curl http://ceph-node1:7480
Anonymous
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: 248
*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.