www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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

 


 

posted on 2014-11-13 20:43  秦瑞It行程实录  阅读(479)  评论(0编辑  收藏  举报
www.cnblogs.com/ruiyqinrui