Poster of Linux kernelThe best gift for a Linux geek
RADOSGW

RADOSGW

Section: Maintenance Commands (8)
Local index Up
 

NAME

radosgw - rados REST gateway  

SYNOPSIS

radosgw  

DESCRIPTION

radosgw is an HTTP REST gateway for the RADOS object store, a part of the Ceph distributed storage system. It is implemented as a FastCGI module using libfcgi, and can be used in conjunction with any FastCGI capable web server.  

OPTIONS

-c ceph.conf, --conf=ceph.conf
Use ceph.conf configuration file instead of the default /etc/ceph/ceph.conf to determine monitor addresses during startup.
-m monaddress[:port]
Connect to specified monitor (instead of looking through ceph.conf).
 

EXAMPLES

An apache example configuration for using the RADOS gateway:
<VirtualHost *:80>
  ServerName rgw.example1.com
  ServerAlias rgw
  ServerAdmin webmaster@example1.com
  DocumentRoot /var/www/web1/web/


  #turn engine on
  RewriteEngine On


  #following is important for RGW/rados
  RewriteRule             ^/([a-zA-Z0-9-_.]*)([/]?.*)  /s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]


  <IfModule mod_fcgid.c>
    SuexecUserGroup web1 web1
    PHP_Fix_Pathinfo_Enable 1
    <Directory /var/www/web1/web/>
      Options +ExecCGI
      AllowOverride All
      SetHandler fcgid-script
      FCGIWrapper /var/www/fcgi-scripts/web1/radosgw .fcgi
      Order allow,deny
      Allow from all
      AuthBasicAuthoritative Off
    </Directory>
  </IfModule>


  AllowEncodedSlashes On


  # ErrorLog /var/log/apache2/error.log
  # CustomLog /var/log/apache2/access.log combined
  ServerSignature Off </VirtualHost>

And the corresponding radosgw script:

#!/bin/sh /usr/bin/radosgw -c /etc/ceph.conf
 

AVAILABILITY

radosgw is part of the Ceph distributed file system. Please refer to the Ceph wiki at http://ceph.newdream.net/wiki for more information.  

SEE ALSO

ceph(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
AVAILABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:02:13 GMT, April 16, 2011