centos6.4 ceph安装部署之ceph object storage-阿里云开发者社区

开发者社区> 安全> 正文

centos6.4 ceph安装部署之ceph object storage

简介: preface:   ceph-deploy does not provide a rapid installation for Ceph Object Storage install Configuration ceph object storage gateway 1,install ce...

preface:

  ceph-deploy does not provide a rapid installation for Ceph Object Storage

install Configuration ceph object storage gateway

1,install ceph object storage gateway

multiple regions and zones

ins synchronization agent

安装apache fastcgi for centos6.4

sudo yum install httpd mod_fastcgi

ceph object gateway daemon runs on apache and FastCui
for run a ceph object storage service, you must intall apache and fastcgi,ceph object gateway daemon

multiple regions and zones
synchronization agent



rewrite module is enabled: /etc/httpd/conf/httpd.conf
#if not present, add
LoadModule rewrite_module modules/mod_rewrite.so

ensure that the fastcgi module is enabled,the installer should include an /etc/httpd/conf.d/fastcgi.conf
#if not present, add
LoadModule fastcgi_module modules/mod_fastcgi.so

http Enable ssl for centos6.4 archPlatfoorm
some rest clients use https by default,so you should consider enabling ssl for apache
for centos rpm packages:
yum install mod_ssl openssl
ensure the ssl module is enabled
generate a certificate and copy it to the appropriate locations
openssl x509 -rep -days 365 -in ca.csr -signkey ca.key -out ca.crt
cp ca.crt /etc/pki/tls/certs
cp ca.key /etc/pki/tls/private/ca.key
cp ca.csr /etc/pki/tls/private/ca.csr

install ceph object gateway
ceph object storage services use the ceph object gateway  daemon(radosgw) to enable the gateway,for federated architectures,the synchronization agent(radosgw-agent) provides data and metadata synchronization between zones and regions

to install the ceph object gateway daemon ceph object gateway synchronzation agent
yum install ceph-radosgw ceph
yum -y install radosgw-agent

configure the gateway
once you have installled the ceph object gateway packages,the next is to configure your ceph object gateway
two approaches:
1,simple: ceph object gateway configuration implies that you are running a ceph object storage service in a geographically can configure the ceph object gateway without regard to regions and zones

2,federated: federated ceph object gateway configuration implies that you are running a ceph object storage service in a  geoeraphically distributed manner for fault tolerance and failover,this involves configuring your ceph object gateway instances with regions and zones

ceph object gateway daemon(ceph-radosgw) synchronization agent(radosgw-agent)
ceph-object-gateway daemon runs on apache and fastcgi

 


 

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

分享:
+ 订阅

云安全开发者的大本营

其他文章