1RADOSGW(8)                  System Manager's Manual                 RADOSGW(8)
2
3
4

NAME

6       radosgw - rados REST gateway
7

SYNOPSIS

9       radosgw
10

DESCRIPTION

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

OPTIONS

18       -c ceph.conf, --conf=ceph.conf
19              Use  ceph.conf  configuration  file  instead  of   the   default
20              /etc/ceph/ceph.conf   to   determine  monitor  addresses  during
21              startup.
22
23       -m monaddress[:port]
24              Connect  to  specified  monitor  (instead  of  looking   through
25              ceph.conf).
26

EXAMPLES

28       An apache example configuration for using the RADOS gateway:
29
30              <VirtualHost *:80>
31                ServerName rgw.example1.com
32                ServerAlias rgw
33                ServerAdmin webmaster@example1.com
34                DocumentRoot /var/www/web1/web/
35
36                #turn engine on
37                RewriteEngine On
38
39                #following is important for RGW/rados
40                RewriteRule                        ^/([a-zA-Z0-9-_.]*)([/]?.*)
41              /s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING}  [E=HTTP_AUTHORIZA‐
42              TION:%{HTTP:Authorization},L]
43
44                <IfModule mod_fcgid.c>
45                  SuexecUserGroup web1 web1
46                  PHP_Fix_Pathinfo_Enable 1
47                  <Directory /var/www/web1/web/>
48                    Options +ExecCGI
49                    AllowOverride All
50                    SetHandler fcgid-script
51                    FCGIWrapper /var/www/fcgi-scripts/web1/radosgw .fcgi
52                    Order allow,deny
53                    Allow from all
54                    AuthBasicAuthoritative Off
55                  </Directory>
56                </IfModule>
57
58                AllowEncodedSlashes On
59
60                # ErrorLog /var/log/apache2/error.log
61                # CustomLog /var/log/apache2/access.log combined
62                ServerSignature Off </VirtualHost>
63
64       And the corresponding radosgw script:
65
66              #!/bin/sh /usr/bin/radosgw -c /etc/ceph.conf
67

AVAILABILITY

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

SEE ALSO

73       ceph(8)
74
75
76
77                                                                    RADOSGW(8)
Impressum