zoukankan      html  css  js  c++  java
  • 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

    
    
    
  • 相关阅读:
    Node 核心模块HTTP模块
    Node 的 模块 及fs 模块的使用
    Node 简介和环境安装
    RBAC权限管理模型:基本模型及角色模型解析及举例
    JS中Ajax的同步和异步
    tp5.1 获取json对象的json内容
    JavaScript 判断对象中是否有某属性
    php 函数使用可变数量的参数
    ThinkPHP5.1关于查询器查询条件为[NOT] NULL时的写法
    js中const,var,let区别
  • 原文地址:https://www.cnblogs.com/ruiy/p/4095835.html
Copyright © 2011-2022 走看看