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 daemonmultiple regions and zonessynchronization agentrewrite module is enabled: /etc/httpd/conf/httpd.conf#if not present, addLoadModule rewrite_module modules/mod_rewrite.soensure that the fastcgi module is enabled,the installer should include an /etc/httpd/conf.d/fastcgi.conf#if not present, addLoadModule fastcgi_module modules/mod_fastcgi.sohttp Enable ssl for centos6.4 archPlatfoorm some rest clients use https by default,so you should consider enabling ssl for apachefor centos rpm packages:yum install mod_ssl opensslensure the ssl module is enabledgenerate a certificate and copy it to the appropriate locationsopenssl x509 -rep -days 365 -in ca.csr -signkey ca.key -out ca.crtcp ca.crt /etc/pki/tls/certscp ca.key /etc/pki/tls/private/ca.keycp ca.csr /etc/pki/tls/private/ca.csrinstall ceph object gatewayceph 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 regionsto install the ceph object gateway daemon ceph object gateway synchronzation agentyum install ceph-radosgw cephyum -y install radosgw-agentconfigure the gatewayonce you have installled the ceph object gateway packages,the next is to configure your ceph object gatewaytwo 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 zones2,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 zonesceph 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 阅读( ...) 评论( ...)