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 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

上一篇:[转载]oracle游标概念讲解


下一篇:numpy中的norm用法